BYOK is live — 1,000,000 free BYOK requests every month, no top-up required Learn more →

claude-sonnet-5

claude-sonnet-5 is served by Anthropic (Claude) and available on BoostRail through the same OpenAI-compatible endpoint as every other model in the catalog. One key, per-token billing in USD, and no separate account with the provider.

Price

InputOutputCache read
$1.9$9.5$0.19

USD per 1M tokens

Cached input bills at 10% of the input price and cache writes carry no surcharge. The console shows the live price applied to each request, which prevails over any page.

Agent-verified: this model has passed an end-to-end agent test through the gateway with a real Claude Code client — tool calls, multi-turn tool history, and streaming.

Call it

Already using the OpenAI SDK? Change base_url and api_key, then set the model id. Nothing else in your code changes.

curl

curl https://api.boostrail.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"hello"}]}'

Use it in a coding agent

The model id goes wherever your tool takes a model name. Full per-tool configuration — Claude Code, Codex CLI, Cline, OpenCode, Continue, Aider — is on the coding tools page. Coding

If this is not the right fit

Switching model is a one-string change against the same key and endpoint.

Cheaper in the same family

claude-haiku-4.5 — Anthropic (Claude) · $0.95 / $4.75

Higher tier in the same family

claude-sonnet-4.5 — Anthropic (Claude) · $2.85 / $14.25

Closest price from another provider

gemini-3.1-pro-preview — Google (Gemini) · $1.9 / $11.4

FAQ

Do I need an account with the provider?

No. The gateway account covers every model in the catalog with one key and one bill. If you would rather run on your own provider account and contract price, BYOK does that while keeping the same integration.

Is there a rate limit or usage window?

There is no subscription time window and no per-tier throttle standing between your client and the model. Capacity protections exist for abuse, not to ration normal usage.

How current is the price on this page?

Prices are rebuilt from the production catalog whenever they change; the date at the bottom of the page is the last rebuild. The price applied to each request is always the one shown in the console.

Get your API key All models and prices Read the docs

Last updated: 2026-08-03