Skip to content
Anthropic0.175× of list price

Claude Sonnet 5

claude-sonnet-5

Frontier coding and agent performance at roughly half the Opus price, the sensible default for everyday work. 1M context, adaptive thinking, strong tool use.

Pricing

USD per million tokens
TypeTokenArmyList price
Input$0.525$3.00
Output$2.63$15.00
Cache read$0.052$0.300
Cache write (1 hour)$1.05$6.00

Cache writes are billed at the 1-hour tier (2 × input).

Minimum $0.0005 per request; failed requests are free.

Specs

Context
1M
Max output
128K
Capabilities
TextTool useReasoning
Endpoints
POST /v1/messages · Anthropic
POST /v1/chat/completions · OpenAI-compatible

Cost examples

  • A chat turn (2,000 in / 500 out)≈ $0.0024
  • A coding turn (60,000 in / 4,000 out)≈ $0.042
  • Long-document Q&A (200,000 in / 2,000 out)≈ $0.110

Examples

curl https://tokenarmy.shop/v1/messages \
  -H "x-api-key: $TOKENARMY_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'