• Anthropic
  • Text
  • Streaming

Claude Fable 5.2 API: pricing, capabilities and setup

pay as you go · no subscription · key right after sign-up

Model ID
Input
$2.304 / 1M
Output
$11.52 / 1M
Get a key No subscription · pay as you go

How much Claude Fable 5.2 costs

  • Input
    $2.304
    per 1M tokens
  • Output
    $11.52
    per 1M tokens
  • Cache read
    $0.2304
    per 1M tokens
  • Cache write
    $2.88
    per 1M tokens

Cost calculator

3 M tokens

75%

The rest is output

With llmbox
$14

What a typical task costs

TaskTokens (input / output)With llmbox
Short chat2 000 / 500$0.01037
Code review20 000 / 2 000$0.06912
Document summary40 000 / 2 000$0.1152
Agent session600 000 / 30 000$1.728

Specs

Capabilities

  • Streaming
  • Prompt caching
  • Image input

Endpoints

  • /v1/chat/completions
  • /v1/messages

Setup in three steps

  1. 01
    Get a key

    Sign up and create an API key in the dashboard.

    Get a key →
  2. 02
    Set the base URL

    In any OpenAI-compatible client, point the API address to:

  3. 03
    Pass the model id

    Put this identifier in the model field:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmbox.cc/v1",
    api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.chat.completions.create(
    model="anthropic/claude-fable-5.2",
    messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)

Claude Fable 5.2 vs neighbours

ModelInput · 1MOutput · 1M
Claude Fable 5.2$2.304$11.52
Claude Sonnet 5.5 $0.522$2.61
Claude Sonnet 5 $0.60264$3.0132
Claude Opus 5.5 $0.90$4.50
Claude Opus 5 $1.305$6.525
GPT-6.1 Sol OpenAI$1.80$5.00
All Anthropic models

Other Anthropic models