Claude Opus 4.8 vs Grok 4.3: API Pricing
Input and output token rates, context windows, and real monthly cost for Claude Opus 4.8 (Anthropic) and Grok 4.3 (xAI), side by side. Prices are standard on-demand rates as of June 2026.
The short answer
For a typical coding-agent workload (60M in / 12M out per month), Grok 4.3 is the cheaper option at $105/mo versus $600/mo for Claude Opus 4.8 - about 83% less (5.7× cheaper). On the headline sticker of 1M input + 1M output, Claude Opus 4.8 is $30.00 and Grok 4.3 is $3.75.
Rates at a glance
| Claude Opus 4.8 | Grok 4.3 | |
|---|---|---|
| Input ($/1M tokens) | $5.00 | $1.25 |
| Output ($/1M tokens) | $25.00 | $2.50 |
| Blended (1M in + 1M out) | $30.00 | $3.75 |
| Context window | 1,000K | 1,000K |
| Type | Proprietary | Proprietary |
| Provider | Anthropic | xAI |
Monthly cost by workload
Estimated monthly API spend at each workload's token volume. Output usually costs several times input, so the winner can flip with your mix.
| Workload | Claude Opus 4.8 | Grok 4.3 | Cheaper |
|---|---|---|---|
| Chatbot / assistant10M in / 3M out | $125/mo | $20.00/mo | Grok 4.3 |
| Coding agent60M in / 12M out | $600/mo | $105/mo | Grok 4.3 |
| RAG / summarization40M in / 4M out | $300/mo | $60.00/mo | Grok 4.3 |
| Batch / classification20M in / 2M out | $150/mo | $30.00/mo | Grok 4.3 |
Want your own in/out split? Use the full interactive comparator to rank every model and provider for your exact workload.
Frequently asked questions
Is Claude Opus 4.8 or Grok 4.3 cheaper?
It depends on your input/output mix, but for a typical coding-agent workload (60M in / 12M out per month) Grok 4.3 costs $105/mo versus $600/mo for Claude Opus 4.8 - about 83% less (5.7x). On the headline sticker (1M input + 1M output), Claude Opus 4.8 is $30.00 and Grok 4.3 is $3.75.
What are the token rates for Claude Opus 4.8 and Grok 4.3?
Claude Opus 4.8 (Anthropic) is $5.00 per 1M input and $25.00 per 1M output. Grok 4.3 (xAI) is $1.25 per 1M input and $2.50 per 1M output. These are standard on-demand rates, not cached or batch.
Is Claude Opus 4.8 or Grok 4.3 open-weight?
Claude Opus 4.8 is proprietary and Grok 4.3 is proprietary. Both are closed models billed only through their owner's API.
What context window do Claude Opus 4.8 and Grok 4.3 support?
Claude Opus 4.8 supports 1,000K tokens and Grok 4.3 supports 1,000K tokens. Some models also step up pricing past a size threshold - check the source pricing pages for long-context tiers.
More pricing comparisons
Stay ahead of the AI tools curve
Picks, reviews, and automation tips every weekday. Free, no spam.