Claude models and API prices
This page lists all Anthropic models you can call with one relay.fast key. The tables are built from the live catalog, so the prices and the model list are current.
Claude API prices
Prices checked from the live catalog. "From" is the lowest price among the relay.fast sources that currently serve the model. The price you pay depends on the source your request uses and can change on any day. The pricing page always shows current values.
| Model | Model ID | Official input / output per 1M tokens | relay.fast from, input / output | Cache read from | Context |
|---|---|---|---|---|---|
| Claude Fable 5 | claude-fable-5 | $10 / $50 | $1.19 / $5.95 (−88%) | $0.119 | 1M |
| Claude Fable 5.1 | claude-fable-5-1 | $10 / $50 | $2.23 / $11.16 (−77%) | $0.0558 | 1M |
| Claude Fable 5.2 | claude-fable-5-2 | $8 / $40 | $1.79 / $8.93 (−77%) | $0.0446 | 1M |
| Claude Haiku 4.5 | claude-haiku-4-5 | $1 / $5 | $0.223 / $1.12 (−77%) | $0.0223 | 200K |
| Claude Haiku 5.5 requests above 100K input tokens cost more | claude-haiku-5-5 | $0.1 / $0.5 | $0.0223 / $0.112 (−77%) | $0.00223 | 1M |
| Claude Opus 4.6 | claude-opus-4-6 | $5 / $25 | $0.595 / $2.98 (−88%) | $0.0595 | 1M |
| Claude Opus 4.7 | claude-opus-4-7 | $5 / $25 | $1.12 / $5.58 (−77%) | $0.112 | 1M |
| Claude Opus 4.8 | claude-opus-4-8 | $5 / $25 | $0.595 / $2.98 (−88%) | $0.0595 | 1M |
| Claude Opus 5 | claude-opus-5 | $5 / $25 | $0.595 / $2.98 (−88%) | $0.0595 | 1M |
| Claude Opus 5.5 | claude-opus-5-5 | $4 / $20 | $0.476 / $2.38 (−88%) | $0.0238 | 1M |
| Claude Sonnet 4.6 | claude-sonnet-4-6 | $3 / $15 | $0.108 / $0.54 (−96%) | $0.0108 | 1M |
| Claude Sonnet 5 | claude-sonnet-5 | $3 / $15 | $0.357 / $1.79 (−88%) | $0.0357 | 1M |
| Claude Sonnet 5.5 | claude-sonnet-5-5 | $2 / $10 | $0.238 / $1.19 (−88%) | $0.0238 | 1M |
Specifications
Release month, limits and features are as published by Anthropic.
| Model | Released | Context | Max output | Input | Features |
|---|---|---|---|---|---|
| Claude Fable 5 | June 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Fable 5.1 | September 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Fable 5.2 | November 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Haiku 4.5 | October 2025 | 200K | 64K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Haiku 5.5 | October 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Opus 4.6 | February 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Opus 4.7 | April 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Opus 4.8 | May 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Opus 5 | July 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Opus 5.5 | September 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Sonnet 4.6 | February 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Sonnet 5 | June 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
| Claude Sonnet 5.5 | September 2026 | 1M | 128K | text, images, files | tool calling, reasoning, structured output, image input, prompt caching |
Example request
Keep the key in the RELAY_FAST_API_KEY environment variable. Any model ID from the table works in the same request.
curl https://relay.fast/v1/messages \
-H "x-api-key: $RELAY_FAST_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"claude-fable-5","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'How to connect
Create a relay.fast account, add funds and generate an API key. OpenAI-compatible clients use the base URL https://relay.fast/v1. Anthropic-compatible clients use https://relay.fast with the Messages API. Requests are charged to your balance for the tokens or units they use.
There are setup guides for the coding tools Claude Code, Codex, Cursor, Cline and OpenCode. Each model name in the tables links to its own page with prices, limits and an example request.
How pricing works
The official price is the list price published by Anthropic. The relay.fast price depends on the source a request uses, and the tables show the lowest current price. Prices and the model list can change at any time, so check the pricing page before you plan a budget.
Frequently asked questions
Do I need an account with Anthropic to use Claude models here?
No. You use a relay.fast account and API key. relay.fast is an independent API gateway and is not affiliated with Anthropic.
Can I keep my existing SDK or coding tool?
Yes, if it lets you set a custom base URL and key. Point it at relay.fast and pick a model ID from the tables.
Where is the full list of models and prices?
The pricing page at https://relay.fast/pricing lists every model. The same data is available as JSON at https://relay.fast/pricing.json.