TopxAI · Model prices · Anthropic
Claude Fable 5.2 API pricing
Model id claude-fable-5-2. $4 input / $20 output per 1M tokens on the lowest-priced route; every route is listed below. Prices are fixed in USD, charged from prepaid credit, and every request writes one usage-log row with the route and the charge.
Claude Fable 5.2: Anthropic's most capable widely released model for demanding reasoning, coding and long agent runs, with a 1M-token context.
Prices by route
| Route | Input (USD / 1M tokens) | Output (USD / 1M tokens) | Cache read (USD / 1M tokens) | Cache write (USD / 1M tokens) | Cache write (1h) (USD / 1M tokens) |
|---|---|---|---|---|---|
| Provider list price (checked 2026-11-10) | $8 | $40 | $0.2 | $10 | $16 |
| Official line | $7.2 | $36 | $0.18 | $9 | $14.4 |
| Shared pool | $4 | $20 | $0.1 | $5 | $8 |
Input, output and cache lanes bill per million tokens. A whole-request long-context row applies once the input context of a request reaches the threshold shown. An Auto-route key sends each request to the lowest-priced route that serves the model.
Endpoints
POST /v1/messages: Anthropic Messages (x-api-key)POST /v1/chat/completions: OpenAI Chat Completions (Bearer)
Call claude-fable-5-2
Base URL https://ai.topxea.com/v1 for OpenAI-style SDKs, https://ai.topxea.com for the Anthropic SDK; the API key goes where the provider's key would go.
curl https://ai.topxea.com/v1/messages \
-H "x-api-key: $TOPXAI_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model": "claude-fable-5-2", "max_tokens": 256, "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'
Related
- Moving to Claude Fable 5.2 on TopxAI
- Connect your SDK
- Shared pool, official line and auto route
- How requests are billed
- LLM API price calculator
- Every model's price
Get an API key · Docs · Blog · About TopxAI