Which costs less, which holds more
List prices before batch or volume discounts. The cheapest model per token is not always the cheapest per job: a model that needs fewer attempts or shorter answers can cost less overall.
List prices before batch or volume discounts. The cheapest model per token is not always the cheapest per job: a model that needs fewer attempts or shorter answers can cost less overall.
| Provider | Anthropic | xAI |
| Class | Flagship | Flagship |
| Released | 22 Sep 26 | 21 Sep 26 |
| Input price | $4.00 | $2.00 |
| Output price | $20.00 | $6.00 |
| Cached input | $0.20 | $0.50 |
| Context window | 1M | 500K |
| Max output | 128K | — |
| Knowledge cutoff | Jun 26 | May 26 |
| Reads | Text, Images | Text, Images |
| Writes | Text | Text |
| Tool calling | Yes | Yes |
| Structured output | — | Yes |
| Reasoning | Always on | — |
| Open weights | No | — |
| Notes | Adaptive thinking is always on and cannot be turned off. Message Batches API supports up to 300K output tokens with the output-300k-2026-03-24 beta header. | Prompts of 200K tokens or more: $4 input / $12 output / $1 cached input per 1M, billed for all tokens in the request. Reasoning effort settable to low, medium, high (default) or xhigh. Prompts above 200K tokens are billed at higher rates. Release notes state 'no text output limit' (no token number given). |
| All prices | Claude API pricing → | Grok API pricing → |
| Source | platform.claude.com/docs/en/models/opus-5-5/overviewchecked 04 Dec 26 | docs.grok.com/docs/models/grok-4.7 (docs.x.ai redirects here)checked 04 Dec 26 |
"—" means the vendor's page does not state it, so we do not either. We do not publish benchmark scores: they come from the labs themselves and are rarely comparable across vendors.
Input and output tokens at list price, without prompt caching, batch discounts or free tiers.