# Anthropic

Anthropic serves 17 text models on LLM API, all from Anthropic.

Model ID prefix: `anthropic/` · 17 models · [Anthropic privacy policy](https://www.anthropic.com/legal/privacy)
Updated: 2026-11-11
Canonical: https://llmapi.ai/providers/anthropic/

Anthropic is the AI safety company that builds the Claude family of models. Through LLM API you call Claude with the same OpenAI-compatible key you use for every other provider.

## Models and prices

Prices when Anthropic serves the request.

### Text (17)

Prices per 1M tokens.

| Model | Model ID | Input | Output | Cache read | Context |
| --- | --- | --- | --- | --- | --- |
| [Claude Fable 5.2](https://llmapi.ai/models/claude-fable-5-2/) | `anthropic/claude-fable-5-2` | $8 | $40 | $0.2 | 1M |
| [Claude Opus 5.5](https://llmapi.ai/models/anthropic-claude-opus-5-5/) | `anthropic/claude-opus-5-5` | $4 | $20 | $0.2 | 1M |
| [Claude Sonnet 5.5](https://llmapi.ai/models/claude-sonnet-5-5/) | `anthropic/claude-sonnet-5-5` | $2 | $10 | $0.1 | 1M |
| [Claude Haiku 5.5](https://llmapi.ai/models/claude-haiku-5-5/) | `anthropic/claude-haiku-5-5` | $0.1 | $0.5 | $0.01 | 1M |
| [Claude Fable 5.1](https://llmapi.ai/models/anthropic-claude-fable-5-1/) | `anthropic/claude-fable-5-1` | $10 | $50 | $0.25 | 1M |
| [Claude Opus 5](https://llmapi.ai/models/anthropic-claude-opus-5/) | `anthropic/claude-opus-5` | $5 | $25 | $0.5 | 1M |
| [Claude Fable 5](https://llmapi.ai/models/anthropic-claude-fable-5/) | `anthropic/claude-fable-5` | $10 | $50 | $1 | 1M |
| [Claude Opus 4.8](https://llmapi.ai/models/anthropic-claude-opus-4-8/) | `anthropic/claude-opus-4-8` | $5 | $25 | $0.5 | 1M |
| [Claude Opus 4.7](https://llmapi.ai/models/anthropic-claude-opus-4-7/) | `anthropic/claude-opus-4-7` | $5 | $25 | $0.5 | 1M |
| [Claude Sonnet 4.6](https://llmapi.ai/models/anthropic-claude-sonnet-4-6/) | `anthropic/claude-sonnet-4-6` | $3 | $15 | $0.3 | 1M |
| [Claude Opus 4.6](https://llmapi.ai/models/anthropic-claude-opus-4-6/) | `anthropic/claude-opus-4-6` | $5 | $25 | $0.5 | 1M |
| [Claude Opus 4.5](https://llmapi.ai/models/claude-opus-4-5-20251101/) | `anthropic/claude-opus-4-5-20251101` | $5 | $25 | $0.5 | 200K |
| [Claude Haiku 4.5](https://llmapi.ai/models/anthropic-claude-haiku-4-5/) | `anthropic/claude-haiku-4-5` | $1 | $5 | $0.1 | 200K |
| [Claude Haiku 4.5 (2025-10-01)](https://llmapi.ai/models/anthropic-claude-haiku-4-5-20251001/) | `anthropic/claude-haiku-4-5-20251001` | $1 | $5 | $0.1 | 200K |
| [Claude Sonnet 4.5 (2025-09-29)](https://llmapi.ai/models/anthropic-claude-sonnet-4-5-20250929/) | `anthropic/claude-sonnet-4-5-20250929` | $3 | $15 | $0.3 | 200K |
| [Claude Sonnet 4.5](https://llmapi.ai/models/anthropic-claude-sonnet-4-5/) | `anthropic/claude-sonnet-4-5` | $3 | $15 | $0.3 | 200K |
| [Claude Sonnet 5](https://llmapi.ai/models/anthropic-claude-sonnet-5/) | `anthropic/claude-sonnet-5` | $2 | $10 | $0.2 | 1M |

**Volume pricing.** At higher monthly volume, models on Anthropic may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Send requests to Anthropic

Put `anthropic/` before a model ID and the request goes to Anthropic. If Anthropic’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends `X-No-Fallback: true`. [Routing docs](https://docs.llmapi.ai/features/routing)

Example: Claude Fable 5.2, Anthropic Messages (`POST /v1/messages`). Set LLMAPI_KEY to your LLM API key.

```python
import os

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.llmapi.ai",
    api_key=os.environ["LLMAPI_KEY"],
)

message = client.messages.create(
    model="anthropic/claude-fable-5-2",
    max_tokens=16000,
    messages=[{"role": "user", "content": "Hello"}],
)
for block in message.content:
    if block.type == "text":
        print(block.text)
```

Prices synced 2026-11-13.

Next step: [Get API key](https://app.llmapi.ai/signup)
