All models

Sonnet 5.5

The current Sonnet: the workhorse of an agent session.

Pricing, per million tokens

Input
$1.20
Output
$6.00
Cache write
$1.50
Cache read
$0.12

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-5-5 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