# Claude Fable 5.2

Claude Fable 5.2 costs $8 per 1M input tokens and $40 per 1M output tokens on LLM API, with a 1M-token context window.

Model ID: `claude-fable-5-2` · Anthropic · Text generation · Released November 9, 2026
Updated: 2026-11-09
Canonical: https://llmapi.ai/models/claude-fable-5-2/

- Input: $8 per 1M tokens
- Output: $40 per 1M tokens
- Cache read: $0.2 per 1M tokens
- Context: 1M tokens
- Max output: 128K tokens

## Pricing

Served by Anthropic, the only provider.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $8 | per 1M tokens |
| Output | $40 | per 1M tokens |
| Cache read | $0.2 | per 1M tokens |
| Cache write, 5 minutes | $10 | per 1M tokens |
| Cache write, 1 hour | $16 | per 1M tokens |
| Web search | $0.01 | per search |

**Volume pricing.** At higher monthly volume, Claude Fable 5.2 may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Features

- Tools: Yes
- Parallel tool calls: No
- Image input: Yes
- Reasoning: Yes (Levels: low, medium, high, xhigh, max · default high)
- Prompt caching: Yes
- Structured outputs: Yes
- JSON mode: Yes
- Streaming: Yes
- Web search: Yes
- Also accepts: claude-fable-5.2

## Call Claude Fable 5.2

### Anthropic Messages (`POST /v1/messages`)

Set LLMAPI_KEY to your LLM API key.

```python
import os

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.llmapi.ai",
    api_key=os.environ["LLMAPI_KEY"],
)

message = client.messages.create(
    model="claude-fable-5-2",
    max_tokens=16000,
    messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
    if block.type == "text":
        print(block.text)
```

Docs: [Anthropic Messages docs](https://docs.llmapi.ai/api/v1/messages)

### Chat Completions (`POST /v1/chat/completions`)

Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="claude-fable-5-2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Docs: [Chat Completions docs](https://docs.llmapi.ai/api/v1/chat/completions)

## More from Anthropic

- [Claude Opus 5.5](https://llmapi.ai/models/anthropic-claude-opus-5-5/): $4 / $20 per 1M input / output
- [Claude Sonnet 5.5](https://llmapi.ai/models/claude-sonnet-5-5/): $2 / $10 per 1M input / output
- [Claude Haiku 5.5](https://llmapi.ai/models/claude-haiku-5-5/): $0.1 / $0.5 per 1M input / output

Prices synced 2026-11-09.

Next step: [Get API key](https://app.llmapi.ai/signup)
