Skip to main content
BenchLM

GPT-4.1 mini vs Grok Code Fast 1

Updated September 29, 2026. Rank says Grok Code Fast 1 is ahead. Price, access, and your workload can each overturn that. Public scores include evidence status and uncertainty.

Share or export
Share on XLinkedInSocial cardCSVJSON

Decision reading

Grok Code Fast 1 has the higher public score estimate, 31.94 versus 29.09, but the 90% score intervals overlap. Treat that as a lead, not a settled winner. 1 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

29.09/100

Estimated · Public rank #176

90% interval 22.4–35.7

Model B
xAI logo

xAI

31.94/100

Estimated · Public rank #155

90% interval 26.2–37.7

Shared results
1
GPT-4.1 mini only
4
Grok Code Fast 1 only
1
Like-for-like categories
0 / 8
Estimated: GPT-4.1 mini and Grok Code Fast 1How 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

    GPT-4.1 mini

    GPT-4.1 mini has the larger documented context window.

    Confidence: documented
  • Chat turn cost

    1K fresh input + 500 output tokens

    Grok Code Fast 1

    Grok Code Fast 1 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

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

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

    Grok Code Fast 1

    Grok Code Fast 1 has the lower estimated token cost for this stated workload. GPT-4.1 mini has no published cached-input rate, so cached tokens use its listed input rate. Grok Code Fast 1 has no published cached-input rate, so cached tokens use its listed input rate.

    Confidence: rate-fallback
Show secondary and unsupported calls
  • Repository review cost

    50K fresh input + 3K output tokens

    Grok Code Fast 1

    Grok Code Fast 1 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates
  • Coding work

    Code generation, repair, and software-engineering tasks

    Not enough matched evidence

    GPT-4.1 mini and Grok Code Fast 1 are scored on Estimated evidence for coding, so the reading is directional rather than like-for-like.

    Confidence: limited
  • Agentic work

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

    Not enough matched evidence

    GPT-4.1 mini and Grok Code Fast 1 are not ranked on the public lane for agentic, so no winner is named for agentic.

    Confidence: limited

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.

19.8GPT-4.1 mini21.5Grok Code Fast 1

Directional only · BenchAlign v5.7

Grok Code Fast 1 scores higher, but at least one score rests on Estimated evidence or a different benchmark set. Directional only, no winner.

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

Same basis rules as the category table below

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 v5.7 lane for agentic, coding, and knowledge, and the weighted public rows elsewhere, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence or the same weighted set. Directional and not-comparable rows remain visible, but they never receive a winner.

Coding

Directional only
GPT-4.1 mini
19.8
Estimated · #123/143
Grok Code Fast 1
21.5
Estimated · #119/143
Basis
BenchAlign v5.7 lane · 1 vs 2 public rows
Reading
Directional only

Knowledge

Directional only
GPT-4.1 mini
31.1
Supported · #136/169
Grok Code Fast 1
36.0
Estimated · #112/169
Basis
BenchAlign v5.7 lane · 2 vs 0 public rows
Reading
Directional only

Instruction following

Directional only
GPT-4.1 mini
42.8
#94/124
Grok Code Fast 1
46.8
#87/124
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Directional only

Agentic

Not comparable
GPT-4.1 mini
Not ranked
Grok Code Fast 1
Not ranked
Basis
BenchAlign v5.7 lane · 0 vs 0 public rows
Reading
Not comparable

Reasoning

Not comparable
GPT-4.1 mini
52.5
Unranked · 2 rankable rows
Grok Code Fast 1
58.7
Unranked · 2 rankable rows
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Multimodal

Not comparable
GPT-4.1 mini
47.6
Unranked · 1 rankable row
Grok Code Fast 1
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Multilingual

Not comparable
GPT-4.1 mini
Not ranked
Grok Code Fast 1
Not ranked
Basis
Provisional lane · 0 vs 0 weighted rows
Reading
Not comparable

Math

Not comparable
GPT-4.1 mini
28.4
Unranked · 1 rankable row
Grok Code Fast 1
Not ranked
Basis
Provisional lane · 1 vs 0 weighted rows
Reading
Not comparable

Ranks count the models scored in each category’s lane, so the agentic, coding, and knowledge denominators (BenchAlign v5.7) differ from the provisional-lane categories. Unranked scores sit on the provisional lane’s scale but never name a winner. 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-4.1 mini
$0.0012
Fits in one request
Grok Code Fast 1
$0.00095
Fits in one request

Grok Code Fast 1 has the lower modeled cost

Costs use the listed standard API rates.

Repository review

50K fresh input + 3K output tokens

GPT-4.1 mini
$0.0248
Fits in one request
Grok Code Fast 1
$0.0145
Fits in one request

Grok Code Fast 1 has the lower modeled cost

Costs use the listed standard API rates.

Cache-heavy agent loop

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

GPT-4.1 mini
$0.104
Fits in one request
Cached input priced at the published list-input rate
Grok Code Fast 1
$0.059
Fits in one request
Cached input priced at the published list-input rate

Grok Code Fast 1 has the lower modeled cost

GPT-4.1 mini has no published cached-input rate, so cached tokens use its listed input rate. Grok Code Fast 1 has no published cached-input rate, so cached tokens use its listed input rate.

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

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-4.1 mini

1M

Grok Code Fast 1

256K

API model ID

GPT-4.1 mini

Not sourced

Grok Code Fast 1

Not sourced

Cached-input rate

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

GPT-4.1 mini

Not published

Grok Code Fast 1

Not published

Documented inputs

GPT-4.1 mini

Not sourced

Grok Code Fast 1

Not sourced

Documented outputs

GPT-4.1 mini

Not sourced

Grok Code Fast 1

Not sourced

Provider availability

GPT-4.1 mini

Not sourced

Grok Code Fast 1

Not sourced

Reasoning profile

GPT-4.1 mini

Non-Reasoning

Grok Code Fast 1

Non-Reasoning

Weight access

GPT-4.1 mini

Proprietary

Grok Code Fast 1

Proprietary

License

GPT-4.1 mini

Proprietary

Grok Code Fast 1

Proprietary

Release date

GPT-4.1 mini

2025-04-14

Grok Code Fast 1

2025-08-28

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
Grok Code Fast 1 has the higher public score estimate, 31.94 versus 29.09, but the 90% score intervals overlap.
Workload cost
Repository review: $0.0248 vs $0.0145. Cache-heavy agent loop: $0.104 vs $0.059.
Context tradeoff
GPT-4.1 mini has the larger documented window (1M).
Run the same representative tasks against both endpoints before changing production traffic.

Questions

Which is better, GPT-4.1 mini or Grok Code Fast 1?

Grok Code Fast 1 has the higher public score estimate, 31.94 versus 29.09, but the 90% score intervals overlap. The higher estimate is not a decisive winner because the uncertainty ranges overlap.

Which is better for coding, GPT-4.1 mini or Grok Code Fast 1?

Grok Code Fast 1 scores higher for coding on the public lane, 21.5 to 19.8. GPT-4.1 mini and Grok Code Fast 1 are scored on Estimated evidence for coding, so the reading is directional rather than like-for-like. BenchLM does not name a winner for coding from a directional reading; read the shared benchmark rows directly and test the models on the same task set.

Which is better for agentic tasks, GPT-4.1 mini or Grok Code Fast 1?

GPT-4.1 mini and Grok Code Fast 1 are not ranked on the public lane for agentic tasks, so no winner is named for agentic tasks.

Which costs less, GPT-4.1 mini or Grok Code Fast 1?

For the stated presets, chat costs $0.0012 on GPT-4.1 mini and $0.00095 on Grok Code Fast 1; repository review costs $0.0248 and $0.0145; the cache-heavy agent loop costs $0.104 and $0.059. GPT-4.1 mini has no published cached-input rate, so cached tokens use its listed input rate. Grok Code Fast 1 has no published cached-input rate, so cached tokens use its listed input rate.

Which has the larger context window, GPT-4.1 mini or Grok Code Fast 1?

GPT-4.1 mini has the larger documented context window: 1M, compared with 256K.

Benchmark evidence

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

Browse raw public benchmark evidence6 rows

Coding

  • SWE-bench Verified

    GPT-4.1 mini23.6%
    Source
    Grok Code Fast 170.8%
    Source

    Grok Code Fast 1 leads this result

  • LiveCodeBench (Vals)

    GPT-4.1 mini—
    Grok Code Fast 162.0%
    Source

    Not directly comparable

Knowledge

  • MMLU

    GPT-4.1 mini87.5%
    Source
    Grok Code Fast 1—

    Not directly comparable

  • GPQA

    GPT-4.1 mini64.2%
    Source
    Grok Code Fast 1—

    Not directly comparable

Instruction following

  • IFEval

    GPT-4.1 mini88.5%
    Source
    Grok Code Fast 1—

    Not directly comparable

Math

  • FrontierMath v2 (Tiers 1-3)

    GPT-4.1 mini4.483%
    Source
    Grok Code Fast 1—

    Not directly comparable

6 public results · 1 shared

Watch GPT-4.1 mini vs Grok Code Fast 1

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

Read a sample issue

Join 2,000+ readers.

Last updated September 29, 2026