LiveAdded 9 Nov 2026

Claude Fable 5.2 API

Anthropic's most capable generally available Claude, for demanding reasoning and long-horizon agentic work, at 20% below Fable 5.1.

Model spec

Input
$8.00/ 1M tokens
Output
$40.00/ 1M tokens
Cached input
$0.20/ 1M tokens
Context
1Mtokens
Max output
128Ktokens

Model ID

OpenAI-compatible · api.companyfabric.com/v1

Overview

About Claude Fable 5.2

Anthropic's most capable generally available Claude, for demanding reasoning and long-horizon agentic work, at 20% below Fable 5.1. Every model on CompanyFabric shares the same API key, billing balance, and rate-limit envelope, one integration covers the entire library.

Facts

At a glance

Availability

Live

Added 9 Nov 2026

Pricing

$8.00 in · $40.00 out

Per 1M tokens, metered exactly per call

Context window

1M tokens

Up to 128K tokens out

Commercial use

See license

Commercial use of outputs permitted per Anthropic's usage policies.

Variants

All endpoints

Claude Sonnet 4.5

Retiring$3/Mtok in

Frontier-quality text and reasoning through one OpenAI-compatible endpoint.

Chat Completions

Claude Haiku 4.5

$1/Mtok in

Fast, cheap frontier-family model for high-volume tasks.

Chat Completions

Claude Opus 4.6

$5/Mtok in

The frontier tier for the hardest reasoning and agentic work.

Chat Completions

Claude Fable 5

$10/Mtok in

Anthropic's first Mythos-class model, the new flagship tier above Opus, tuned for the hardest reasoning and agentic work.

Chat Completions

Claude Opus 5

$5/Mtok in

The Claude 5 generation's deep-work model, maximum-capability reasoning for research, architecture, and hard agentic tasks.

Chat Completions

Claude Opus 5.5

$4/Mtok in

First of the Claude 5.5 generation: Fable-class agentic coding and computer use at 20% below Opus 5.

Chat Completions

Claude Sonnet 5.5

$2/Mtok in

The fast Claude 5.5: near-Opus coding and knowledge work, 30%+ faster than Sonnet 5, at half Opus 5.5's price.

Chat Completions

Claude Fable 5.1

$10/Mtok in

Anthropic's top generally available model, tied for first on the Artificial Analysis Intelligence Index.

Chat Completions

Claude Fable 5.2

$8/Mtok in

Anthropic's most capable generally available Claude, for demanding reasoning and long-horizon agentic work, at 20% below Fable 5.1.

Chat Completions

Claude Haiku 5.5

$0.1/Mtok in

Anthropic's cheapest and fastest Claude: a big step up from Haiku 4.5 in coding, computer use and knowledge work, at $0.10 / $0.50 per 1M tokens for prompts up to 100K.

Chat Completions

Quickstart

How to use the Claude Fable 5.2 API

  1. 1

    Create a free CompanyFabric account, starter credits are included, no card required.

  2. 2

    Copy your API key from the dashboard. One key covers every model in the library.

  3. 3

    Point any OpenAI SDK at api.companyfabric.com/v1 and set model to "anthropic/claude-fable-5-2".

  4. 4

    Read the exact metered cost of the call from the response, the same number shown in the playground.

Use cases

What teams build with it

Agents & copilots

Drive agent loops, tool calls, and user-facing assistants over the OpenAI-compatible endpoint.

agentstool useassistants

Content pipelines

Summarization, rewriting, and structured generation at metered per-token cost.

contentsummarization

Extraction & classification

Turn unstructured input into typed JSON with schema-constrained output.

extractionjson mode

Get better output

Prompting tips

  • State the output format before the task, models follow contracts declared early.
  • Few-shot beats description: two worked examples outperform a paragraph of rules.
  • Cap output length explicitly when cost matters; output tokens dominate most bills.

Exact, metered, prepaid

Claude Fable 5.2 pricing

Claude Fable 5.2 pricing is per token: $8 / M input · $40 / M output · $0.2 / M cached input. Output tokens cost 5× input tokens, so long generations, not long prompts, are what actually drive most bills. A typical call with a 2k-token prompt and a 1k-token answer costs about $0.0560.

Every call is metered exactly and attributed to your key, the dashboard, the API usage response, and your invoice all read from the same ledger row. Cap any key's monthly spend with a budget cap, and bring your own provider key (BYOK) at 0% platform fee if you already have a direct contract.

EndpointTypePrice
Claude Sonnet 4.5Chat$3 / M input · $15 / M output · $0.3 / M cached input
Claude Haiku 4.5Chat$1 / M input · $5 / M output · $0.1 / M cached input
Claude Opus 4.6Chat$5 / M input · $25 / M output · $0.5 / M cached input
Claude Fable 5Chat$10 / M input · $50 / M output · $1 / M cached input
Claude Opus 5Chat$5 / M input · $25 / M output · $0.5 / M cached input
Claude Opus 5.5Chat$4 / M input · $20 / M output · $0.2 / M cached input
Claude Sonnet 5.5Chat$2 / M input · $10 / M output · $0.1 / M cached input
Claude Fable 5.1Chat$10 / M input · $50 / M output · $0.25 / M cached input
Claude Fable 5.2Chat$8 / M input · $40 / M output · $0.2 / M cached input
Claude Haiku 5.5Chat$0.1 / M input · $0.5 / M output · $0.01 / M cached input

Starter credits

Use Claude Fable 5.2 free

Your CompanyFabric starter credits cover your first Claude Fable 5.2 calls at no cost, create a free account, no card required, and the credits apply to Claude Fable 5.2 and every other model on the key. When they run out, prepaid credits or BYOK (0% fee) take over with no plan to pick.

All ways to use AI models free →

Production-grade

Code samples

import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://api.companyfabric.com/v1",
  apiKey: process.env.COMPANYFABRIC_API_KEY,
})

const res = await client.chat.completions.create({
  model: "anthropic/claude-fable-5-2",
  max_tokens: 1024,
  temperature: 0.7,
  messages: [{ role: "user", content: "Say hello from the fabric." }],
})

console.log(res.choices[0].message.content)

Playground

Try it in the browser

PlaygroundClaude$8 in / $40 out per 1M tokens

Comparisons

Claude Fable 5.2 vs the alternatives

Claude Fable 5.2 vs GPT-6 Astra

Claude Fable 5.2 and GPT-6 Astra compete for the same text workloads. Both run behind the same CompanyFabric key at exact metered prices, A/B them on your real prompts and let the outputs decide, then switch with a one-line change.

Full comparison: Claude Fable 5.2 vs GPT-6 Astra →

Claude Fable 5.2 vs Claude Fable 5.1

Claude Fable 5.2 and Claude Fable 5.1 compete for the same text workloads. Both run behind the same CompanyFabric key at exact metered prices, A/B them on your real prompts and let the outputs decide, then switch with a one-line change.

Full comparison: Claude Fable 5.2 vs Claude Fable 5.1 →

Claude Fable 5.2 vs Gemini 3.1 Pro (preview)

Claude Fable 5.2 and Gemini 3.1 Pro (preview) compete for the same text workloads. Both run behind the same CompanyFabric key at exact metered prices, A/B them on your real prompts and let the outputs decide, then switch with a one-line change.

Full comparison: Claude Fable 5.2 vs Gemini 3.1 Pro (preview) →

Compare

Claude Fable 5.2 head to head

FAQ

Frequently asked questions

How much does the Claude Fable 5.2 API cost?

$8 / M input · $40 / M output · $0.2 / M cached input. Every call is metered exactly and shown before you run it.

How do I get a Claude Fable 5.2 API key?

Create a CompanyFabric account, and one key unlocks Claude Fable 5.2 and every other model in the library. Free starter credits are included, no subscription, no card required to try it.

Why use Claude Fable 5.2 on CompanyFabric instead of going direct?

One key, one prepaid balance, and one rate-limit envelope across the whole library, at pricing at parity with or below the direct API. Model switching is a one-line change, and BYOK routing is 0% fee.

Is the API OpenAI-compatible?

Yes, point any OpenAI SDK at api.companyfabric.com/v1 and set model to "anthropic/claude-fable-5-2".

Can I use the output commercially?

Commercial use of outputs permitted per Anthropic's usage policies.

How does billing work?

Prepaid credits via card, or BYOK with your own provider keys at 0% platform fee. No subscription required; balances never expire.

Provider

About Anthropic

Anthropic publishes the claude family. Also in this family: Claude Sonnet 4.5, Claude Haiku 4.5, Claude Opus 4.6, Claude Fable 5, Claude Opus 5, Claude Opus 5.5, Claude Sonnet 5.5, Claude Fable 5.1, Claude Haiku 5.5. License: Commercial use of outputs permitted per Anthropic's usage policies.

One key. Every model. Exact prices.

Run Claude Fable 5.2 with free starter credits. Free starter credits included, no subscription required.