The AI arena is free today

Open Superagent

GPT-5 Codex vs Grok 4.7

Grok 4.7 leads the LLM Stats Score 48.5 to 26.6.

OpenAI · xAI · Updated for 2026

Which is better?

Grok 4.7 leads the overall LLM Stats Score 48.5 to 26.6, ranking #23 overall.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose GPT-5 Codex

  • you are already invested in the OpenAI ecosystem

Choose Grok 4.7

  • overall performance matters — it scores 48.5 and ranks #23 on LLM Stats
  • your work emphasizes coding — it leads those capability indexes
  • you want the most recent training data — it shipped Sep 2026

At a glance

The differences that matter most.

Core performance indexes
26.6
#152
48.5
#23
26.5
#150
37.4
#69
19.3
#110
40.1
#13
Cost, coverage & limits
Benchmark wins
Input price
— / M
$2.00 / M
Output price
— / M
$6.00 / M
Context window
500,000

Individual benchmarks

1 reported for GPT-5 Codex · 23 for Grok 4.7

No common benchmarks found

GPT-5 Codex and Grok 4.7don't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Context Window

Maximum input and output token capacity

Only Grok 4.7 specifies input context (500,000 tokens).

OpenAI
GPT-5 Codex
Input- tokens
Output- tokens
xAI
Grok 4.7
Input500,000 tokens
Output- tokens
Tue Sep 22 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Grok 4.7 supports multimodal inputs, whereas GPT-5 Codex does not.

Grok 4.7 can handle both text and other forms of data like images, making it suitable for multimodal applications.

GPT-5 Codex

Text
Images
Audio
Video

Grok 4.7

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

GPT-5 Codex

Proprietary

Closed source

Grok 4.7

Proprietary

Closed source

Release Timeline

When each model was launched

GPT-5 Codex was released on 2025-09-15, while Grok 4.7 was released on 2026-09-21.

Grok 4.7 is 12 months newer than GPT-5 Codex.

GPT-5 Codex

Sep 15, 2025

1.0 years ago

Grok 4.7

Sep 21, 2026

0 days ago

1.0yr newer

Knowledge Cutoff

When training data ends

GPT-5 Codex has a knowledge cutoff of 2024-09-30, while Grok 4.7 has a cutoff of 2026-06-01.

Grok 4.7 has more recent training data (up to 2026-06-01), making it potentially better informed about events through that date compared to GPT-5 Codex (2024-09-30).

GPT-5 Codex

Sep 2024

Grok 4.7

Jun 2026

1.8 yr newer

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against GPT-5 Codex and Grok 4.7 side-by-side, then vote on the output you prefer.

GPT-5 Codex
✓ Preferred
Grok 4.7
Open in Playground

FAQ

Common questions about GPT-5 Codex vs Grok 4.7.

Which is better, GPT-5 Codex or Grok 4.7?

Grok 4.7 leads the LLM Stats Score 48.5 to 26.6. GPT-5 Codex is made by OpenAI and Grok 4.7 is made by xAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does GPT-5 Codex compare to Grok 4.7 in benchmarks?

GPT-5 Codex scores SWE-Bench Verified: 74.5%. Grok 4.7 scores BixBench MCQ: 88.4%, WMDP-Bio: 88.1%, WMDP-Cyber: 88.1%, WMDP-Chem: 84.9%, CyberGym: 80.3%.

What are the context window sizes for GPT-5 Codex and Grok 4.7?

GPT-5 Codex supports an unknown number of tokens and Grok 4.7 supports 500K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GPT-5 Codex and Grok 4.7?

Key differences include LLM Stats Score (26.6 vs 48.5), multimodal support (no vs yes). See the full comparison above for benchmark-by-benchmark results.

Who makes GPT-5 Codex and Grok 4.7?

GPT-5 Codex is developed by OpenAI and Grok 4.7 is developed by xAI.