← All models

Anthropic: Claude Fable 5.2NEW

anthropic/claude-fable-5.2
Claude Fable 5.2 is Anthropic's most capable model for the most demanding technical work, with gains over Fable 5.1 in coding, reasoning, and vision. In prerelease testing it completed otherwise-infeasible software migrations, designed working electronic devices from scratch, and made progress on open problems in physics and mathematics. It communicates more clearly than earlier Fable models and generates output up to 30% faster than Fable 5.1. Adaptive extended thinking is always on, with reasoning effort levels from low to max (default high) and preserved thinking across turns. Anthropic recommends Opus 5.5 as the daily driver for most coding and knowledge work, with Fable 5.2 for the most ambitious, open-ended problems.
Modalities
Price in / out
Cache, read / write
Context / Max output
1M / 128K
Released
Nov 9, 2026

Parameters

messagesrequired
reasoning_effortlow · medium · high · xhigh · max
max_tokensoptional · alias max_completion_tokens
streamtrue · false
toolsfunction calling (OpenAI format)
tool_choiceauto · none · required
response_formatjson_object · json_schema
web_search · · ·
providerrouting: order · only · ignore · sort
stream_options{"include_usage": true}
image_urlimage (data: URL)
filePDF · DOCX · TXT · CSV · XLSX · PPTX (data: URL)
Fine-tuning · 1
stopoptional

How to use via API

from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
    model="anthropic/claude-fable-5.2",
    messages=[{"role": "user", "content": "Привет"}],
    reasoning_effort="low",  # low · medium · high · xhigh · max
    max_tokens=1024,
    stream=False,
)
print(resp.choices[0].message.content)

# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
    model="anthropic/claude-fable-5.2",
    messages=[{"role": "user", "content": "Привет"}],
    stream=True,
):
    print(chunk.choices[0].delta.content or "", end="", flush=True)

# с файлом (PDF · DOCX · TXT · CSV · XLSX · PPTX)
doc = client.chat.completions.create(
    model="anthropic/claude-fable-5.2",
    messages=[{"role": "user", "content": [
        {"type": "text", "text": "Кратко перескажи документ"},
        {"type": "file", "file": {
            "filename": "doc.pdf",
            "file_data": "data:application/pdf;base64,JVBERi0...",
        }},
    ]}],
)
API docsTry in the bot