Skip to content
1折AI
Availableclaude-sonnet-4-5-20250929

Claude Sonnet 4.5

Input, output, cache read and cache write prices in USD per million tokens. Discounts apply to input and output; cache uses list prices.

1.9 /10 of list price

Discounted input/output; cache at list price

Prices

per million tokens,USD.

Input
$0.57
List price
$3.00x
Your price
$0.57x
Output
$2.85
List price
$15.00x
Your price
$2.85x
Cache read
$0.30

List price, no discount

Cache write
$3.75

List price, no discount

Cost of one Claude Code call

This is a cost example. Actual charges depend on usage.

One Claude Code call
200 · 1840 ms
modelclaude-sonnet-4-5-20250929
Input
34,120
Cache read
94,310
Cache write
2,048
Output
4,215
List price$0.2016
Your priceSave 67%$0.0674
Illustration, not a real call. Input/output: list price × 0.19000000000000003; cache at list price.
python
import anthropic

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

Supported APIs

APIPath
Anthropic Messages/v1/messages
Token count/v1/messages/count_tokens
OpenAI Chat Completions/v1/chat/completions
OpenAI Responses/v1/responses

Billing

Input and output use the model discount. Cache reads and writes use list prices. Each call is logged.