Claude Fable 5 is Anthropic's highest-capability Claude tier for demanding reasoning, complex coding, and long-running agent workflows. It provides a 1M-token context window and up to 128K output tokens. Its current HaoAI catalog capabilities include vision, function calling, reasoning, web search, prompt caching, PDF input. Use model ID anthropic/claude-fable-5 through HaoAI's OpenAI-compatible and Anthropic-compatible APIs.
1M context window
128K max output tokens
Released: 2026-06-09
Protocols:OpenAIAnthropic
Capabilities:VisionFunction CallingReasoningPrompt CachingPDF InputWeb Search
Pricing
PriceRate 0.18x
HaoAI
Official
Input
$1.8/M
$10/M
Output
$9/M
$50/M
Cache read
$0.18/M
$1/M
Cache creation
$2.25/M
$12.5/M
Cache creation 5m
$2.25/M
$12.5/M
Cache creation 1h
$3.6/M
$20/M
Code Examples
import anthropic
client = anthropic.Anthropic(
base_url="https://api.hao.ai/anthropic",
api_key="YOUR_HAOAI_API_KEY",
)
message = client.messages.create(
model="anthropic/claude-fable-5",
max_tokens=1024,
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(message.content[0].text)Related Models
Frequently asked questions
HaoAI bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.