
Claude Fable 5 API
claude-fable-5Claude Fable 5 is Anthropic's high-end publicly available model — and on APIMODELS it costs about 50% less than official Anthropic pricing ($5 input / $25 output per 1M tokens). Ultra-long context, multimodal (vision) understanding, complex reasoning and enterprise-grade knowledge work, with strict safety safeguards. Use it through the Anthropic Messages API (/v1/messages) — the native path for Claude Code, the Anthropic SDK, and Anthropic-compatible clients like Cursor — with native tool use (function calling). Request params match Claude Opus 4.8.
API Documentation
View complete API reference with all parameters and examples.
Advanced Features
Streaming
Enable real-time streaming responses with Server-Sent Events.
{
"model": "claude-fable-5",
"stream": true,
"max_tokens": 1024,
"messages": [...]
}Function Calling (Tools)
Enable Claude to use tools and call functions.
{
"model": "claude-fable-5",
"max_tokens": 1024,
"tools": [{
"name": "get_weather",
"description": "Get current weather for a location",
"input_schema": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}],
"tool_choice": {"type": "auto"},
"messages": [{"role": "user", "content": "What's the weather in Tokyo?"}]
}PDF Support
Analyze PDF documents by sending them as base64 encoded content.
{
"model": "claude-fable-5",
"max_tokens": 1024,
"messages": [{
"role": "user",
"content": [{
"type": "document",
"source": {
"type": "base64",
"media_type": "application/pdf",
"data": "<base64_encoded_pdf>"
}
}, {
"type": "text",
"text": "Summarize this document."
}]
}]
}Structured Output (JSON Schema)
Get structured JSON responses that match your schema.
{
"model": "claude-fable-5",
"max_tokens": 1024,
"output_format": {
"type": "json_schema",
"schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "integer"}
},
"required": ["name", "age"]
}
},
"messages": [{"role": "user", "content": "Extract info: John is 30 years old"}]
}Web Search
Enable Claude to search the web for up-to-date information.
{
"model": "claude-fable-5",
"max_tokens": 1024,
"tools": [{
"type": "web_search_20250305",
"name": "web_search",
"max_uses": 5
}],
"messages": [{"role": "user", "content": "What's the latest news about AI?"}]
}API Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier (e.g., claude-fable-5) |
| messages | array | Yes | Array of message objects with role and content |
| max_tokens | integer | Yes | Maximum tokens in the response (1 - 128000) |
| system | string | No | System prompt to set context |
| stream | boolean | No | Enable streaming responses (SSE) |
| temperature | number | No | Sampling temperature (0.0 - 1.0) |
| top_p | number | No | Nucleus sampling threshold (0.0 - 1.0) |
| top_k | integer | No | Top-k sampling (0 - infinity) |
| stop_sequences | array | No | Sequences that stop generation |
| tools | array | No | Function calling tools definition |
| tool_choice | object | No | Tool selection strategy (auto/any/tool) |
| thinking | object | No | Enable extended thinking mode |
| output_format | object | No | Structured output with JSON schema |
Full API Documentation
View complete API reference with streaming, thinking, and more.
Pricing
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000
~50% Off
About half the official Anthropic price
Ultra-Long Context
Handles very large inputs end to end
Multimodal Understanding
Text + image (vision) comprehension
Complex Reasoning
Strong multi-step reasoning and analysis
About Claude Fable 5
Claude Fable 5 is a Large Language Model API provided by Anthropic. Claude Fable 5 is Anthropic's high-end publicly available model — and on APIMODELS it costs about 50% less than official Anthropic pricing ($5 input / $25 output per 1M tokens). Ultra-long context, multimodal (vision) understanding, complex reasoning and enterprise-grade knowledge work, with strict safety safeguards. Use it through the Anthropic Messages API (/v1/messages) — the native path for Claude Code, the Anthropic SDK, and Anthropic-compatible clients like Cursor — with native tool use (function calling). Request params match Claude Opus 4.8. Through APIMODELS platform, you can access this model via a unified API with transparent pay-as-you-go pricing. Current pricing: Input: $5, Output: $25 per 1M tokens.
Key Features
- ~50% Off -- About half the official Anthropic price
- Ultra-Long Context -- Handles very large inputs end to end
- Multimodal Understanding -- Text + image (vision) comprehension
- Complex Reasoning -- Strong multi-step reasoning and analysis
Use Cases
Chatbot & Customer Support
Build intelligent conversational systems to automatically answer user queries and improve service efficiency.
Content Generation
Automatically write articles, emails, ad copy, and other text content to boost productivity.
Code Assistant
Assist with code writing, debugging, and code review to accelerate software development.
Data Analysis
Understand and analyze unstructured data, extract key insights, and generate summary reports.
Why APIMODELS
- Unified API -- One API key to access all models, no need to register on multiple platforms
- Transparent Pricing -- Pay-as-you-go with per-call pricing published on every model page, ideal for indie developers and startups
- Instant Access -- Start right after signup; pay by card, PayPal, Alipay or USDT
- Full Documentation -- Detailed API docs with code examples in cURL, Python, and Node.js
Frequently Asked Questions
What is the difference between APIMODELS and the official Anthropic API?
APIMODELS offers the same Claude Fable 5 model through our aggregation platform. We provide a unified API interface so you do not need separate accounts for each provider - one API key to access all models.
What is Claude Fable 5 and what is it best at?
Claude Fable 5 is Anthropic's latest and most capable publicly available LLM — ultra-long context, multimodal (vision) understanding, complex reasoning, and enterprise-grade knowledge work, with strict safety safeguards. Best for long-document/image tasks, complex multi-step reasoning, agentic coding, and high-quality knowledge work. On apimodels.app it's billed at $5 input / $25 output per 1M tokens — about half the official price.
Can I use Fable 5 with Claude Code or Cursor? Does it support tool calling?
Yes — Fable 5 supports native tool use through the Anthropic Messages API (/v1/messages), the format Claude Code and the Anthropic SDK use. Point ANTHROPIC_BASE_URL at https://api.apimodels.app, set the model to claude-fable-5, and use your apimodels API key (see /docs/claude-code). Anthropic-API-compatible clients like Cursor work too when configured as a custom Anthropic model. Send tools in Anthropic format ({name, input_schema}); request params are identical to Claude Opus 4.8.
How do I call Fable 5? Does it support tools and vision?
Call it through the Anthropic Messages API (/v1/messages) — it natively supports tool calling (tool_use) and image input (vision), the same way Claude Code and the Anthropic SDK work. Request params are identical to Claude Opus 4.8 — just set the model to claude-fable-5.
How is Fable 5 priced? How much more affordable than official?
Input $5 / output $25 per 1M tokens — about half the official Anthropic price (~50% less). Prompt caching is supported too: cache-read (hit) tokens are billed at $0.882/M — far below the input rate — and cache writes at $8.824/M. Great for long sessions with lots of repeated context.
Fable 5 vs Claude Opus 4.8 — which should I pick?
Fable 5 is Anthropic's newest flagship — the strongest overall, with better multimodal — at $5/$25 on apimodels.app (~half the official price). Opus 4.8 is more established and more affordable per token ($3/$13) and is still excellent for long-horizon agentic work. Pick claude-fable-5 for the latest/most-capable, claude-opus-4-8 for the lower per-token cost — both share one API key so you can route by task.
What can Claude Fable 5 do?
Claude Fable 5 supports: Ultra-Long Context, Multimodal, Complex Reasoning, ~50% Off. See the APIMODELS docs for full parameters and call examples.
Can I use the Claude Fable 5 API from any country, including mainland China?
Yes. APIMODELS does not restrict access by country: the site and the API answer requests from anywhere, and apimodels.app and api.apimodels.app are reachable directly from mainland China without a proxy. You call Claude Fable 5 with one APIMODELS key, so you do not need a separate account with the model's developer.
What payment methods are supported? Can I pay with PayPal or crypto?
Yes to both. You can top up with a card (Visa, Mastercard and others, through Stripe), PayPal, Alipay, or USDT on TRON (TRC20) or BNB Smart Chain (BEP20). Card, PayPal and Alipay top-ups are credited immediately; USDT is credited once the transfer confirms on-chain. Auto top-up is optional, and a $50 top-up adds a $1 bonus ($3 on a $100 top-up). The balance is in USD and billed per use, with no subscription.