# Grok 4.7 API pricing

Grok 4.7 is one of xAI's newest models. It costs $2 per million tokens it reads and $6 per million it writes, $3 on a mix of 3 read for each 1 written. Below are every price xAI lists for it, what 8 everyday jobs cost a month on it, and the models that do as well for less.

- Page: https://tecyfy.com/prices/grok-4-7
- Maker: xAI

## Price per million tokens, in US dollars

| | Price |
| --- | --: |
| Input | $2 |
| Cached input | $0.50 |
| Cache write | not listed |
| Output | $6 |
| Blend, 3 read for each 1 written | $3 |
| Batch input | not listed |
| Batch output | not listed |
| Long prompt input (over 200K tokens) | $4 |
| Long prompt output | $12 |
| Context window, tokens | 500K |
| Longest answer, tokens | not listed |
| Capability score (Epoch Capabilities Index; GPT-5 is 150) | 154 |

## What 8 everyday jobs cost a month

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

| Job | Tokens in, out, runs a day | A run | A month |
| --- | --- | --: | --: |
| A chat question | 300, 500, 100 | 0.36 cents | $10.80 |
| A hard question, with thinking | 300, 1,400, 100 | 0.9 cents | $27.00 |
| A long report, summarised | 60,000, 2,000, 20 | 13 cents | $79.20 |
| A 40-turn agent task | 2,800,000, 40,000, 10 | $2.06 | $618 |
| A support bot's reply | 4,000, 300, 2,000 | 0.68 cents | $408 |
| Sort a message into a category | 250, 5, 50,000 | 0.053 cents | $795 |
| Read an invoice into fields | 1,500, 250, 1,000 | 0.45 cents | $135 |
| Review a pull request | 25,000, 4,500, 50 | 7.7 cents | $116 |

## Cheaper models that score as well as Grok 4.7

- [Claude Haiku 5.5](https://tecyfy.com/prices/claude-haiku-5-5.md), Anthropic: $0.20 per million at 3:1, score 159
- [GPT-6 Luna](https://tecyfy.com/prices/gpt-6-luna.md), OpenAI: $0.20 per million at 3:1, score 156
- [DeepSeek V4.1 Flash](https://tecyfy.com/prices/deepseek-flash.md), DeepSeek: $0.525 per million at 3:1, score 156
- [Gemini 3.8 Flash](https://tecyfy.com/prices/gemini-3-8-flash.md), Google: $1.50 per million at 3:1, score 157

## Questions

### How much does Grok 4.7 cost?

Grok 4.7 costs $2 per million input tokens, the text it reads, and $6 per million output tokens, the text it writes, thinking included. On a mix of 3 tokens read for each 1 written, that is $3 per million.

### How much does cached input cost on Grok 4.7?

Text Grok 4.7 reads again from the cache costs $0.50 per million tokens, against $2 the first time. xAI lists no separate price for writing to the cache.

### Does Grok 4.7 have a batch price?

Not on xAI's price page, which lists no batch price for Grok 4.7. The cache still lowers the price of text it reads again.

### Does a long prompt cost more on Grok 4.7?

Yes. Once a prompt passes 200K tokens, the whole request costs $4 per million tokens read and $12 per million written, against $2 and $6 below that.

### How good is Grok 4.7?

Grok 4.7 scores 154 on the Epoch Capabilities Index, an independent score from Epoch AI that combines over 50 benchmarks, with a range of doubt from 153 to 156 (GPT-5 is 150). One score is an average; test it on 10 tasks of your own.

### Is there a cheaper model as good as Grok 4.7?

Claude Haiku 5.5 from Anthropic scores 159 on the Epoch Capabilities Index, about as well or better, and costs $0.20 per million on a mix of 3 tokens read for each 1 written: Grok 4.7 costs 15 times as much. Test both on your own work before you switch.

### Where does Grok 4.7 rank on price?

Grok 4.7 is the 8th cheapest of the 16 newest models we list, by the price of 3 tokens read for each 1 written.

### What does a support bot cost a month on Grok 4.7?

At 2,000 replies a day, each reading 4,000 tokens (50 percent of them from cache) and writing 300, a support bot costs 0.68 cents a reply on Grok 4.7, $408 a month.

### What does an AI agent task cost on 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 $2.06 on Grok 4.7. At 10 tasks a day that is $618 a month.

## Sources

- [xAI: API prices](https://docs.x.ai/docs/models)
- [Epoch Capabilities Index, by Epoch AI (CC BY 4.0)](https://epoch.ai/benchmarks/eci)
- Every model's prices as [JSON](https://tecyfy.com/prices.json) or [CSV](https://tecyfy.com/prices.csv), free to use

## Compare

- [Grok 4.6 vs Grok 4.7](https://tecyfy.com/prices/compare/grok-4-6-vs-grok-4-7.md)
- [Grok 4.5 vs Grok 4.7](https://tecyfy.com/prices/compare/grok-4-5-vs-grok-4-7.md)
- [Grok 4.3 vs Grok 4.7](https://tecyfy.com/prices/compare/grok-4-3-vs-grok-4-7.md)
- [Grok 4.20 (reasoning) vs Grok 4.7](https://tecyfy.com/prices/compare/grok-4-20-0309-reasoning-vs-grok-4-7.md)
- [Grok 4.20 (non-reasoning) vs Grok 4.7](https://tecyfy.com/prices/compare/grok-4-20-0309-non-reasoning-vs-grok-4-7.md)
- [Grok 4.7 vs Grok Build 0.1](https://tecyfy.com/prices/compare/grok-4-7-vs-grok-build-0-1.md)
- [Grok 4.20 Multi-agent vs Grok 4.7](https://tecyfy.com/prices/compare/grok-4-20-multi-agent-0309-vs-grok-4-7.md)
- [GPT-6 Astra vs Grok 4.7](https://tecyfy.com/prices/compare/gpt-6-astra-vs-grok-4-7.md)

## xAI's other models

- [Grok 4.6](https://tecyfy.com/prices/grok-4-6.md)
- [Grok 4.5](https://tecyfy.com/prices/grok-4-5.md)
- [Grok 4.3](https://tecyfy.com/prices/grok-4-3.md)
- [Grok 4.20 (reasoning)](https://tecyfy.com/prices/grok-4-20-0309-reasoning.md)
- [Grok 4.20 (non-reasoning)](https://tecyfy.com/prices/grok-4-20-0309-non-reasoning.md)
- [Grok Build 0.1](https://tecyfy.com/prices/grok-build-0-1.md)
- [Grok 4.20 Multi-agent](https://tecyfy.com/prices/grok-4-20-multi-agent-0309.md)
