Models / Anthropic

Model vendor

Anthropic

Anthropic builds the Claude family — frontier reasoning models known for long context, tool use and Claude Code.

23Models routed
−44%Average vs list price
2Channels serving Anthropic

Anthropic models on MirAPI

ModelTypeContextInputOutputCache r / wOff listChannels
Claude Opus 5 (Fast)newText1M$10.00$50.00 / soon
Claude Opus 4.7 (Fast)newText1M$30.00$150.00 / soon
Claude Opus 4.8 (Fast)newText1M$10.00$50.00 / soon
Claude Opus 4.5Text200K$5.00$25.00 / soon
Claude Haiku 4.5Text200K$1.00$5.00 / soon
Claude Sonnet 4.5Text1M$3.00$15.00 / soon
Claude Opus 4.1Text200K$15.00$75.00 / soon
Claude Opus 4Text200K$15.00$75.00 / soon
Claude Sonnet 4Text1M$3.00$15.00 / soon
Claude 3 HaikuText200K$0.25$1.25 / soon
Browse the full catalogue
Migration

Native Anthropic protocol — Claude Code included

Claude models are served over the native /v1/messages endpoint, so the Anthropic SDK and Claude Code connect with two environment variables. The OpenAI-compatible endpoint works too.

Endpoints
/v1/messagesAnthropic-native (Claude Code compatible)
/v1/chat/completionsChat & tool calls
import os
import anthropic

client = anthropic.Anthropic(
    base_url="https://api.mirapi.ai",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

msg = client.messages.create(
    model="anthropic/claude-opus-4.8",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)

One key covers Anthropic and 10 more vendors.

1M free tokens to start. No card required.