Skip to main content
BenchLM
Data

GPT-5.2-Codex vs Grok 4 Fast (Reasoning)

Updated November 21, 2026. Rank says GPT-5.2-Codex is ahead. Price, access, and your workload can each overturn that. Public scores include evidence status and uncertainty.

Share or export
Share on XLinkedInAPI/MCP

Decision reading

GPT-5.2-Codex has the higher public point estimate, 49.2 versus 45.6. Their conditional score ranges overlap. These ranges do not establish rank confidence. 3 results are shared. Category rows resting on Estimated evidence or different benchmark sets are marked directional and do not name a winner.

Model A
OpenAI logo

OpenAI

49.2/100

Supported · Public rank #94

Conditional range 42.6–55.8

Model B
xAI logo

xAI

45.6/100

Supported · Public rank #111

Conditional range 35.4–55.8

API price per 1M tokens

GPT-5.2-Codex: $1.75 input / $14 output

Grok 4 Fast (Reasoning): No comparable API price

Context window

GPT-5.2-Codex: 400K

Grok 4 Fast (Reasoning): 2M

Released

GPT-5.2-Codex: December 18, 2025

Grok 4 Fast (Reasoning): September 19, 2025

Shared results
3
GPT-5.2-Codex only
3
Grok 4 Fast (Reasoning) only
2
Like-for-like categories
0 / 8
Supported: GPT-5.2-Codex and Grok 4 Fast (Reasoning). Conditional ranges do not establish rank confidence.How the comparison works

Which one for your work

Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.

  • Long documents

    Prompts that approach the documented context limit

    Grok 4 Fast (Reasoning)

    Grok 4 Fast (Reasoning) has the larger documented context window.

    Confidence: documented
Show secondary and unsupported calls
  • Coding work

    Code generation, repair, and software-engineering tasks

    Not enough matched evidence

    Grok 4 Fast (Reasoning) is not ranked on the public lane for coding, so no winner is named for coding.

    Confidence: limited
  • Agentic work

    Tool use, computer use, and multi-step task completion

    Not enough matched evidence

    Grok 4 Fast (Reasoning) is scored on Estimated evidence for agentic, so the reading is directional rather than like-for-like.

    Confidence: limited
  • Chat turn cost

    1K fresh input + 500 output tokens

    Not enough matched evidence

    A complete comparable API-rate estimate is not available for both models.

    Confidence: listed-rates
  • Cache-heavy agent loop cost

    200K cached + 20K fresh input + 10K output tokens

    Not enough matched evidence

    A complete comparable API-rate estimate is not available for both models.

    Confidence: rate-fallback
  • Repository review cost

    50K fresh input + 3K output tokens

    Not enough matched evidence

    A complete comparable API-rate estimate is not available for both models.

    Confidence: listed-rates

Which one for a specific job

Choose a job from the LLM Selector's task catalog to see the category row it rests on, under the same basis rules as the table below. A directional row stays directional; choosing a job never creates a winner.

The same task catalog as the LLM Selector. Each job names the evidence surface it rests on; nothing here adds a new score.

44.8GPT-5.2-Codex—Grok 4 Fast (Reasoning)

Not comparable · BenchAlign v6.0

The coding row is not comparable on the public lane: at least one model is not measured or not ranked there.

Coding scores combine specific tasks and setups. Match the editor, harness, and effort to your workflow.

Same basis rules as the category table below

Or describe your own job

The LLM Selector reads what you need a model for and returns a shortlist, ranked in the same order the job pages publish.

Describe the task and constraints. This selector recommends models; it cannot carry out the task or access your files and accounts.

We keep what you type here, drafts included, for 180 days, and after that only the job and requirements read from it. Nothing is tied to your IP address or account. Leave out names and other personal details. Privacy

What is actually comparable

Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.

3 categories rest on Estimated evidence or different evidence sets. Those rows remain visible for coverage context but do not name a winner.

Shape of the matched evidence

Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.

Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.

Bars run 0–100 on each benchmark’s normalized display scale

Category results, on a stated basis

Each row shows the public-lane category score for both models: the BenchAlign v6.0 lane in every category, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence. Directional and not-comparable rows remain visible, but they never receive a winner.

Agentic

Directional only
GPT-5.2-Codex
48.8
Supported · #98/182
Grok 4 Fast (Reasoning)
45.8
Estimated · #120/182
Basis
BenchAlign v6.0 lane · 2 vs 0 public rows
Reading
Directional only

Reasoning

Directional only
GPT-5.2-Codex
48.7
Estimated · #81/161
Grok 4 Fast (Reasoning)
46.9
Estimated · #99/161
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Directional only

Knowledge

Directional only
GPT-5.2-Codex
51.3
Estimated · #85/158
Grok 4 Fast (Reasoning)
43.4
Supported · #114/158
Basis
BenchAlign v6.0 lane · 0 vs 2 public rows
Reading
Directional only

Coding

Not comparable
GPT-5.2-Codex
44.8
Supported · #104/180
Grok 4 Fast (Reasoning)
Not ranked
Basis
BenchAlign v6.0 lane · 4 vs 3 public rows
Reading
Not comparable

Multimodal

Not comparable
GPT-5.2-Codex
Not ranked
Grok 4 Fast (Reasoning)
40.3
Estimated · #110/119
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Not comparable

Multilingual

Not comparable
GPT-5.2-Codex
Not ranked
Grok 4 Fast (Reasoning)
Not ranked
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Not comparable

Instruction following

Not comparable
GPT-5.2-Codex
48.2
Supported · #73/143
Grok 4 Fast (Reasoning)
Not ranked
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Not comparable

Math

Not comparable
GPT-5.2-Codex
48.8
Estimated · #68/125
Grok 4 Fast (Reasoning)
Not ranked
Basis
BenchAlign v6.0 lane · 0 vs 0 public rows
Reading
Not comparable

Ranks count the models scored in each category’s BenchAlign v6.0 lane, so denominators differ by category. Like-for-like rows within 0.5 points read as a practical tie.

Supported evidence per lane · bars run 0–100Methodology

What each workload costs

Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.

Chat turn

1K fresh input + 500 output tokens

GPT-5.2-Codex
$0.00875
Fits in one request
Grok 4 Fast (Reasoning)
API rate not published
Fits in one request

Grok 4 Fast (Reasoning) has no comparable published API token rate.

Repository review

50K fresh input + 3K output tokens

GPT-5.2-Codex
$0.1295
Fits in one request
Grok 4 Fast (Reasoning)
API rate not published
Fits in one request

Grok 4 Fast (Reasoning) has no comparable published API token rate.

Cache-heavy agent loop

200K cached + 20K fresh input + 10K output tokens

GPT-5.2-Codex
$0.525
Fits in one request
Cached input priced at the published list-input rate
Grok 4 Fast (Reasoning)
API rate not published
Fits in one request
Cached-input rate unavailable

GPT-5.2-Codex has no published cached-input rate, so cached tokens use its listed input rate. Grok 4 Fast (Reasoning) has no comparable published API token rate.

Cached input falls back to the list input rate only where a cached rate is unpublished

Price against score, among all priced models

Overall score against output price per 1M tokens, one model per family. Pricing as of November 21, 2026.

GPT-5.2-Codex

20406080100$0.10$0.50$1$5$10$50$100Output price, $ per 1M tokens (log)Overall score
  • 33 models score at least as high as GPT-5.2-Codex for the same price or less. The nearest is GPT-5.2 (score 60.2, also $14.00 per 1M output tokens).
  • Grok 4 Fast (Reasoning) has no public API price, so it is not plotted.

Gray dots are the other priced models. The dark step line is the efficiency frontier: for a model under it, another model costs no more and scores at least as high.

See GPT-5.2-Codex on the full price vs performance chart

Specification differences

Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.

Context window

Maximum documented context; output-token limits may be lower.

GPT-5.2-Codex

400K

Grok 4 Fast (Reasoning)

2M

API model ID

GPT-5.2-Codex

Not sourced

Grok 4 Fast (Reasoning)

Not sourced

Cached-input rate

A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.

GPT-5.2-Codex

Not published

Grok 4 Fast (Reasoning)

No comparable hosted API rate

Provider availability

GPT-5.2-Codex

Not sourced

Grok 4 Fast (Reasoning)

Not sourced

Reasoning profile

GPT-5.2-Codex

Reasoning

Grok 4 Fast (Reasoning)

Reasoning

Weight access

GPT-5.2-Codex

Proprietary

Grok 4 Fast (Reasoning)

Proprietary

License

GPT-5.2-Codex

Proprietary

Grok 4 Fast (Reasoning)

Proprietary

Release date

GPT-5.2-Codex

2025-12-18

Grok 4 Fast (Reasoning)

2025-09-19

If you already use one of these models

Deployment change
The models list different providers, so authentication, endpoint behavior, limits, and feature support may change.
Quality signal
GPT-5.2-Codex has the higher public point estimate, 49.2 versus 45.6. Their conditional score ranges overlap. These ranges do not establish rank confidence.
Workload cost
A complete comparable API-rate estimate is not available for both models.
Context tradeoff
Grok 4 Fast (Reasoning) has the larger documented window (2M).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

Which is better, GPT-5.2-Codex or Grok 4 Fast (Reasoning)?

GPT-5.2-Codex has the higher public point estimate, 49.2 versus 45.6. Their conditional score ranges overlap. These ranges do not establish rank confidence. The page therefore keeps the decision tied to the specific documented workload.

Which is better for coding, GPT-5.2-Codex or Grok 4 Fast (Reasoning)?

Grok 4 Fast (Reasoning) is not ranked on the public lane for coding, so no winner is named for coding.

Which is better for agentic tasks, GPT-5.2-Codex or Grok 4 Fast (Reasoning)?

GPT-5.2-Codex scores higher for agentic tasks on the public lane, 48.8 to 45.8. Grok 4 Fast (Reasoning) is scored on Estimated evidence for agentic tasks, so the reading is directional rather than like-for-like. BenchLM does not name a winner for agentic tasks from a directional reading; read the shared benchmark rows directly and test the models on the same task set.

Which costs less, GPT-5.2-Codex or Grok 4 Fast (Reasoning)?

Both models do not have comparable published API token rates, so this page does not name a universal price winner.

Which has the larger context window, GPT-5.2-Codex or Grok 4 Fast (Reasoning)?

Grok 4 Fast (Reasoning) has the larger documented context window: 2M, compared with 400K.

Benchmark evidence

The full public result ledger is available for audit without forcing a wide desktop table onto a phone.

Browse raw public benchmark evidence8 rows

Agentic

  • Gert Labs

    GPT-5.2-Codex27.32%
    Source
    Grok 4 Fast (Reasoning)—

    Not directly comparable

  • JobBench

    GPT-5.2-Codex26.0%
    Source
    Grok 4 Fast (Reasoning)—

    Not directly comparable

Coding

  • Vibe Code Bench

    Shared source
    GPT-5.2-Codex37.91%
    Grok 4 Fast (Reasoning)0.00%

    GPT-5.2-Codex leads this result

  • LiveCodeBench (Vals)

    GPT-5.2-Codex88.0%
    Source
    Grok 4 Fast (Reasoning)79.0%
    Source

    GPT-5.2-Codex leads this result

  • SWE-bench (Vals)

    GPT-5.2-Codex72.4%
    Source
    Grok 4 Fast (Reasoning)45.4%
    Source

    GPT-5.2-Codex leads this result

  • PostTrainBench v1

    GPT-5.2-Codex17.2%
    Source
    Grok 4 Fast (Reasoning)—

    Not directly comparable

Knowledge

  • GPQA Diamond (Vals)

    GPT-5.2-Codex—
    Grok 4 Fast (Reasoning)85.4%
    Source

    Not directly comparable

  • MMLU-Pro (Vals)

    GPT-5.2-Codex—
    Grok 4 Fast (Reasoning)79.7%
    Source

    Not directly comparable

8 public results · 3 shared

Watch GPT-5.2-Codex vs Grok 4 Fast (Reasoning)

One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.

Read a sample issue

Join 7,500+ subscribers.

Last updated November 21, 2026