Claude Sonnet 5 API
The everyday production model and the most-called model on this gateway: strong coding at a third of Opus pricing, with a 1M-token context window.
Searching for the Claude Sonnet API? Claude Sonnet 5 is the current Claude Sonnet release — same endpoint and key across every version, so code written for the Claude Sonnet API works unchanged when new versions ship.
Pricing
| Official | AI Prime Tech | You save | |
|---|---|---|---|
| Input (per 1M tokens) | $2 | $0.2 | 90% OFF |
| Output (per 1M tokens) | $10 | $1 |
Pay-as-you-go, no subscription. Prompt caching and batch discounts apply on top where supported.
Best for
- Day-to-day coding and refactoring
- Claude Code, Cursor and Cline sessions
- Content and document work
- High-volume production traffic
Specifications
| Release | 2026 |
| Context window | 1M tokens |
| Vision | Yes |
| Tool use | Yes |
| Model ID | claude-sonnet-5 |
Quick start
Use your existing SDK — just point it at our gateway and use model ID claude-sonnet-5:
export ANTHROPIC_BASE_URL=https://aiprimetech.io
export ANTHROPIC_AUTH_TOKEN=sk-your-key-here
Works with Claude Code, Cursor, Cline, Aider, and the official Anthropic / OpenAI SDKs. See the 60-second setup guide.
Instant API key, pay-as-you-go, crypto accepted. 90% below official pricing.
Get Your API Key →All models: Claude Fable 5.1 · Claude Opus 5 · Claude Fable 5 · Claude Opus 4.8 · Claude Sonnet 4.6 · Claude Haiku 4.5 · Claude 1M Context · GPT-5.5 · GPT-5 · Gemini 3 Pro · Gemini 3 Flash · MiniMax M3