1. Models & pricing
  2. Anthropic
  3. Claude Sonnet 4.5

Claude Sonnet 4.5 API

Anthropic's balanced model for coding and agents. Call it with Anthropic Messages or OpenAI Chat Completions, using the official model name. Context window 200K.

Quick start

from anthropic import Anthropic

client = Anthropic(base_url="https://api.airoutly.com")
msg = client.messages.create(
    model="claude-sonnet-4-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)

Pricing

Per 1M tokensAiroutlyOfficial
Input$2.16$2.16$1.62$3.00
Output$10.80$10.80$8.10$15.00
Cache read$0.22$0.22$0.165$0.30
Cache write (5 min)$2.70$2.70$2.025$3.75

Ends 2026-11-12 23:59 UTC; the struck-through price applies afterwards.

About this model on Airoutly

Which model ID do I send?
Send claude-sonnet-4-5, the same ID Anthropic uses.
Is prompt caching supported?
Yes. Cached input is billed at the cache-read price above.