Model details

claude-sonnet-4-5 API Model & Pricing

Call Claude claude-sonnet-4-5 via Infistar: inspect the exact model ID, declared endpoints (openai-response · anthropic · gemini), transparent CNY pricing, and ready-to-run examples.

Exact model IDclaude-sonnet-4-5

Endpoints and pricing

Model family

Claude

Compatible endpoint

openai-response · anthropic · gemini

Task type

text

Settlement

Settled by actual token usage

Lowest price (CNY)

Input ¥0.8572 / Output ¥4.2858 per 1M tokens, cache read ¥0.0858

Official reference price

Official: input ¥20.044 / output ¥100.2202

Estimated savings

Up to 95% below official reference (never above official pricing)

Quickstart API example

Call claude-sonnet-4-5 via POST /v1/messages using your Infistar API key:

curl https://infistar.ai/v1/messages \
  -H "x-api-key: $INFISTAR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-4-5","max_tokens":512,"messages":[{"role":"user","content":"Hello"}]}'
import anthropic

client = anthropic.Anthropic(api_key="YOUR_INFISTAR_KEY", base_url="https://infistar.ai")
msg = client.messages.create(model="claude-sonnet-4-5", max_tokens=512, messages=[{"role": "user", "content": "Hello"}])
print(msg.content[0].text)

Before you use this model

Models and prices may change. Sign in to check available models and review current pricing before calling.

Related models and guides