aiapicompareaiapicompare
aiapicompare › All models › Claude Sonnet 4.5

Claude Sonnet 4.5: API pricing compared

Claude Sonnet 4.5 is available from 3 provider(s). Cheapest: CometAPI at $3.00 per 1M input tokens and $15.00 per 1M output tokens. Context window: up to 1 000 000 tokens. Developer: Anthropic.

Strengths in the Arena leaderboard

🏆 Rank 31 · Creative writing🏆 Rank 38 · Coding🏆 Rank 44 · Instruction following

Rankings: Arena (arena.ai, formerly LMArena), dataset lmarena-ai/leaderboard-dataset, licensed under CC BY 4.0, as of 2026-11-23. Excerpt; variants with different reasoning effort merged and matched to our prices by aiapicompare. Not affiliated with Arena and not a recommendation.

ProviderInput $/1MOutput $/1MContext
CometAPI
claude-sonnet-4-5
$3.00$15.00200KGo to provider ↗ Set up
NanoGPT
anthropic/claude-sonnet-4.5
$3.00$15.00200KGo to provider ↗ Set up
OpenRouter
anthropic/claude-sonnet-4.5
$3.00$15.001MGo to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

Reference price: $3.00 / $15.00 per 1M tokens (input / output), OpenRouter – for this model usually the vendor's list price · How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with CometAPI

from openai import OpenAI
import os

client = OpenAI(base_url="https://api.cometapi.com/v1", api_key=os.environ["COMETAPI_KEY"])
r = client.chat.completions.create(
    model="claude-sonnet-4-5",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is Claude Sonnet 4.5 cheapest?

Currently at CometAPI ($3.00 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use Claude Sonnet 4.5 in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Anthropic

Claude Sonnet 5.5Claude Sonnet 4.6Claude Sonnet 5Claude Opus 4.7Claude Opus 5Claude Fable 5Claude Opus 4.8Claude Opus 5.5Claude Fable 5.1Claude Haiku 5.5Claude Opus 4.6Claude Haiku 4.5