# Claude API for Sonnet, Opus and Fable.

> Use Claude Sonnet 5.5, Opus 5.5, Fable 5.1 and more with one Outrun key. Sonnet 5.5: $0.49 in, $0.40 on route 2. Opus 5.5: $2.24 in, $0.80 on route 2.

Every Claude model on one prepaid, OpenAI-compatible API key, up to 80% below Anthropic's list price and with no subscription. Claude Sonnet 5.5 costs $0.49 per 1M input tokens (75% below list), or $0.40 on route 2 (80% below), through the Anthropic Messages API or OpenAI Chat Completions.

[Try Claude in the Chat](https://outrun.to/chat/) [Get a key in Telegram](https://t.me/outrunAPI_Bot) [All Claude prices](https://outrun.to/claude-api#prices)

75%

below Anthropic's list output price **$2.45** vs $10.00

[Claude Sonnet 5.5](https://outrun.to/model/claude-sonnet-5-5) `claude-sonnet-5-5`

**$0.49** in / **$2.45** out per 1M tokens

Endpoint

/v1/messages

Also

/v1/chat/completions

Claude IDs

14

Input from

$0.02

Privacy

Zero at Outrun

**Is it the real Claude?** An open-source model detector checks Fable 5.1, Opus 5.5 and Sonnet 5 through our public API. [See every result](https://outrun.to/transparency).

## How much does the Claude API cost on Outrun?

Claude input prices on Outrun range from $0.02 to $6.30 per 1M tokens across 14 model IDs. Every ID is billed per token from prepaid USD credit.

Up to 80% below Anthropic's list price

USD per 1M tokens

7 models

| Model | Input | Output | Cached input | Anthropic list in / out | You save |
| --- | --- | --- | --- | --- | --- |
| [Claude Haiku 5.5](https://outrun.to/model/claude-haiku-5-5) `claude-haiku-5-5` up to 100k tokens | $0.09 | $0.42 | $0.01 | $0.10 / $0.50 | 16% |
| Claude Haiku 5.5, over 100k tokens | $0.42 | $2.10 | $0.05 |  |  |
| Route 2 of Claude Haiku 5.5: `claude-haiku-5-5-2` [Route 2](https://outrun.to/model/claude-haiku-5-5#route-2) Lowest price | $0.02 | $0.10 | $0.01 | $0.10 / $0.50 | 80% |
| [Claude Sonnet 5.5](https://outrun.to/model/claude-sonnet-5-5) `claude-sonnet-5-5` | $0.49 | $2.45 | $0.03 | $2.00 / $10.00 | 75% |
| Route 2 of Claude Sonnet 5.5: `claude-sonnet-5-5-2` [Route 2](https://outrun.to/model/claude-sonnet-5-5#route-2) | $0.40 | $2.00 | $0.02 | $2.00 / $10.00 | 80% |
| [Claude Sonnet 5](https://outrun.to/model/claude-sonnet-5) `claude-sonnet-5` | $1.12 | $5.60 | $0.12 | $2.00 / $10.00 | 44% |
| Route 2 of Claude Sonnet 5: `claude-sonnet-5-2` [Route 2](https://outrun.to/model/claude-sonnet-5#route-2) | $0.40 | $2.00 | $0.04 | $2.00 / $10.00 | 80% |
| [Claude Opus 5.5](https://outrun.to/model/claude-opus-5-5) `claude-opus-5-5` | $2.24 | $11.20 | $0.12 | $4.00 / $20.00 | 44% |
| Route 2 of Claude Opus 5.5: `claude-opus-5-5-2` [Route 2](https://outrun.to/model/claude-opus-5-5#route-2) | $0.80 | $4.00 | $0.04 | $4.00 / $20.00 | 80% |
| [Claude Opus 5](https://outrun.to/model/claude-opus-5) `claude-opus-5` | $3.15 | $15.75 | $0.32 | $5.00 / $25.00 | 37% |
| Route 2 of Claude Opus 5: `claude-opus-5-2` [Route 2](https://outrun.to/model/claude-opus-5#route-2) | $1.00 | $5.00 | $0.10 | $5.00 / $25.00 | 80% |
| [Claude Fable 5](https://outrun.to/model/claude-fable-5) `claude-fable-5` | $5.60 | $28.00 | $0.56 | $10.00 / $50.00 | 44% |
| Route 2 of Claude Fable 5: `claude-fable-5-2` [Route 2](https://outrun.to/model/claude-fable-5#route-2) | $2.00 | $10.00 | $0.20 | $10.00 / $50.00 | 80% |
| [Claude Fable 5.1](https://outrun.to/model/claude-fable-5-1) `claude-fable-5-1` | $6.30 | $31.50 | $0.16 | $10.00 / $50.00 | 37% |
| Route 2 of Claude Fable 5.1: `claude-fable-5-1-2` [Route 2](https://outrun.to/model/claude-fable-5-1#route-2) | $2.00 | $10.00 | $0.05 | $10.00 / $50.00 | 80% |

Claude Sonnet 5.5 costs **$0.49** in and **$2.45** out per 1M tokens on Outrun. Anthropic's [pricing page](https://platform.claude.com/docs/en/about-claude/pricing) lists it at $2.00 in and $10.00 out. Claude Opus 5.5 is 44% lower ($2.24 / $11.20 against $4.00 / $20.00) and Claude Fable 5.1 is 37% lower ($6.30 / $31.50 against $10.00 / $50.00). List price checked October 22, 2026.

Rates are per 1M tokens, shown rounded up to the cent; billing uses the exact rate. Rows marked Route 2 are the same model from an alternative source, at a lower price, selected by its own model ID. Cache-write charges are not shown here; the [model docs](https://outrun.to/docs/models) list them. The [pricing page](https://outrun.to/pricing) lists 101 models.

## Which Claude model ID should I use?

Start with `claude-sonnet-5-5`. Each model also has a lower-cost route 2 ID ending in `-2`, the same model from an alternative source, selected by its own ID. `claude-haiku-5-5-2` is the lowest-priced Claude ID on Outrun. The Claude Code setup guide defaults to `claude-opus-5-5`, and `claude-fable-5-1` is the highest-priced ID.

in / out per 1M tokens

1. Lowest price
  `claude-haiku-5-5-2`[Claude Haiku 5.5, route 2](https://outrun.to/model/claude-haiku-5-5#route-2)
  **$0.02** / $0.10
2. Start here
  `claude-sonnet-5-5`[Claude Sonnet 5.5](https://outrun.to/model/claude-sonnet-5-5)
  **$0.49** / $2.45
3. Claude Code's default model
  `claude-opus-5-5`[Claude Opus 5.5](https://outrun.to/model/claude-opus-5-5)
  **$2.24** / $11.20
4. The highest-priced Claude
  `claude-fable-5-1`[Claude Fable 5.1](https://outrun.to/model/claude-fable-5-1)
  **$6.30** / $31.50

[Try Claude in the Chat](https://outrun.to/chat/) [Get a key in Telegram](https://t.me/outrunAPI_Bot)

## How do I call the Claude API through Outrun?

Claude models on Outrun work with the Anthropic Messages API, so the Anthropic SDKs and Claude Code connect directly. They also answer OpenAI Chat Completions requests. To see what a day of Claude Code would cost here, paste your usage into the [Claude Code cost calculator](https://outrun.to/claude-code-cost).

1. 1
  ### Get your key
  Open the Telegram bot and copy your personal key. It works for Claude and every other Outrun model.
2. 2
  ### Set the base URL
  Use `https://api.outrun.to` with the Anthropic SDKs and Claude Code, with no `/v1`. Apps that use the OpenAI format take `https://api.outrun.to/v1`.
3. 3
  ### Send a Claude model ID
  Put the full ID, such as `claude-sonnet-5-5`, in the `model` field.

Keep your key in an environment variable, never in client-side code.

POST **/v1/messages**

```
curl https://api.outrun.to/v1/messages \
  -H "x-api-key: $OUTRUN_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "max_tokens": 256,
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
```

```
import os
from anthropic import Anthropic

client = Anthropic(base_url="https://api.outrun.to",
                   api_key=os.environ["OUTRUN_API_KEY"])

reply = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=256,
    messages=[{"role": "user", "content": "Hello!"}])
print(reply.content[0].text)
```

```
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://api.outrun.to",
  apiKey: process.env.OUTRUN_API_KEY,
});
const reply = await client.messages.create({
  model: "claude-sonnet-5-5",
  max_tokens: 256,
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.content[0].text);
```

Swap the model

Claude Sonnet 5.5in **$0.49**out **$2.45**cached **$0.03**per 1M tokens[All Claude prices](https://outrun.to/claude-api#prices)

**Claude Code**

```
# Add these lines to BOTH ~/.zshrc and ~/.bashrc (replace KEY with your own key).
# The base URL is the bare host: no /v1 at the end.
export ANTHROPIC_BASE_URL="https://api.outrun.to"
export ANTHROPIC_AUTH_TOKEN="KEY"
export ANTHROPIC_MODEL="claude-opus-5-5"
export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-5-5"
export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-5-5"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-5-5"
# Remove any older ANTHROPIC_API_KEY or ANTHROPIC_BASE_URL lines for another provider,
# then reload:
source ~/.zshrc 2>/dev/null || source ~/.bashrc
```

```
// Windows: %USERPROFILE%\.claude\settings.json  (merge, keep your other settings)
{
  "model": "claude-opus-5-5",
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.outrun.to",
    "ANTHROPIC_AUTH_TOKEN": "KEY",
    "ANTHROPIC_MODEL": "claude-opus-5-5",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5"
  }
}
// Remove any "ANTHROPIC_API_KEY" entry from this file.
```

install`npm install -g @anthropic-ai/claude-code`

## Does Outrun keep my Claude prompts?

No. Outrun does not store your prompts, images or outputs unless you choose to save them. This applies to every model, Claude included. For each request Outrun keeps only a usage record for billing: model, tokens and cost. API calls are never added to chat history.

**Request log**Outrun

promptnot stored

outputnot stored

model`claude-sonnet-5-5`kept

tokensin · outkept

costUSDkept

[How Outrun handles your prompts](https://outrun.to/uncensored#privacy)

## Claude API questions

The [model docs](https://outrun.to/docs/models) list every Claude ID with its current rate.

### Do I need an Anthropic account?

No. One Outrun key and one prepaid USD balance cover Claude and every other model on Outrun. You get the key from the Telegram bot, and eligible new accounts start with $0.10 in free credit.

### Is it the real Claude model?

Yes. Every rate on this page is for the exact model named. Outrun sends each request to the Claude model ID you choose and never reroutes it to a cheaper or different model behind the scenes.

### Can I try Claude for free?

Eligible new accounts start with $0.10 in free credit, enough for about 45 requests of 2,000 input and 500 output tokens on Claude Sonnet 5.5. The [Chat](https://outrun.to/chat/) also gives every account 10 free web searches a day.

## Keep exploring

- [OpenAI GPT 7 models · from $0.12](https://outrun.to/gpt-api)
- [Anthropic Claude 7 models · from $0.02](https://outrun.to/claude-api)
- [Google Gemini 4 models · from $0.32](https://outrun.to/gemini-api)
- [xAI Grok 1 model · from $0.42](https://outrun.to/grok-api)
- [DeepSeek 13 models · from $0.03](https://outrun.to/deepseek-api)
- [Zhipu GLM 8 models · from $0.05](https://outrun.to/glm-api)
- [Moonshot Kimi 2 models · from $0.54](https://outrun.to/kimi-api)
- [MiniMax 3 models · from $0.05](https://outrun.to/minimax-api)
- [Alibaba Qwen 5 models · from $0.10](https://outrun.to/qwen-api)
- [Inception 1 model · from $0.20](https://outrun.to/pricing#fam-inception)

- [All 124 prices](https://outrun.to/pricing)
- [Uncensored and abliterated models](https://outrun.to/uncensored)
- [Claude Code cost calculator](https://outrun.to/claude-code-cost)

## Try Claude in your browser.

**$0.10** free API credit for eligible new accounts

[Try Claude in the Chat](https://outrun.to/chat/) [Get a key in Telegram](https://t.me/outrunAPI_Bot)

Start with `claude-sonnet-5-5` **$0.49** in / **$2.45** out per 1M tokens

---
Source: https://outrun.to/claude-api
Outrun: https://outrun.to/ | API base: https://api.outrun.to/v1 | Prices (JSON): https://api.outrun.to/pricing | Docs: https://outrun.to/docs/
