LLM API
AnthropicText generationReleased November 9, 2026

Claude Fable 5.2

Claude Fable 5.2 costs $8 per 1M input tokens and $40 per 1M output tokens on LLM API, with a 1M-token context window.

Pricing

Served by Anthropic, the only provider.

Claude Fable 5.2 prices on LLM API
Input$8per 1M tokens
Output$40per 1M tokens
Cache read$0.2per 1M tokens
Cache write, 5 minutes$10per 1M tokens
Cache write, 1 hour$16per 1M tokens
Web search$0.01per search

Features

  • ToolsYes
  • Parallel tool callsNo
  • Image inputYes
  • ReasoningYes

    Levels: low, medium, high, xhigh, max · default high

  • Prompt cachingYes
  • Structured outputsYes
  • JSON modeYes
  • StreamingYes
  • Web searchYes
  • Also acceptsclaude-fable-5.2

Call Claude Fable 5.2

POST /v1/messagesSet LLMAPI_KEY to your LLM API key.Anthropic Messages docs

import os

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.llmapi.ai",
    api_key=os.environ["LLMAPI_KEY"],
)

message = client.messages.create(
    model="claude-fable-5-2",
    max_tokens=16000,
    messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
    if block.type == "text":
        print(block.text)

More from Anthropic

All Anthropic text models

Prices synced .

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up