# Claude Fable 5 (Anthropic Official API)

Canonical page: https://agentsky.dev/models/anthropic/claude-fable-5-anthropic-api
JSON record: https://gateway.agentsky.dev/v1/models/anthropic/claude-fable-5-anthropic-api

Claude Fable 5 (Anthropic Official API) is a text and image-input model by Anthropic, available through the AgentSky API as anthropic/claude-fable-5-anthropic-api at $7.00 per million input tokens and $35.00 per million output tokens, with a 1M context window.

Dedicated Anthropic Official API resource. This resource uses an independent supplier route and does not fall back to other resources.

## Facts

- **Model id:** `anthropic/claude-fable-5-anthropic-api`
- **Maker:** Anthropic
- **Input modalities:** Text, Image
- **Context:** 1M
- **Max output tokens:** 128,000
- **Released:** Jun 9, 2026
- **Aliases:** `anthropic/claude-fable-5-anthropic-api`, `claude-fable-5-anthropic-api`

## Pricing

USD per million tokens on the default plan. Signed-in pages show your own plan's price; every response carries the cost of that call in `usage.cost`.

| Meter | Per 1M tokens |
|---|---|
| Input | $7.00 |
| Output | $35.00 |
| Cache read | $0.7 |
| Cache write | $8.75 |

## Use it

Anthropic wire base URL: `https://gateway.agentsky.dev`. OpenAI wire base URL: `https://gateway.agentsky.dev/v1`. Authenticate with an AgentSky API key (`ast_…`) and pass the model id.

### Anthropic SDK

```js
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://gateway.agentsky.dev",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const message = await client.messages.create({
  model: "anthropic/claude-fable-5-anthropic-api",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response
```

## Questions

### What is Claude Fable 5 (Anthropic Official API)?

Claude Fable 5 (Anthropic Official API) is a model from Anthropic. Dedicated Anthropic Official API resource. This resource uses an independent supplier route and does not fall back to other resources.

### How much does Claude Fable 5 (Anthropic Official API) cost?

$7 / $35 per million tokens at the prices shown, for input and output respectively. The exact price of every call comes back in the response as usage.cost, so you never have to compute it.

### What is the context length of Claude Fable 5 (Anthropic Official API)?

1M tokens, and it writes up to 128K tokens in one reply. These are the limits listed for this model in the current AgentSky catalog.

### Which clients can call Claude Fable 5 (Anthropic Official API)?

Anything that speaks the Anthropic Messages API, which covers the Anthropic SDK and Claude Code. Point the client's base URL at the gateway, use an AgentSky key, and pass anthropic/claude-fable-5-anthropic-api as the model.

### How do I name Claude Fable 5 (Anthropic Official API) in a request?

The gateway accepts anthropic/claude-fable-5-anthropic-api, claude-fable-5-anthropic-api. Any of them resolves to the same model, so an existing integration usually needs no change to its model string.

### Can Claude Fable 5 (Anthropic Official API) read images?

Yes. Its listed input types are text, image. Include the image with your request; image input does not imply image generation.

### What output can Claude Fable 5 (Anthropic Official API) produce?

The listed output types are text. This model returns text. Producing image, video or audio files requires a suitable tool or another model; it is not included in text generation.

### How should I plan a long prompt for Claude Fable 5 (Anthropic Official API)?

Plan your instructions, conversation history and source material around the 1M-token context limit, leaving room for the response. The listed response ceiling is 128K tokens. A larger window lets you supply more relevant material; it does not make unrelated content useful.

### What would 10,000 input tokens and 2,000 output tokens cost with Claude Fable 5 (Anthropic Official API)?

At the displayed input and output rates, the model-token subtotal is $0.14. This example assumes uncached input and excludes additional pricing categories, tool calls and agent runtime. Actual usage determines the final charge.

### How is cached input priced for Claude Fable 5 (Anthropic Official API)?

The catalog lists $0.7 per million cache-read tokens. Cache writes are listed at $8.75 per million tokens. Repeating a prompt does not by itself guarantee a cache hit; only usage reported as cached receives that rate.

### Does the Claude Fable 5 (Anthropic Official API) token price cover an entire agent task?

No. The model price covers the model usage described above. A task can also incur tool and runtime charges, and several model calls may be needed to complete it. Compare total task usage when evaluating cost.

### How do I use Claude Fable 5 (Anthropic Official API) on AgentSky?

This model is listed for API use. Use the model ID anthropic/claude-fable-5-anthropic-api with a supported gateway operation. The agent composer is not offered here because the current agent model menu has no compatible match.
