LLM API
Model provider17 modelsPrivacy policy

Anthropic

Anthropic serves 17 text models on LLM API, all from 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

Text models on Anthropic and their prices on LLM API
AnthropicClaude Fable 5.2anthropic/claude-fable-5-2$8$40$0.21M
AnthropicClaude Opus 5.5anthropic/claude-opus-5-5$4$20$0.21M
AnthropicClaude Sonnet 5.5anthropic/claude-sonnet-5-5$2$10$0.11M
AnthropicClaude Haiku 5.5anthropic/claude-haiku-5-5$0.1$0.5$0.011M
AnthropicClaude Fable 5.1anthropic/claude-fable-5-1$10$50$0.251M
AnthropicClaude Opus 5anthropic/claude-opus-5$5$25$0.51M
AnthropicClaude Fable 5anthropic/claude-fable-5$10$50$11M
AnthropicClaude Opus 4.8anthropic/claude-opus-4-8$5$25$0.51M
AnthropicClaude Opus 4.7anthropic/claude-opus-4-7$5$25$0.51M
AnthropicClaude Sonnet 4.6anthropic/claude-sonnet-4-6$3$15$0.31M
AnthropicClaude Opus 4.6anthropic/claude-opus-4-6$5$25$0.51M
AnthropicClaude Opus 4.5anthropic/claude-opus-4-5-20251101$5$25$0.5200K
AnthropicClaude Haiku 4.5anthropic/claude-haiku-4-5$1$5$0.1200K
AnthropicClaude Haiku 4.5 (2025-10-01)anthropic/claude-haiku-4-5-20251001$1$5$0.1200K
AnthropicClaude Sonnet 4.5 (2025-09-29)anthropic/claude-sonnet-4-5-20250929$3$15$0.3200K
AnthropicClaude Sonnet 4.5anthropic/claude-sonnet-4-5$3$15$0.3200K
AnthropicClaude Sonnet 5anthropic/claude-sonnet-5$2$10$0.21M

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

Example: Claude Fable 5.2

POST /v1/messagesSet LLMAPI_KEY to your LLM API key.Anthropic Messages docs

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 November 13, 2026.

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up