All models

Sonnet 4.6

An earlier Sonnet generation, at its own rate.

Pricing, per million tokens

Input
$1.80
Output
$9.00
Cache write
$2.25
Cache read
$0.18

Four counters, each at its own rate: input, output, cache write and cache read. The same numbers are returned by the catalogue route of the API.

How to call it

Send anthropic/claude-sonnet-4-6 in the model field of a request to https://api.gtokens.io/api/v1/chat/completions from an OpenAI-compatible client, or to https://api.gtokens.io/v1/messages from a Messages API client. The same model answers on both, with tool calls and streaming.

Quickstart with code samples

All models and pricing