Claude Fable 5.2 on Vercel AI Gateway

Claude Fable · Anthropic

Serverless

Last refreshed 2026-11-09. Next refresh: weekly.

Why use Claude Fable 5.2 on Vercel AI Gateway?

Vercel AI Gateway offers Claude Fable 5.2 with pay-as-you-go pricing at $8.00/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Claude Fable 5.2 across 5 providers to find the best fit for your use case
Input / 1M
$8.00
Output / 1M
$40.00
Cache
read $0.20 / 5m $10.00
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
anthropic/claude-fable-5.2

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="anthropic/claude-fable-5.2",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "anthropic/claude-fable-5.2", not the LLMReference slug "claude-fable-5-2".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Claude Fable 5.2 Across Providers

ProviderInput (per 1M)Output (per 1M)
Anthropic$8.00$40.00
AWS Bedrock——
GCP Vertex AI——
OpenRouter$8.00$40.00
Vercel AI Gateway$8.00$40.00

Pricing

TypePrice (per 1M)
Input tokens$8.00
Output tokens$40.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsPrompt CachingBatch API

About Claude Fable 5.2

Claude Fable 5.2 is Anthropic's generally available Mythos-class model for demanding reasoning and long-horizon agentic work, released November 9, 2026. It is the same underlying model as Claude Mythos 5.2 with cybersecurity and biology safeguards; requests those safeguards catch can fall back to other Claude models. Claude API id claude-fable-5-2. 1M-token context, 128K max output, adaptive thinking always on (default effort high), text and image input to text output. Knowledge cutoff June 2026. Anthropic documents model IDs for the Claude API, Amazon Bedrock, Claude Models on Google Cloud (Google-managed and Anthropic-managed), Microsoft Foundry and Claude Platform on AWS.

Get Started

Model Specs

Released2026-11-09
Context1M
ArchitectureDecoder Only
Knowledge cutoff2026-06

Related Models on Vercel AI Gateway