---
title: "Claude Fable 5.2 API pricing and how to call it | MYUSAPI"
description: "claude-fable-5-2 at $2.64 input and $13.2 output per 1M tokens (list price $8 / $40). 1M context, with requests you can copy and run."
url: https://myusapi.com/en/models/claude-fable-5-2
---

# Claude Fable 5.2 API: pricing and how to call it

Claude Fable 5.2 has the model ID claude-fable-5-2. On MYUSAPI it costs $2.64 per 1M input tokens and $13.20 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.

## Claude Fable 5.2 API pricing

| Item | Per 1M tokens |
| --- | --- |
| Input | Official $8.00, our price $2.64 |
| Output | Official $40.00, our price $13.20 |
| Cache read | Official $0.20, our price $0.066 |
| Cache write (5 minutes) | $3.30 |
| Cache write (1 hour) | $5.28 |

USD. The struck figure is Anthropic’s official standard list price; bold is ours, with input and output at 33% of list. [Source of the list price](https://platform.claude.com/docs/en/models/fable-5-2/overview)

Example: a job that uses 1M input tokens and 200K output tokens costs $5.28 at our rates and $16.00 at list price.

Official rates: Official standard-mode prices checked on 2026-11-09 cover the full 1M context. Fast mode is priced separately and is not included in this quote.

To keep requests from failing, some settings sent to this model are changed: temperature, top_p and top_k are not passed on at any value, so the model samples its own way; a thinking budget (budget_tokens) becomes adaptive thinking, where the model decides how much to think and may use more than the budget (Messages); switching thinking off has no effect, the model always thinks and it is billed (Messages); a budget_tokens beside adaptive thinking is not passed on and does not cap thinking (Messages); a tool_choice that forces a tool becomes auto: neither a call nor the named tool is guaranteed any more, and the model may answer in text when the request does not call for the tool; an allowed_tools tool_choice is sent as only the tools it allows, so the model does not see the definitions of the others (Chat Completions, Responses); effort minimal and none is served as low, which can use more thinking tokens (Chat Completions, Responses); an effort above low is not passed on and the model works at its default effort: xhigh and max get less than they asked for, medium may get more and use more thinking tokens; to set one, use output_config.effort on Messages (Chat Completions, Responses).

## Specifications

- Model ID: claude-fable-5-2
- Provider: Anthropic
- Context window: 1M tokens
- Max output: 128K tokens
- Endpoints: Anthropic Messages, Chat Completions, Responses
- Capabilities: Thinking, Vision, Tools

The latest Fable for demanding reasoning, long-running agents, and multistep research, with adaptive thinking always on.

## How to call the Claude Fable 5.2 API

Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.

[Sign up and get an API key](https://myusapi.com/en/signup)

Tested 2026-11-12: the cURL requests on this page answered for claude-fable-5-2. The Python samples were not run.

### Anthropic Messages (cURL)

The address is https://myusapi.com/v1/messages. Add "stream": true to the body to stream.

```
curl https://myusapi.com/v1/messages \
  -H "x-api-key: $MYUSAPI_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-fable-5-2","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'
```

### Anthropic SDK (Python)

Set base_url to https://myusapi.com, with no /v1.

```
import os
import anthropic

client = anthropic.Anthropic(
    base_url="https://myusapi.com",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

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

### OpenAI SDK (Python, Chat Completions)

A project already on the OpenAI SDK changes only base_url (https://myusapi.com/v1) and the model ID.

```
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

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

### Chat Completions (cURL)

```
curl https://myusapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-fable-5-2", "messages": [{"role": "user", "content": "Hello"}]}'
```

Whether your key can call it now is what GET https://myusapi.com/v1/models returns.

## Use Claude Fable 5.2 in Claude Code

Set ANTHROPIC_MODEL to claude-fable-5-2; the Claude Code guide has the full steps.

[Set up Claude Code with MYUSAPI: base URL and API key](https://myusapi.com/en/docs/claude-code)

## Other Anthropic models

- [Claude Opus 5.5 API](https://myusapi.com/en/models/claude-opus-5-5): $1.00 input, $5.00 output per 1M tokens
- [Claude Opus 4.8 API](https://myusapi.com/en/models/claude-opus-4-8): $1.00 input, $5.00 output per 1M tokens
- [Claude Fable 5.1 API](https://myusapi.com/en/models/claude-fable-5-1): $3.30 input, $16.50 output per 1M tokens
- [Claude Sonnet 5.5 API](https://myusapi.com/en/models/claude-sonnet-5-5): $0.50 input, $2.50 output per 1M tokens
- [Claude Haiku 5.5 API](https://myusapi.com/en/models/claude-haiku-5-5): $0.025 input, $0.125 output per 1M tokens

[All models and prices](https://myusapi.com/en/models)
