---
title: "Claude Fable 5 | AI Models | Inference.net"
description: "Run Claude Fable 5 (Anthropic) on Inference.net. 1M context. tool-calling, structured outputs, vision input, reasoning. Deploy with an OpenAI-compatible API and pay-per-token pricing."
url: "https://inference.net/models/claude-fable-5/"
---

Anthropic Multimodal Model

# Claude Fable 5

Anthropic's frontier model, built for the hardest reasoning and long-horizon agentic work. A 1M-token context window and adaptive thinking let it sustain complex, multi-step tasks — deep research, large-scale refactors, autonomous coding sessions — that shorter-context models can't hold together.

[Get Started](https://inference.net/signin/) [Documentation](https://docs.inference.net)

Model details

Developed by Anthropic

Context window 977K tokens

Max output 125K tokens

Model API pricing Per 1M tokens

Input $10.00

Cache read $1.00

Output $50.00

[See all pricing](https://inference.net/pricing/)

```
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.inference.net/v1",
  apiKey: "<YOUR_API_KEY>",
});

const completion = await openai.chat.completions.create({
  model: "claude-fable-5",
  messages: [
    {
      role: "user",
      content: "What is the meaning of life?"
    }
  ],
  stream: true,
});

for await (const chunk of completion) {
  process.stdout.write(chunk.choices[0]?.delta.content as string);
}
```

Prompt caching

1. Keep the stable system content block byte-identical across calls.
2. Mark it with cache_control: { "type": "ephemeral" } to set a cache point.
3. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads. Initial writes may appear in cache-creation usage fields.

```
{
  "messages": [{
    "role": "system",
    "content": [{
      "type": "text",
      "text": "Stable system content...",
      "cache_control": { "type": "ephemeral" }
    }]
  }]
}
```

## Related models

[See all models](https://inference.net/models/)

Model

[Kimi K3 1024K input context Vision Tools Reasoning $3.00 / $15.00 2 variants](https://inference.net/models/kimi-k3/)

[MiniMax M3.1 Flash 977K input context Vision Tools Reasoning $0.10 / $0.50](https://inference.net/models/minimax-m3.1-flash/)

[Nemotron 3 Super 256K input context Tools $0.102 / $0.48](https://inference.net/models/nemotron-3-super/)

[Schematron V2 Small 125K input context $0.05 / $0.23](https://inference.net/models/schematron-v2-small/)

[Schematron V2 Turbo 125K input context $0.03 / $0.15](https://inference.net/models/schematron-v2-turbo/)

## Start building with Claude Fable 5 today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get Started](https://inference.net/signin/) [Read the docs](https://docs.inference.net)
