Model comparison
GPT-5.3-Codex vs Grok 4.7
OpenAI against SpaceXAI, compared on context, price, and verified benchmark results.
Catalog record checked September 26, 2026Individual provider fields may changeEvidence confidence: High — see receipts below
OpenAI
GPT-5.3-Codex
Frontier
SpaceXAI
Grok 4.7
Frontier
| Specification | GPT-5.3-Codex | Grok 4.7 |
|---|---|---|
| Provider | ||
| Provider | OpenAI | SpaceXAI |
| Tier | ||
| Tier | Frontier | Frontier |
| Context window | ||
| Context window | 400K | Winner: 500K |
| Max output | ||
| Max output | 128K | Not verifiedUnverified |
| Input / 1M tokens | ||
| Input / 1M tokens | Winner: $1.75 | $2 |
| Output / 1M tokens | ||
| Output / 1M tokens | $14 | Winner: $6 |
| Weights | ||
| Weights | Closed | Closed |
| Parameters | ||
| Parameters | Not disclosedUnverified | new, larger base model with longer RL on multi-hour tasks |
| Reasoning levels | ||
| Reasoning levels | low, medium, high, xhigh | low, medium, high, xhigh |
| Modalities | ||
| Modalities | text, image | text, image |
| API model id | ||
| API model id | gpt-5.3-codex | grok-4.7 |
| Released | ||
| Released | February 5, 2026 | September 21, 2026 |
| Artificial Analysis Intelligence Index [xhigh] (2026-09-26) | ||
| Artificial Analysis Intelligence Index [xhigh] (2026-09-26) | 32.5 | Winner: 46.4 |
| DeepSWE 1.1 [high] (2026-09-21) | ||
| DeepSWE 1.1 [high] (2026-09-21) | Not verifiedUnverified | 71 |
| Terminal-Bench 4.0 [xhigh] (2026-09-26) | ||
| Terminal-Bench 4.0 [xhigh] (2026-09-26) | Not verifiedUnverified | 25.8 |
Prices are USD per million tokens at standard rates, excluding batch and caching discounts. Bold indicates the better figure where one is objectively better. Values we could not confirm from the provider are shown as “Not verified” rather than estimated.
Benchmark receipts
Where each score comes from, and how far it can be compared across models.
- 2026-09-26Artificial Analysis Terminal-Bench 4.0 (independent AA run, part of Intelligence Index v4.3.2)
Agentic terminal work: long multi-step tasks executed in a sandboxed shell environment.
Comparable with caveatNOT comparable with Terminal-Bench 2.x or 3.0 — 4.0 uses a new, non-overlapping task set. Within 4.0, scores from different harnesses (tbench.ai agent entries vs Artificial Analysis runs) are not interchangeable.
- 2026-09-26Artificial Analysis
Composite index blending reasoning, knowledge, and coding evals into one 0–100 score.
Comparable with caveatOnly same-version scores are comparable. v4.3.2 was rebaselined (the top score fell from 66 on v4.1.1 to ~58), so v4.1.1 figures must not be compared with v4.3.2 figures — check measuredAt.
- 2026-09-21xAI — Grok 4.7 announcement (vendor; not yet on Datacurve's board)
Agentic software engineering: pass@1 on real repo tasks with reported cost per completed task.
Directly comparable
Pricing tiers
GPT-5.3-Codex: Standard $1.75/$14 per MTok; cached input $0.175/MTok; Fast mode $3.50/$28. Still listed in the API as a coding-specialised model.
Grok 4.7: $2/$6 per MTok (<200K prompt); $4/$12 for all tokens at ≥200K. Cached input $0.50/MTok ($1.00 at ≥200K). US regional endpoint 1.1x. No Batch API; the 2x-price 'Fast' variant is Cursor and Grok Build only. xAI lists no separate text-output cap. Knowledge cutoff May 2026.
GPT-5.3-Codex
GPT-5.3-Codex is OpenAI's coding-specialised API model at $1.75/$14 — the Codex agent itself now runs GPT-6 Sol, Luna and Astra.
Best for
- Autonomous coding
- Repo-scale refactors
- Test generation
Watch out
Tuned for coding, not general chat; for new coding work compare GPT-6 Sol ($2/$10) first.
Grok 4.7
Grok 4.7 is xAI's flagship since 2026-09-21 — a larger new base model with longer RL on multi-hour tasks, at Grok 4.6's $2/$6 price.
Best for
- Coding agents
- Cost-sensitive frontier work
- Cursor and GitHub Copilot users
Watch out
Token rates double above a 200K-token prompt and there is no Batch API; the DeepSWE figure is vendor-reported.
When the cheaper one wins
Grok 4.7 is cheaper on output at $6 per million tokens against $14 for GPT-5.3-Codex — about 2.3×. Use the cheaper tier for classification, extraction, summarisation, and any task where the expensive model’s extra score does not change the accepted output. The expensive one only pays if your hardest task actually fails on the cheap tier. These are standard-tier API rates, excluding batch and cache discounts.
Run the model pickerEvidence confidence: High
How strong and complete the evidence behind this comparison is — not a prediction of which model is better.
- Pricing verified on both sides — Input and output rates are verified for both models.
- 3/5 core specs verified on both sides — Not published for at least one side: max output, parameter count.
- 1 shared named benchmark with differing scores — Measured on: Artificial Analysis Intelligence Index.
- Verified within the last 90 days — Newest catalog check was 2 days ago.
- Both models carry source citations — Each side has at least two catalog sources on record.
Source receipts
Each catalog figure was checked against the provider or an independent second source on the date shown.
- GPT-5.3-Codex: OpenAI — Introducing GPT-5.3-Codex (accessed 2026-08-29)
- GPT-5.3-Codex: OpenAI API pricing (gpt-5.3-codex $1.75/$14) (accessed 2026-08-29)
- Grok 4.7: xAI — Grok 4.7 (accessed 2026-09-26)
- Grok 4.7: xAI docs — grok-4.7 model card (accessed 2026-09-26)
- Grok 4.7: xAI pricing (grok-4.7 $2/$6, ≥200K $4/$12) (accessed 2026-09-26)
- Grok 4.7: GitHub changelog — Grok 4.7 in Copilot (2026-09-21) (accessed 2026-09-26)
Related comparisons
- Claude Opus 5.5 vs Grok 4.7
- GLM 5.3 vs Grok 4.7
- GPT-6 Luna vs Grok 4.7
- GPT-6 Sol vs Grok 4.7
- Claude Fable 5.1 vs GPT-5.3-Codex
- Claude Fable 5.1 vs Grok 4.7
Diving deeper on one model? GPT-5.3-Codex · Grok 4.7
Common questions
GPT-5.3-Codex vs Grok 4.7
Answered from the verified figures on this page rather than general guidance.
Is GPT-5.3-Codex or Grok 4.7 cheaper for input?
Is GPT-5.3-Codex or Grok 4.7 cheaper for output?
Which has the larger context window, GPT-5.3-Codex or Grok 4.7?
Do GPT-5.3-Codex and Grok 4.7 support the same reasoning levels?
Should I use GPT-5.3-Codex or Grok 4.7?
Next step
Choosing between them
The verified figures that separate this pair, computed from the catalog rather than restated boilerplate.
- Input price: GPT-5.3-Codex costs $1.75 per 1M tokens versus $2 for Grok 4.7 — a 1.1x difference at the headline tier.
- Context: Grok 4.7 takes 500K against 400K for GPT-5.3-Codex — only decisive if your prompts approach the smaller window.
Choosing a harness rather than a model — Cursor, Copilot, Claude Code, Windsurf, or Lovable? Compare agentic harnesses · Latest releases.