Grok 4.7 vs GPT-6.2 Astra
Official xAI and OpenAI API prices and LMArena scores, checked 2026-11-28. Add up to 2 more models to compare 4.
Grok 4.7 costs less; GPT-6.2 Astra wins more LMArena tasks.
Grok 4.7 is 4x cheaper on input and 6.7x cheaper on output. GPT-6.2 Astra scores 51 points higher for coding. Across 6 shared LMArena tasks, GPT-6.2 Astra leads 4 to 0 (2 tied). GPT-6.2 Astra has the longer context window (1.05M vs 500K tokens). A medium month (20M input + 5M output tokens) costs $70 on Grok 4.7 and $360 on GPT-6.2 Astra.
- Pick Grok 4.7 if you want the lower bill ($70 vs $360 for a medium month).
- Pick GPT-6.2 Astra if you care most about coding (+51), reasoning and math (+45) and agent tasks (+38), you need the 1.05M context window or you reuse long prompts (cached input $0.40 vs $0.50).
Medium: 20M input + 5M output tokens a month at list price (short-context rate, no caching or batch discounts).
Marked side is better: lower for prices, higher for context and scores. Bars are scaled to the larger of the two.
| Spec | Grok 4.7 | GPT-6.2 Astra |
|---|---|---|
| Price per 1M tokens | ||
| Input | $2 | $8 |
| Cached input | $0.50 | $0.40 |
| Output | $6 | $40 |
| Blend 3:1 | $3 | $16 |
| Sample month, medium | $70 | $360 |
| Context | ||
| Context window | 500K tokens | 1.05M tokens |
| Quality (LMArena, out of 100) | ||
| Coding | 24/100 #24 of 58 | 75/100 #7 of 58 |
| Chat | 0/100 #43 of 59 | 0/100 #29 of 59 |
| Creative writing | 0/100 #40 of 59 | 30/100 #13 of 59 |
| Roleplay and characters | 0/100 #50 of 59 | 0/100 #34 of 59 |
| Reasoning and math | 0/100 #43 of 58 | 45/100 #10 of 58 |
| Vision | 0/100 #23 of 35 | Not ranked |
| Long documents | Not ranked | Not ranked |
| Cheap bulk and agents | 20/100 #22 of 45 | 58/100 #7 of 45 |
| Details | ||
| Provider | xAI | OpenAI |
| API model id | grok-4.7 | gpt-6.2-astra |
| Notes | Prompts under 200K. Longer prompts cost $4 in, $12 out. | Launched Nov 17, 2026. Prompts up to 272K. Longer prompts cost $16 in, $60 out. |
| Sources | ||
| Last checked | 2026-11-28 | 2026-11-28 |
| Official pricing | xAI pricing | OpenAI pricing |
Plans from data checked hourly against each vendor's official pricing page. Vendors state limits in different units, so we quote them as published. Team and enterprise plans are per seat.
API prices in USD per 1M tokens from each provider's official pricing page. Blend 3:1 = (3 x input + output) / 4. Sample month = stated input and output tokens at the list price, no caching. Quality: relative score out of 100 on each LMArena leaderboard (100 = top model we price on that board, n/a = not ranked there), data licensed CC BY 4.0. See how we pick.
Where each one ranks on LMArena
Relative score out of 100 on each leaderboard (100 = the top model we price there), with the rank among the models from our API price table that appear on that board.
- Coding (Code Arena): Grok 4.7 #24 of 58 (24/100), GPT-6.2 Astra #7 of 58 (75/100)
- Chat (Text Arena): Grok 4.7 #43 of 59 (0/100), GPT-6.2 Astra #29 of 59 (0/100)
- Creative writing (Text Arena creative writing): Grok 4.7 #40 of 59 (0/100), GPT-6.2 Astra #13 of 59 (30/100)
- Roleplay and characters (Text Arena multi-turn): Grok 4.7 #50 of 59 (0/100), GPT-6.2 Astra #34 of 59 (0/100)
- Reasoning and math (Text Arena math): Grok 4.7 #43 of 58 (0/100), GPT-6.2 Astra #10 of 58 (45/100)
- Vision (Vision Arena): Grok 4.7 #23 of 35 (0/100), GPT-6.2 Astra not ranked
- Long documents (Document Arena): Grok 4.7 not ranked, GPT-6.2 Astra not ranked
- Cheap bulk and agents (Agent Arena): Grok 4.7 #22 of 45 (20/100), GPT-6.2 Astra #7 of 45 (58/100)
Pricing details from the official pages
Grok 4.7 lists $2 input, $6 output, $0.50 cached input per 1M tokens on xAI pricing. GPT-6.2 Astra lists $8 input, $40 output, $0.40 cached input per 1M tokens on OpenAI pricing. Prices checked 2026-11-28.
- Grok 4.7: Prompts under 200K. Longer prompts cost $4 in, $12 out.
- GPT-6.2 Astra: Launched Nov 17, 2026. Prompts up to 272K. Longer prompts cost $16 in, $60 out.
Sample monthly bill at list price, no caching: Light (2M input + 0.5M output tokens): $7 vs $36. Medium (20M input + 5M output tokens): $70 vs $360. Heavy (200M input + 50M output tokens): $700 vs $3,600.
FAQ
Is Grok 4.7 cheaper than GPT-6.2 Astra?
Grok 4.7 costs $2 input and $6 output per 1M tokens; GPT-6.2 Astra costs $8 and $40. For a medium month (20M input + 5M output tokens) Grok 4.7 is cheaper: $70 vs $360.
Which is better for coding, Grok 4.7 or GPT-6.2 Astra?
On LMArena's Code Arena Grok 4.7 scores 24/100 (#24 of 58) and GPT-6.2 Astra 75/100 (#7 of 58), so GPT-6.2 Astra is ahead by 51 points.
Which has the bigger context window?
Grok 4.7: 500K tokens. GPT-6.2 Astra: 1.05M tokens. Long prompts can cost more; see the pricing notes above.
How much do Grok 4.7 and GPT-6.2 Astra cost per month?
Light (2M input + 0.5M output tokens): $7 vs $36. Medium (20M input + 5M output tokens): $70 vs $360. Heavy (200M input + 50M output tokens): $700 vs $3,600. Pick your own token counts in the plan vs API calculator.
Where do these numbers come from?
Prices come from each provider's official pricing page, checked daily. Quality is the relative score on the LMArena leaderboard dataset, licensed CC BY 4.0. Where a model is not ranked we show n/a.
Sources
Related
- Grok 4.7 API pricing and alternatives
- GPT-6.2 Astra API pricing and alternatives
- Grok API pricing explained
- xAI API pricing, every model
- OpenAI API pricing, every model
- Claude Fable 5.2 vs Grok 4.7
- Grok 4.7 vs GPT-6.1 Sol
- Grok 4.7 vs Claude Opus 5.5
- Grok 4.7 vs Gemini 4 Argon
- Grok 4.7 vs Claude Sonnet 5.5
- GPT-6.2 Astra vs GPT-6 Astra
- GPT-6.2 Astra vs Claude Fable 5.2