Back to models
AnthropicText APIOperationalUpdated

Claude Fable 5.1 API

Anthropic's Fable tier for advanced reasoning, coding, and agentic work.

API access

Endpoint
POST /v1/chat/completions
POST /v1/messages
Base URL
https://api.apiko.app/v1

Speaks OpenAI Chat Completions / Anthropic Messages; one APIKO key reaches every listed model.

Input price

78% off

$10.00

$2.25

/ 1M tokens

Output price

78% off

$50.00

$11.25

/ 1M tokens

Context

1M

Context window

Max output

32K

Per response on APIKO · official 128K

Start testing Claude Fable 5.1

Ask a question — the answer streams in, followed by token usage, latency and an estimated cost.

Claude Fable 5.1 API quickstart

Call Claude Fable 5.1 in the OpenAI Chat Completions / Anthropic Messages format. Copy-ready cURL, Python and Node.js samples below.

Code sample

Endpoint:/v1/messages

curl https://api.apiko.app/v1/messages \
  -H "x-api-key: $APIKO_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-fable-5-1",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Tip: set APIKO_API_KEY to a key created on the API keys page.

Works with the official SDKs — swap in the base URL, API key and model ID.

Full Claude Fable 5.1 API docsManage API keysOne APIKO key works across every listed model.

Claude Fable 5.1 API pricing

Billed on the input, output and cached tokens reported in usage; every price is per 1M tokens.

Currency
Input tokens78% off
$10.00$2.25/ 1M tokens

The prompt and context you send to the model

Output tokens78% off
$50.00$11.25/ 1M tokens

What the model generates, reasoning tokens included

Cached input
$0.250$0.05624/ 1M tokens

Claude Fable 5.1 specs

Specs follow APIKO's public request contract first; anything it does not publish is taken from the model vendor's official docs, and shows as not disclosed only when neither publishes it.

Streaming
Supported
Tool calling
Supported
Structured JSON
Supported
Reasoning mode
Supported
Input modality
text · image · pdf
Output modality
text
Reasoning levels
low · medium · high · xhigh · max
Max output
32K per response (16K on the free trial); official 128K

Source: vendor's official model docs (checked 2026-09-29)

About Claude Fable 5.1

Anthropic's Fable tier for advanced reasoning, coding, and agentic work.

APIKO serves this model at /v1/chat/completions / /v1/messages. Try prompts and parameters in the playground on this page first, then connect your server with the same APIKO API key.

Provider
Anthropic
Endpoint
/v1/chat/completions/v1/messages
Context window
1M
Model ID
claude-fable-5-1

How to use Claude Fable 5.1

The playground and the API share one model ID — three steps take you from trying a prompt to production calls.

  1. Step 1

    Try it online

    Test the system prompt, output length and sampling settings in the playground.

  2. Step 2

    Manage API keys

    Sign in to see your keys or create one; one key works across every listed model.

  3. Step 3

    Connect your server

    Send requests to /v1/chat/completions and record cost from the usage field.

Compare Claude Fable 5.1 with other Anthropic models

Live APIKO prices per 1M tokens. Every model here works with the same API key — switch by changing the model ID.

Currency
ModelInputOutput
Claude Fable 5claude-fable-5$2.25$11.25
Claude Fable 5.1This pageclaude-fable-5-1$2.25$11.25
Claude Fable 5.2claude-fable-5-2$3.20$16.00
Claude Haiku 4.5claude-haiku-4-5$0.397$1.98
Claude Haiku 5.5claude-haiku-5-5$0.022$0.110
Claude Opus 4.6claude-opus-4-6$1.12$5.62
Claude Opus 4.7claude-opus-4-7$1.12$5.62
Claude Opus 4.8claude-opus-4-8$1.12$5.62
Claude Opus 5claude-opus-5$1.12$5.62
Claude Opus 5.5claude-opus-5-5$0.900$4.50
Claude Sonnet 4.6claude-sonnet-4-6$0.675$3.37
Claude Sonnet 5claude-sonnet-5$0.450$2.25
Claude Sonnet 5.5claude-sonnet-5-5$0.854$4.27

Anthropic API docs

Comparing models and price tiers?

See live prices for every model

Claude Fable 5.1 FAQ

How is Claude Fable 5.1 billed?

By input and output tokens at the per-1M rates above; cached input uses its published rate when available. See the failed-request question below for the refund rule.

Is it OpenAI-compatible?

Yes. Point the OpenAI SDK at the gateway base URL, replace the model id, and keep the rest of your request unchanged.

How do I get an API key?

Sign up, then create an API key in your console. One API key can call every model on the gateway.

Is there a free trial for the Claude Fable 5.1 API?

Yes. Sign in with Google using a Gmail address and $0.20 of trial credit is added to your balance, no card needed, once per person. It works on claude-fable-5-1 and every other model. Output is capped at 16k tokens per request during the trial.

Can I stream responses?

Yes. Set stream: true; for Chat Completions, also send stream_options.include_usage = true to receive usage in the final event.

What if a request fails?

You are not billed for failed or errored calls. Retry, and if it keeps failing, contact us via the live chat at the bottom right of the page.