Claude Fable 5 API
Anthropic's Mythos-class model made safe for general use, a tier Anthropic places above Opus in capability. Call claude-fable-5 through the native Anthropic API on AnyAIGC from $2.471 per million input tokens, 75% off Anthropic's list price.
- Model ID claude-fable-5
- Endpoint /v1/messages
- Price 75% off list
- Concurrency Unlimited
- Tools Works with Claude Code
- Business Self-service invoices
What is Claude Fable 5
-
A Mythos-class model for general use
Anthropic launched Claude Fable 5 on June 9, 2026, describing it as a Mythos-class model it has made safe for general use. Anthropic says Mythos-class models sit above the Opus class in capability, and that Fable 5 was state-of-the-art on nearly all the benchmarks it tested. The longer and more complex the task, the larger its lead, and Anthropic says it stays focused across millions of tokens in long-running work.
View benchmarks -
Native API, one key for everything
AnyAIGC exposes a
Get started in three steps/v1/messagesendpoint that speaks the Anthropic Messages format. To switch an existing project, change the base URL tohttps://anyaigc.aiand set model toclaude-fable-5. The same key also works with 300+ other models on the platform.
Claude Fable 5 API pricing
Pay per token at fixed rates, with no subscription or monthly fee. Every line item is about 24.7% of Anthropic's list price.
- Pay per tokenInput, output, and cache priced separately
- 75% offCompared with Anthropic's list price
- Unlimited concurrencyIncluded on every account
- USDOne balance for 300+ models
| Item | AnyAIGC | Anthropic list | You save |
|---|---|---|---|
| Inputper 1M tokens | $2.4710 | $10.00 | 75% |
| Outputper 1M tokens | $12.3530 | $50.00 | 75% |
| 5-minute cache writeper 1M tokens | $3.0880 | $12.50 | 75% |
| 1-hour cache writeper 1M tokens | $4.9410 | $20.00 | 75% |
| Cache hitper 1M tokens | $0.2471 | $1.00 | 75% |
Model name claude-fable-5. Prices are in USD and billed on actual tokens used. List prices are from Anthropic's website; see the AnyAIGC Model Catalog for live pricing.
Cost examples
Estimates for common workloads. Strikethrough shows the same usage at Anthropic's list price.
-
One code review
50K input + 5K output tokens
$0.19
List
$0.75 -
A cached agent session
200K tokens written to a 5-minute cache, then 20 turns that each hit the cache and add 5K input and 2K output
$2.35
List
$9.50 -
1M input + 1M output
1M input + 1M output tokens
$14.82
List
$60.00
What Claude Fable 5 is good at
Hard, long-horizon agentic coding
Hand it development work that spans many modules and hours of effort: plan, edit, run tests, and fix based on results. Anthropic says Fable 5's lead grows with task length and complexity, and with prompt caching you pay the write rate for repo context only once.
Multistep research
Search, read, compare, and synthesize sources around a single question, then deliver a report with conclusions. Anthropic's docs list a 1M-token context window and 128K max output, so long sources and long reports both fit.
Documents, spreadsheets, and slides
Work through contracts, financial statements, data tables, and decks to produce structured analysis, spreadsheet content, and slide outlines for knowledge work that needs careful reasoning and finished deliverables.
Computer-use agents
Drive software interfaces through screenshots and tool calls to fill out forms or move data between systems. In Anthropic's published results, it scores 85.0% on OSWorld-Verified.
Benchmark results
Software engineering, knowledge work, and computer use results from Anthropic's launch announcement.
| Benchmark | Fable 5 | Opus 4.8 |
|---|---|---|
| Software engineeringSWE-Bench Pro | 80.3% | 69.2% |
| Knowledge workGDPval-AA | 1932 | 1890 |
| Computer useOSWorld-Verified | 85.0% | 83.4% |
Source: Anthropic's launch announcement. Anthropic's table labels this column Mythos 5 / Fable 5 and shows the higher of the two scores; Anthropic says the two land within 1–3 points of each other.
Call the Claude Fable 5 API in three steps
- Sign up and add credit: create an account at anyaigc.ai. Your balance works across every model on the platform.
- Create an API key: create a token in the console and copy the key that starts with
sk-. - Send a request: POST an Anthropic Messages request to
https://anyaigc.ai/v1/messages, authenticating withAuthorization: Bearer.
curl https://anyaigc.ai/v1/messages \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-fable-5",
"max_tokens": 16000,
"system": "You are a senior software architect. Start with a phased plan, then work through it step by step and explain how to verify each step.",
"messages": [
{"role": "user", "content": "Split our monolithic order service into order, payment, and inventory services. Give me a migration plan, API definitions, and a rollback strategy."}
]
}'
import os, requests
resp = requests.post(
"https://anyaigc.ai/v1/messages",
headers={"Authorization": f"Bearer {os.environ['ANYAIGC_API_KEY']}"},
json={
"model": "claude-fable-5",
"max_tokens": 16000,
"messages": [
{"role": "user", "content": "Research object storage pricing from the three largest cloud providers, build a comparison table, and recommend one with your reasoning."},
],
},
timeout=600,
)
resp.raise_for_status()
for block in resp.json()["content"]:
if block["type"] == "text":
print(block["text"])
# Put long context (codebase, docs) in system and mark it for caching; later cache hits cost only $0.2471/1M
curl https://anyaigc.ai/v1/messages \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-fable-5",
"max_tokens": 4096,
"system": [
{"type": "text", "text": "You are the code assistant for this project."},
{"type": "text", "text": "<your whole codebase or long document here>",
"cache_control": {"type": "ephemeral"}}
],
"messages": [{"role": "user", "content": "Map the module dependencies and list dead code that is safe to delete"}]
}'
# Cache lasts 5 minutes by default; for 1 hour use {"type": "ephemeral", "ttl": "1h"}
For more parameters (tools, thinking, streaming, PDF and image input, and more), see the AnyAIGC Messages API docs. Fields behave the same as in Anthropic's official docs.
Use Fable 5 in Claude Code
Install with one command that writes your AnyAIGC config automatically, or edit settings.json by hand.
curl -fsSL https://www.anyaigc.ai/install.sh | bash -s claude
# Windows PowerShell: irm https://www.anyaigc.ai/install.ps1 | iex
{
"env": {
"ANTHROPIC_BASE_URL": "https://anyaigc.ai",
"ANTHROPIC_AUTH_TOKEN": "sk-your-api-key",
"ANTHROPIC_MODEL": "claude-fable-5",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-fable-5",
"API_TIMEOUT_MS": "600000"
}
}
For full setup steps and common errors, see the Claude Code setup guide.
Claude Fable 5 API for teams and enterprises
Top up, issue invoices yourself, and work with a dedicated support and technical contact.
- Invoices
Issue them yourself
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
- Dedicated support
Account and technical contacts
Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.
- WeChat Pay
- Alipay
- USDT
- Credit card
Why teams trust AnyAIGC
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
5M free tokens to start
New accounts get trial credit, so you can test before you top up.
Top up from $1, refundable
Top up from $1. Unused balance can be refunded with no fee.
Official channels, real models
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
No retention, no training
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
Transparent billing, spend caps
See tokens and cost for every request in the console, and set a quota on each API key.
24/7 support
Contact support any time about integration, billing or incidents.
Why run Fable 5 on AnyAIGC
- 75% off
24.7% of list price
Long Mythos-class tasks burn a lot of tokens. Input, output, and cache are all discounted at the same ratio, so your bill is easy to predict.
- Unlimited concurrency
Included on every account
Run long-lived agents and batch research jobs in parallel without queuing or requesting a quota increase.
- Native API
Works with the Anthropic SDK
Keep the Messages format and cache_control. Change the base URL to migrate, and move to Fable 5.1 later by changing only the model field.
- 300+ models
One key for all of them
Claude, GPT, Gemini, and more share one API key and one balance.
Other Claude models
The same API key works for every Claude model below. Pick by task difficulty and budget, or see the Claude overview and price comparison.
- LatestClaude Opus 5.5Current Opus for coding and agents · Input $0.4941 / 1M
- LatestClaude Sonnet 5.5Faster, cheaper everyday coding and documents · Input $0.2471 / 1M
- LatestClaude Haiku 5.5Fast and low-cost, for volume work and sub-agents · Input $0.0247 / 1M
- LatestClaude Fable 5.2Next-gen Fable for the hardest long-running work · Input $1.9760 / 1M
- Claude Fable 5.1Previous Fable, still available · Input $2.4710 / 1M
- Claude Opus 5Near Fable 5 intelligence at half the price (legacy) · Input $0.6177 / 1M
- Claude Fable 5Mythos-class legacy model for long-horizon agent work · Input $2.4710 / 1M
- Claude Sonnet 5Close to Opus 4.8, a value pick for everyday agents · Input $0.2471 / 1M
- Claude Opus 4.8Final 4.x Opus with more efficient tool calling · Input $0.6177 / 1M
- Claude Opus 4.7Big jump on hard coding, sharper high-res vision · Input $0.6177 / 1M
- Claude Opus 4.6Legacy Opus with 1M context, still live · Input $0.6177 / 1M
Specs and how to choose it
Claude Fable 5 was released on June 9, 2026.
It has a 1M-token context window and up to 128K output tokens per request.
Thinking is adaptive and always on, with a default effort of high.
Its reliable knowledge cutoff is January 2026.
This page lists Input at $2.4710, Output at $12.3530, 5-minute cache write at $3.0880, 1-hour cache write at $4.9410, matching the pricing table above.
Compared with claude-fable-5-1: Compared with Claude Fable 5.1, the context window and max output are the same, but Fable 5.1 has a later knowledge cutoff (June 2026).
Specs come from the vendor's official documentation (platform.claude.com). The table on this page is the price, and the model catalog is authoritative for live rates.
Claude Fable 5 API FAQ
How much does the Claude Fable 5 API cost?
On AnyAIGC, claude-fable-5 is billed per token: $2.471 per million input tokens, $12.353 per million output tokens, $3.0880 for 5-minute cache writes, $4.9410 for 1-hour cache writes, and $0.2471 for cache hits. Anthropic's list price is $10 input and $50 output, so AnyAIGC comes in at about 24.7% of list price, or 75% off.
What is the Claude Fable 5 model ID, and is the API Anthropic-compatible?
The model ID is claude-fable-5. Put it in the model field of your request body. The endpoint is https://anyaigc.ai/v1/messages and the request body follows the Anthropic Messages format (model, max_tokens, system, messages, tools, cache_control, and so on). Authenticate with Authorization: Bearer followed by your API key. With the official SDK, just set the base URL to https://anyaigc.ai.
What is Claude Fable, and how is it different from Opus?
Claude Fable is Anthropic's line of Mythos-class models. Anthropic describes Claude Fable 5 as a Mythos-class model it has made safe for general use, and says Mythos-class models sit above the Opus class in capability. Claude Mythos 5 is the same underlying model with fewer safeguards and is offered only to verified organizations. According to Anthropic, the longer and more complex the task, the larger Fable 5's lead over its other models.
Is Claude Fable 5 deprecated? How long can I use it?
It still works. Anthropic lists Claude Fable 5 as Active (Legacy) and commits to retiring it no earlier than June 9, 2027. For new projects, Anthropic recommends Claude Fable 5.1 (claude-fable-5-1).
What is Claude Fable 5 good at?
It fits hard, long-horizon work: long-running agentic coding, multistep research, document, spreadsheet and slide work, and computer-use agents. Anthropic's docs list a 1M-token context window and 128K max output. In Anthropic's published results it scores 80.3% on SWE-Bench Pro and 85.0% on OSWorld-Verified.
Can I use Claude Fable 5 in Claude Code?
Yes. In the env block of ~/.claude/settings.json, set ANTHROPIC_BASE_URL to https://anyaigc.ai, ANTHROPIC_AUTH_TOKEN to your API key, and both ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_OPUS_MODEL to claude-fable-5, then run claude. You can also install and configure everything with one command: curl -fsSL https://www.anyaigc.ai/install.sh | bash.
How is prompt caching billed?
Add cache_control to a content block to enable caching. The first write is billed at the cache write rate ($3.0880 for 5 minutes or $4.9410 for 1 hour, per million tokens). After that, cached tokens cost only $0.2471 per million, 10% of the regular input price. Caching works best for long system prompts, large codebase context, and long-running agent tasks.
Are there concurrency or rate limits?
AnyAIGC sets no concurrency limit on claude-fable-5. Every account gets this by default, so it works well for batch jobs and running multiple agents in parallel.
How do I get a Claude Fable 5 API key?
Sign up at anyaigc.ai, add credit, and create a token in the console. The same key works for Claude Fable 5 and 300+ other models on the platform.
Can I get an invoice from AnyAIGC?
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
Which payment methods are supported?
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Is there free trial credit for new users?
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Can I get a refund on my balance?
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Are these the real models? Is my data safe?
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Is my data used for training?
Requests are encrypted in transit over HTTPS. See the AnyAIGC Privacy Policy for data handling details. Anthropic says using Fable requires 30-day data retention by default for safety monitoring; the model's own data policy is governed by Anthropic's official terms.
Run a Mythos-class model at 75% off list
Sign up, create an API key, and you can be calling claude-fable-5 from your code or Claude Code in minutes.