Skip to main content
AI Choice Engine

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

vs

SpaceXAI

Grok 4.7

Frontier

AI model capability comparison
SpecificationGPT-5.3-CodexGrok 4.7
ProviderOpenAISpaceXAI
TierFrontierFrontier
Context window400KWinner: 500K
Max output128KNot verifiedUnverified
Input / 1M tokensWinner: $1.75$2
Output / 1M tokens$14Winner: $6
WeightsClosedClosed
ParametersNot disclosedUnverifiednew, larger base model with longer RL on multi-hour tasks
Reasoning levelslow, medium, high, xhighlow, medium, high, xhigh
Modalitiestext, imagetext, image
API model idgpt-5.3-codexgrok-4.7
ReleasedFebruary 5, 2026September 21, 2026
Artificial Analysis Intelligence Index [xhigh] (2026-09-26)32.5Winner: 46.4
DeepSWE 1.1 [high] (2026-09-21)Not verifiedUnverified71
Terminal-Bench 4.0 [xhigh] (2026-09-26)Not verifiedUnverified25.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-26
    Artificial 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-26
    Artificial 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-21
    xAI — 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.

FrontierRecord checked September 26, 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.

FrontierRecord checked September 26, 2026

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 picker

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

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?
GPT-5.3-Codex is cheaper at $1.75 per million input tokens, against $2 for Grok 4.7 — roughly 1.1× the price. Output tokens usually dominate a real bill, so weigh the output rate more heavily than the input rate. These are base rates; GPT-5.3-Codex has tiered pricing: 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 has tiered pricing: $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.
Is GPT-5.3-Codex or Grok 4.7 cheaper for output?
Grok 4.7 is cheaper at $6 per million output tokens, against $14 for GPT-5.3-Codex — roughly 2.3× the price. Output tokens usually dominate a real bill, so weigh the output rate more heavily than the input rate. These are base rates; GPT-5.3-Codex has tiered pricing: 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 has tiered pricing: $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.
Which has the larger context window, GPT-5.3-Codex or Grok 4.7?
Grok 4.7 accepts 500K tokens against 400K for GPT-5.3-Codex. This only matters if you routinely send very long documents or large codebases.
Do GPT-5.3-Codex and Grok 4.7 support the same reasoning levels?
Yes — both accept the same effort settings: "low", "medium", "high", "xhigh". Higher effort costs more and takes longer, so start low and raise it only where output quality actually improves.
Should I use GPT-5.3-Codex or Grok 4.7?
Both sit in the frontier tier, so the choice usually comes down to price and context rather than capability. GPT-5.3-Codex suits autonomous coding; Grok 4.7 suits coding agents.

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.