# Claude Fable 5.2 - API, Playground & Pricing

> Run Claude Fable 5.2 by Anthropic via API, Playground, or MCP from $8.00 per 1M input tokens - no provider API key needed. Anthropic's top Claude, above Opus, for the hardest reasoning and long agent runs.

Page: https://flymy.ai/models/claude-fable-5-2/

Models / LLMs

Anthropic Claude Fable 5.2 sits above Opus for demanding reasoning and long agentic work, with image input, a 1M-token context and thinking always on. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Anthropic API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/claude-fable-5-2) [<> Get API](https://flymy.ai/models/claude-fable-5-2/#api)

**Provider**

[Anthropic](https://flymy.ai/models/provider/anthropic/)

**Category**

[LLMs](https://flymy.ai/models/llms/) / Chat model

**Price**

$8.00 / $40.00 per 1M tokens

**Returns**

`output`, `finish_reason`, `stream_details`

**Commercial use**

Allowed

**Model ID**

`flymyai/claude-fable-5-2`

![Claude Fable 5.2 by Anthropic: chat model sample, demanding reasoning](https://flymy.ai/img/models/claude-fable-5-2.jpg)

Claude Fable 5.2 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Claude Fable 5.2 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/models/claude-fable-5-2.md. Help me connect the FlyMy.AI MCP to this assistant, then run Claude Fable 5.2 (flymyai/claude-fable-5-2) for this task: Ask Claude Fable 5.2: write unit tests for this Python module.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/claude-fable-5-2.md)

## What Claude Fable 5.2 does

Thinking is always on and its raw text is never returned. Send a prompt, or a chat history in messages with images as image_url parts, and get a text answer of up to 128K tokens from a 1M-token context. reasoning_effort is low, medium, high, xhigh or max (high by default); system_prompt and max_tokens work as usual, and private_mode keeps the prompt and answer out of FlyMy.AI storage. Your FlyMy.AI key also works on the OpenAI-compatible Chat Completions endpoint and on Anthropic's Messages API at the model's FlyMy.AI address, so the official Anthropic SDK runs once you change its base URL; PDFs, prompt caching and reasoning_effort need the Messages API. Billing follows the tokens Anthropic reports, at Anthropic's own price. Tools Anthropic runs itself, such as web search, are not offered.

Guide: [LLM API: GPT, Claude and Gemini with One Key](https://flymy.ai/blog/llm-api-gpt-claude-gemini/)

## Claude Fable 5.2 inputs

Every input of `flymyai/claude-fable-5-2` as its live schema lists them. Returns `output` (string), `finish_reason` (string), `stream_details` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/claude-fable-5-2/#input-prompt) `prompt` | string required What to ask Claude Fable 5.2 |
| [#](https://flymy.ai/models/claude-fable-5-2/#input-messages) `messages` | string optional Chat history as a JSON array of {role, content}; used instead of the prompt |
| [#](https://flymy.ai/models/claude-fable-5-2/#input-system_prompt) `system_prompt` | string optional Instructions for the whole chat |
| [#](https://flymy.ai/models/claude-fable-5-2/#input-reasoning_effort) `reasoning_effort` | string optional Allowed: low, medium, high, xhigh, max Default: `high` How much effort Claude Fable 5.2 puts into the answer, reasoning included |
| [#](https://flymy.ai/models/claude-fable-5-2/#input-max_tokens) `max_tokens` | integer optional Allowed: 1 to 128000 Most tokens to generate, reasoning included |
| [#](https://flymy.ai/models/claude-fable-5-2/#input-private_mode) `private_mode` | boolean optional Default: `false` Keep the prompt and the answer out of FlyMyAI storage and logs (synchronous requests only) |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Ask Claude Fable 5.2: write unit tests for this Python module.”** runs `flymyai/claude-fable-5-2`

**“Compare these two product specs in a table with Claude Fable 5.2.”** runs `flymyai/claude-fable-5-2`

**“With Claude Fable 5.2, rewrite this landing page paragraph to be shorter and clearer.”** runs `flymyai/claude-fable-5-2`

## Claude Fable 5.2 price

$8.00 per 1M input tokens, $40.00 per 1M output tokens, cached input $0.20 per 1M, cache writes $10.00 per 1M ($16.00 kept longer). Cached input is $0.20 per 1M tokens. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Claude Fable 5.2 vs similar models

Popular LLMs models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Input tokens | Output tokens |
|---|---|---|---|---|---|---|
| **Claude Fable 5.2** | Anthropic | Chat model | $8.00 / $40.00 per 1M tokens | $8.00 / $40.00 per 1M tokens | $8.00 per 1M | $40.00 per 1M |
| [Kimi K3.1 Pro](https://flymy.ai/models/kimi-k3-1-pro/) | Moonshot AI | Chat model | $2.00 / $10.00 per 1M tokens | $2.00 / $10.00 per 1M tokens | $2.00 per 1M | $10.00 per 1M |
| [TypeSafe Jev 1.13](https://flymy.ai/models/typesafe-jev-1-13/) | FlyMy.AI | Typed decisions | $0.042 per 1M tokens | $0.042 / $0.00 per 1M tokens | $0.042 per 1M | $0.00 per 1M |
| [Claude Haiku 5.5](https://flymy.ai/models/claude-haiku-5-5/) | Anthropic | Chat model | $0.10 / $0.50 per 1M tokens | $0.10 / $0.50 per 1M tokens | $0.10 per 1M | $0.50 per 1M |

[Claude Fable 5.2 vs Kimi K3.1 Pro →](https://flymy.ai/models/compare/kimi-vs-claude/)

## Claude Fable 5.2 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

Form fields, not JSON; files go as uploads or public URLs. Text models answer on the streaming route.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/claude-fable-5-2/predict/stream/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Explain in two sentences what an MCP server is.'
```

### Python

The OpenAI SDK with only the base URL and the key changed.

```
# pip install openai
import os

from openai import OpenAI

client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/claude-fable-5-2/openai/v1", api_key=os.environ["FLYMYAI_API_KEY"])
reply = client.chat.completions.create(
    model="flymyai/claude-fable-5-2",
    messages=[{"role": "user", "content": "Explain in two sentences what an MCP server is."}],
)
print(reply.choices[0].message.content)
```

### JavaScript / TypeScript

The OpenAI SDK with only the base URL and the key changed.

```
// npm install openai
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.flymy.ai/api/v1/flymyai/claude-fable-5-2/openai/v1", apiKey: process.env.FLYMYAI_API_KEY });
const reply = await client.chat.completions.create({
  model: "flymyai/claude-fable-5-2",
  messages: [{ role: "user", content: "Explain in two sentences what an MCP server is." }],
});
console.log(reply.choices[0].message.content);
```

### MCP

Your agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/claude-fable-5-2",
  "input": {
    "prompt": "Explain in two sentences what an MCP server is."
  }
}
```

## Questions about Claude Fable 5.2

**Do I need an Anthropic API key for Claude Fable 5.2?**

No. Claude Fable 5.2 runs on FlyMy.AI's account, so you need no Anthropic key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Claude Fable 5.2 cost?**

$8.00 per 1M input tokens, $40.00 per 1M output tokens, cached input $0.20 per 1M, cache writes $10.00 per 1M ($16.00 kept longer). There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try Claude Fable 5.2 before I write code?**

Yes. Open Claude Fable 5.2 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/claude-fable-5-2, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use Claude Fable 5.2 in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Ask Claude Fable 5.2: write unit tests for this Python module." Your agent reads the inputs with get_model_schema and runs flymyai/claude-fable-5-2 with run_model.

**What does Claude Fable 5.2 need as input?**

Claude Fable 5.2 requires prompt; it also takes 5 optional inputs, each listed on this page with its allowed values and default.

**Can I call Claude Fable 5.2 from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/claude-fable-5-2/predict/stream/ with your FlyMy.AI API key in the X-API-KEY header; it also answers the OpenAI Chat Completions protocol at https://api.flymy.ai/api/v1/flymyai/claude-fable-5-2/openai/v1.

## More language models

Chat and reasoning models for code, documents and agents, plus typed decisions for routing and triage.

### Claude Haiku 5.5

The lowest-priced current Claude, for quick, high-volume work with a 1M-token window.

Chat model / $0.10 / $0.50 per 1M tokens

Link: https://flymy.ai/models/claude-haiku-5-5/

### Claude Sonnet 5.5

The everyday Claude for coding and agents: quick answers with room for deep reasoning.

Chat model / $2.00 / $10.00 per 1M tokens

Link: https://flymy.ai/models/claude-sonnet-5-5/

### Claude Opus 5.5

The current Claude Opus for complex code, agents and analysis, with reasoning up to max.

Chat model / $4.00 / $20.00 per 1M tokens

Link: https://flymy.ai/models/claude-opus-5-5/

### Kimi K3.1 Pro

Moonshot's flagship for agentic coding: tool calls, images and a 1M-token context.

Chat model / $2.00 / $10.00 per 1M tokens

Link: https://flymy.ai/models/kimi-k3-1-pro/

### TypeSafe Jev 1.13

FlyMy.AI's decision model: route, label and gate with probabilities, not prose.

Typed decisions / $0.042 per 1M tokens

Link: https://flymy.ai/models/typesafe-jev-1-13/

### GPT-6 Luna

OpenAI's lowest-priced GPT-6 model for bulk work, with reasoning you can switch off.

Chat model / $0.10 / $0.50 per 1M tokens

Link: https://flymy.ai/models/gpt-6-luna/

## Go to the source

[Claude Fable 5.2 in the playground →](https://app.flymy.ai/models/flymyai/claude-fable-5-2), [Claude Fable 5.2 guide in the docs →](https://docs.flymy.ai/guides/use-llms), [LLMs models →](https://flymy.ai/models/llms/), [Anthropic models →](https://flymy.ai/models/provider/anthropic/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
