# Grok 4.7 Usage, Cost & Rank | OpenCode Data

> Grok 4.7 ranked #38 by tokens across OpenCode last week, with 0.0% of tokens over the past two months. Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens.

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects

- Page: https://opencode.ai/data/xai/grok-4-7
- JSON: https://opencode.ai/data/xai/grok-4-7.json
- Model ID: xai/grok-4.7
- Lab: xAI
- Updated: 2026-11-14T14:14:59.000Z

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 500K |
| Max output | 500K |
| Knowledge cutoff | 2026-05 |
| Release date | 2026-09-21 |
| Input modalities | text, image, pdf |
| Output modalities | text |
| Reasoning | Yes |
| Tool calling | Yes |
| Open weights | No |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $2.00 | $6.00 | $0.50 | - |

## OpenCode usage: past 2 months

| Metric | Value |
| --- | --- |
| Rank by tokens last week | #38 |
| Tokens | 109B |
| Share of all tokens | 0.0% |
| Change vs previous 2 months | +100% |
| Unique users | 91K |
| Completed sessions | 229,106 |
| Average tokens per session | 475K |
| Average cost per session | $0.4330 |
| Total spend | $99,199 |
| Input tokens served from cache | 87% |
| Weekly retention | 45.7% |

## Daily usage: past 2 months

| Date | Tokens | Unique users | Sessions |
| --- | --- | --- | --- |
| 2026-09-21 | 1.2B | 786 | 1,585 |
| 2026-09-22 | 2.5B | 1.8K | 4,538 |
| 2026-09-23 | 2.1B | 1.6K | 3,054 |
| 2026-09-24 | 1.8B | 1.4K | 3,032 |
| 2026-09-25 | 1.6B | 1.2K | 2,375 |
| 2026-09-26 | 1.3B | 1.2K | 2,657 |
| 2026-09-27 | 1.5B | 1.2K | 2,493 |
| 2026-09-28 | 1.8B | 1.6K | 3,651 |
| 2026-09-29 | 1.8B | 1.6K | 3,579 |
| 2026-09-30 | 1.9B | 1.5K | 3,045 |
| 2026-10-01 | 1.6B | 1.3K | 3,111 |
| 2026-10-02 | 1.7B | 1.3K | 3,052 |
| 2026-10-03 | 1.6B | 1.1K | 2,476 |
| 2026-10-04 | 1.9B | 1K | 2,851 |
| 2026-10-05 | 2.2B | 1.4K | 3,182 |
| 2026-10-06 | 2B | 1.4K | 3,362 |
| 2026-10-07 | 2B | 1.3K | 3,065 |
| 2026-10-08 | 1.9B | 1.5K | 3,766 |
| 2026-10-09 | 1.8B | 1.4K | 3,493 |
| 2026-10-10 | 1.6B | 1.3K | 3,753 |
| 2026-10-11 | 1.5B | 1.1K | 3,447 |
| 2026-10-12 | 2.5B | 1.6K | 4,311 |
| 2026-10-13 | 2.4B | 1.6K | 5,828 |
| 2026-10-14 | 2.2B | 1.7K | 4,265 |
| 2026-10-15 | 2.2B | 1.9K | 4,545 |
| 2026-10-16 | 2.1B | 1.8K | 5,288 |
| 2026-10-17 | 2B | 1.6K | 4,394 |
| 2026-10-18 | 1.6B | 1.4K | 3,713 |
| 2026-10-19 | 2.3B | 1.9K | 5,680 |
| 2026-10-20 | 2B | 1.9K | 4,114 |
| 2026-10-21 | 2B | 1.9K | 4,187 |
| 2026-10-22 | 2.1B | 1.8K | 3,725 |
| 2026-10-23 | 2.2B | 1.7K | 3,909 |
| 2026-10-24 | 1.9B | 1.4K | 3,036 |
| 2026-10-25 | 1.6B | 1.4K | 3,103 |
| 2026-10-26 | 2.1B | 1.8K | 4,849 |
| 2026-10-27 | 2.1B | 2K | 5,288 |
| 2026-10-28 | 2B | 2K | 6,975 |
| 2026-10-29 | 1.9B | 2K | 4,728 |
| 2026-10-30 | 2.5B | 1.9K | 5,011 |
| 2026-10-31 | 1.7B | 1.7K | 4,123 |
| 2026-11-01 | 2.1B | 1.7K | 4,333 |
| 2026-11-02 | 2.5B | 2.2K | 5,030 |
| 2026-11-03 | 2.5B | 2.3K | 5,399 |
| 2026-11-04 | 2.3B | 2.2K | 5,949 |
| 2026-11-05 | 2.3B | 2.2K | 6,705 |
| 2026-11-06 | 2.2B | 2.2K | 5,553 |
| 2026-11-07 | 2B | 1.9K | 4,647 |
| 2026-11-08 | 1.7B | 1.6K | 3,688 |
| 2026-11-09 | 2.4B | 2.2K | 7,560 |
| 2026-11-10 | 2.5B | 2.2K | 5,840 |
| 2026-11-11 | 2.5B | 2.1K | 5,360 |
| 2026-11-12 | 2.1B | 1.9K | 5,079 |
| 2026-11-13 | 2.3B | 1.9K | 4,964 |
| 2026-11-14 | 852M | 1K | 2,360 |

## Top countries: past 2 months

| Rank | Country | Tokens | Share |
| --- | --- | --- | --- |
| 1 | United States | 20B | 18% |
| 2 | China | 11B | 10.4% |
| 3 | Germany | 6.1B | 5.6% |
| 4 | Brazil | 5.3B | 4.8% |
| 5 | Japan | 4.5B | 4.1% |
| 6 | Spain | 3.2B | 3% |
| 7 | India | 3.1B | 2.8% |
| 8 | Canada | 2.9B | 2.7% |
| 9 | Singapore | 2.9B | 2.6% |
| 10 | Hong Kong | 2.8B | 2.6% |
| 11 | United Kingdom | 2.5B | 2.3% |
| 12 | Netherlands | 2.5B | 2.3% |
| 13 | France | 2.4B | 2.2% |
| 14 | Poland | 2B | 1.8% |
| 15 | Colombia | 1.9B | 1.7% |

## Nearby models by tokens last week

| Rank | Model | Lab | Tokens |
| --- | --- | --- | --- |
| 34 | [deepseek-v4p1-flash-1017-spot](https://opencode.ai/data/deepseek/deepseek-v4p1-flash-1017-spot.md) | DeepSeek | 51B |
| 35 | [kimi-k3](https://opencode.ai/data/moonshotai/kimi-k3.md) | Moonshot | 31B |
| 36 | [qwen3.8-max](https://opencode.ai/data/alibaba/qwen3-8-max.md) | Qwen | 30B |
| 37 | [jev-1.13](https://opencode.ai/data/unknown/jev-1-13.md) | - | 17B |
| 38 | [grok-4.7](https://opencode.ai/data/xai/grok-4-7.md) | xAI | 14B |
| 39 | [hy3](https://opencode.ai/data/tencent/hy3.md) | Tencent | 14B |
| 40 | [hy4-preview](https://opencode.ai/data/tencent/hy4-preview.md) | Tencent | 10B |
| 41 | [frantic-ferret](https://opencode.ai/data/unknown/frantic-ferret.md) | - | 9.9B |
| 42 | [step-5-preview](https://opencode.ai/data/stepfun/step-5-preview.md) | StepFun | 8B |
| 43 | [gpt-5-nano](https://opencode.ai/data/openai/gpt-5-nano.md) | OpenAI | 264M |

## Benchmarks

| Benchmark | Score | Metric | Source |
| --- | --- | --- | --- |
| CursorBench | 46.3 | score | https://x.ai/news/grok-4-7 |
| DeepSWE | 71 | score | https://x.ai/news/grok-4-7 |
| EEBench | 64 | score | https://x.ai/news/grok-4-7 |
| AA-Briefcase | 1657 | Elo | https://x.ai/news/grok-4-7 |
| Terminal-Bench | 37.6 | score | https://x.ai/news/grok-4-7 |
| Harvey Legal Agent Benchmark | 19.6 | score | https://x.ai/news/grok-4-7 |
| HealthBench | 56.7 | score | https://x.ai/news/grok-4-7 |
| GDPval | 1695 | Elo | https://x.ai/news/grok-4-7 |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
