Home

/

Models

/

Claude Sonnet 4.5

Anthropic
Anthropic
Reasoning

Claude Sonnet 4.5

The previous-generation Sonnet flagship — excellent coding and agent capabilities. A great fit for teams with tight budgets that still need high-quality code output; the industry benchmark before 4.6.

Context window

200K

tokens

Max output

8K

tokens

Input price

$0.429 金币

/ 1M tokens

Output price

$2.143 金币

/ 1M tokens

Core capabilities

Code generation

Chain-of-thought reasoning

Vision understanding

Long context

Prompt caching

Recommended use cases

Everyday programming assistant

Code refactoring

API design

Quick start

Replace base_url and api_key below with your own to call Claude Sonnet 4.5. Fully OpenAI SDK compatible — no other code changes needed.

bash
curl https://api.piomodel.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-your-key" \
  -d '{
    "model": "claude-sonnet-4-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

FAQ

Q: How is Claude Sonnet 4.5 priced?

A: Pay per token: $0.429 金币/M input, $2.143 金币/M output. No monthly fee, no minimum spend. Credits never expire.

Q: How do I integrate Claude Sonnet 4.5? Any code changes?

A: Fully OpenAI-compatible — just swap base_url and api_key. Claude models also support the native Anthropic /v1/messages format. See the code snippets above.

Q: Is Claude Sonnet 4.5 stable through PioModel?

A: All requests go through our API gateway (api.piomodel.com) with optimized third-party backbone routing. Average latency under 200ms, reliable under any network condition.

Q: What use cases does Claude Sonnet 4.5 support?

A: Recommended: Everyday programming assistant、Code refactoring、API design. Compare with other models from the same provider for your specific needs.

Q: Does Claude Sonnet 4.5 have a free tier?

A: New users get free credits after email verification, ready for immediate API testing. Top up from $10 afterwards, pay as you go.

Get started with Claude Sonnet 4.5

Free credits on sign-up. Pay as you go. $10 minimum top-up, no expiration.