# Mistral Medium 3.5 vs Grok 4.7 - AI Model Comparison

- Page: https://opencode.ai/data/compare/mistral/mistral-medium-2604/xai/grok-4-7
- Updated: 2026-10-06T16:40:10.000Z

|  | Mistral Medium 3.5 | Grok 4.7 |
| --- | --- | --- |
| Lab | Mistral | xAI |
| Context window | 262K | 500K |
| Max output | 262K | 500K |
| Input modalities | text, image | text, image, pdf |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| Open weights | Yes | No |
| Release date | 2026-04-29 | 2026-09-21 |
| Input price per 1M tokens | $1.50 | $2.00 |
| Output price per 1M tokens | $7.50 | $6.00 |
| Cached input price per 1M tokens | $0.15 | $0.50 |
| OpenCode tokens: past 2 months | - | 26B |
| Share of all tokens | - | 0% |
| Rank by tokens last week | - | #33 |
| Unique users | - | 20K |
| Weekly retention | - | 40.7% |

Model pages: [Mistral Medium 3.5](https://opencode.ai/data/mistral/mistral-medium-2604.md), [Grok 4.7](https://opencode.ai/data/xai/grok-4-7.md)

## 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.
