# Claude Sonnet 5.5 vs Grok 4.7

Grok 4.7 is the cheaper of the 2: for the same tokens, 3 read for each 1 written, Claude Sonnet 5.5 costs 1.3 times as much. Below are both price lists, what 8 everyday jobs cost a month on each, and how many tokens the same text takes on each, which can change the answer.

- Page, with a calculator for your own job: https://tecyfy.com/prices/compare/claude-sonnet-5-5-vs-grok-4-7
- Makers: Claude Sonnet 5.5 from Anthropic, Grok 4.7 from xAI

## Price per million tokens, in US dollars

| | Claude Sonnet 5.5 | Grok 4.7 |
| --- | --: | --: |
| Input | $2 | $2 |
| Cached input | $0.10 | $0.50 |
| Cache write | $2.50 | not listed |
| Output | $10 | $6 |
| Blend, 3 read for each 1 written | $4 | $3 |
| Batch input | $1 | not listed |
| Batch output | $5 | not listed |
| Long prompt input (above 200K on Grok 4.7) | $2 | $4 |
| Long prompt output | $10 | $12 |
| Context window, tokens | 1M | 500K |
| Capability score (Epoch Capabilities Index; GPT-5 is 150) | 164 | 154 |
| Longest answer, tokens | 128K | not listed |

Price change, Claude Sonnet 5.5: Cached input went from $0.20 to $0.10 per million tokens. The price of a cache write did not change.

## The same text, counted by each maker

Our lesson "How AI writes" (https://tecyfy.com/learn/how-ai-works/how-ai-writes), about 1,700 words of English:

- Claude Sonnet 5.5: about 2,100 to 3,600 tokens. Anthropic does not publish its tokenizer. It says Claude 4.7 and later produce about 30 percent more tokens for the same text than earlier models, and an independent test counted TypeScript at 1.73 times OpenAI's figure. The range runs from OpenAI's count to 1.75 times it.
- Grok 4.7: about 2,100 tokens. xAI publishes neither its tokenizer nor a rule for estimating. The figure is OpenAI's o200k_base count, a rough guide only.

## What 8 everyday jobs cost a month on each

Each job at its usual runs a day, for 30 days, at the standard price.

| Job | Tokens in, out, runs a day | Claude Sonnet 5.5 | Grok 4.7 |
| --- | --- | --: | --: |
| A chat question | 300, 500, 100 | $16.80 | $10.80 |
| A hard question, with thinking | 300, 1,400, 100 | $43.80 | $27.00 |
| A long report, summarised | 60,000, 2,000, 20 | $84.00 | $79.20 |
| A 40-turn agent task | 2,800,000, 40,000, 10 | $364 | $618 |
| A support bot's reply | 4,000, 300, 2,000 | $432 | $408 |
| Sort a message into a category | 250, 5, 50,000 | $825 | $795 |
| Read an invoice into fields | 1,500, 250, 1,000 | $165 | $135 |
| Review a pull request | 25,000, 4,500, 50 | $143 | $116 |

## Questions

### Which is cheaper, Claude Sonnet 5.5 or Grok 4.7?

Grok 4.7 is cheaper: $2 per million tokens read and $6 per million written, against $2 and $10 on Claude Sonnet 5.5. On a mix of 3 tokens read for each 1 written, Claude Sonnet 5.5 costs 1.3 times as much.

### Which is better, Claude Sonnet 5.5 or Grok 4.7?

On the Epoch Capabilities Index, an independent score from Epoch AI that combines over 50 benchmarks, Claude Sonnet 5.5 scores 164 and Grok 4.7 154, above the top of the range of doubt around Grok 4.7's score (GPT-5 is 150). One score is an average; test both on your own work before you switch.

### What does a support bot cost a month on Claude Sonnet 5.5 and Grok 4.7?

At 2,000 replies a day, each reading 4,000 tokens (50 percent of them from cache) and writing 300, it costs $432 a month on Claude Sonnet 5.5 and $408 on Grok 4.7: Claude Sonnet 5.5 costs 1.1 times as much for this job.

### What does an AI agent task cost on Claude Sonnet 5.5 and Grok 4.7?

One 40-turn task that reads 2,800,000 tokens in all, 90 percent of them from cache, and writes 40,000, costs $1.21 on Claude Sonnet 5.5 and $2.06 on Grok 4.7. At 10 tasks a day that is $364 and $618 a month.

### Which has the larger context window, Claude Sonnet 5.5 or Grok 4.7?

Claude Sonnet 5.5, with 1M tokens against 500K on Grok 4.7. The window holds your instructions, the files you attach, the conversation so far and the answer, all at once.

### Does the same text take the same number of tokens on Claude Sonnet 5.5 and Grok 4.7?

No. Our lesson "How AI writes", 1,700 words long, is about 2,100 to 3,600 tokens on Claude Sonnet 5.5 and about 2,100 on Grok 4.7. Each maker cuts text its own way, and every extra token is paid for at the model's price.

### Can I pay less on Claude Sonnet 5.5 and Grok 4.7 for work that can wait?

On Claude Sonnet 5.5 only: with a batch, where you collect the answers later, it costs $1 per million tokens read and $5 written. xAI's price page lists no batch price for Grok 4.7.

## Sources

- [Anthropic: API prices](https://platform.claude.com/docs/en/about-claude/pricing)
- [xAI: API prices](https://docs.x.ai/docs/models)
- [Epoch Capabilities Index, by Epoch AI (CC BY 4.0)](https://epoch.ai/benchmarks/eci)

## Other comparisons

- [Claude Mythos 5.1 vs Claude Sonnet 5.5](https://tecyfy.com/prices/compare/claude-mythos-5-1-vs-claude-sonnet-5-5.md)
- [Claude Fable 5 vs Claude Sonnet 5.5](https://tecyfy.com/prices/compare/claude-fable-5-vs-claude-sonnet-5-5.md)
- [Claude Mythos 5 vs Claude Sonnet 5.5](https://tecyfy.com/prices/compare/claude-mythos-5-vs-claude-sonnet-5-5.md)
- [Claude Opus 5 vs Claude Sonnet 5.5](https://tecyfy.com/prices/compare/claude-opus-5-vs-claude-sonnet-5-5.md)
- [Claude Opus 4.8 vs Claude Sonnet 5.5](https://tecyfy.com/prices/compare/claude-opus-4-8-vs-claude-sonnet-5-5.md)
- [Claude Opus 4.7 vs Claude Sonnet 5.5](https://tecyfy.com/prices/compare/claude-opus-4-7-vs-claude-sonnet-5-5.md)
