Anthropic Claude Sonnet Latest vs xAI: Grok Latest
They cost about the same for input tokens: Anthropic Claude Sonnet Latest $2.00 per M, xAI: Grok Latest $2.00 per M. xAI: Grok Latest is 1.7× cheaper for output tokens: Anthropic Claude Sonnet Latest costs $10.00 per M and xAI: Grok Latest costs $6.00 per M. Anthropic Claude Sonnet Latest reads more: Anthropic Claude Sonnet Latest takes up to 1,000,000 tokens of context and xAI: Grok Latest up to 500,000.
| Anthropic Claude Sonnet Latest | xAI: Grok Latest | |
|---|---|---|
| Model id | anthropic/claude-sonnet-latest | x-ai/grok-latest |
| Input | $2.00 per M | $2.00 per M |
| Output | $10.00 per M | $6.00 per M |
| Context length | 1,000,000 tokens | 500,000 tokens |
| Accepts | file, image, text | file, image, text |
| Produces | text | text |
| Served by | anthropic | xai |
Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.