GPT-5.4 minivsGrok 4.7
GPT-5.4 mini | Grok 4.7 | |
|---|---|---|
| Specifications | ||
Context windowHow much text the model can hold in mind at once — your question, any documents you attach, the conversation so far, and its own reply. Go past it and the earliest part falls out of view. | 400k | 500k |
| API pricingUSD per 1M tokens · lower wins · base tier | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | $0.75 | $2.00 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | $4.50 | $6.00 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | $0.075 | $0.50 |
Cheapest inputLowest input rate across third-party providers, excluding the lab itself. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | $0.75Azure | — |
Cheapest outputLowest output rate across third-party providers, excluding the lab itself. May come from a different provider than the cheapest input. | $4.50Azure | — |
| BenchmarksPublished by one model only | ||
BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 32% | — |
ProgramBenchProgram reconstruction — The AI receives a working program and its documentation, then builds a replacement from scratch without the original source code, internet access or decompilation. The score is the percentage of 200 programs that pass every behavioral test. We record each model's best published mini-SWE-agent result, including higher reasoning efforts where available. Partial test-pass rates and almost-solved programs do not count toward this score. Equal scores share a rank here; the official board also uses partial progress to break ties. Higher is better. | 0% | — |
DeepSWE 1.1Agentic coding — Artificial Analysis' independent test of deep, agentic software-engineering work — the AI has to plan and carry out substantial coding tasks end to end. (Version 1.1 of the test.) Higher is better. | — | 71% |
Supabase Evals · with skillsSupabase coding — Supabase's own open benchmark: a coding agent is dropped into a real Supabase project and asked to do real work — set up a schema, fix a broken security policy, debug an Edge Function — and every run is checked against a live Supabase stack. This is the headline number, where the agent has Supabase's own skills loaded, as most people building on Supabase would. The score is the share of scenarios it got right. Higher is better. | 65.2% | — |
Supabase Evals · no skillsSupabase coding — The same Supabase scenarios, but with none of Supabase's skills loaded — so it measures what the model already knows about building on Supabase, rather than how well it follows Supabase's supplied instructions. Higher is better. | 55.1% | — |
Terminal-Bench 4.0Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Version 4.0 recalibrated how much time, CPU and memory each task gets, removed eight tasks and fixed nineteen, so fewer runs fail for reasons that have nothing to do with the model. Scores are not comparable with earlier versions. Higher is better. | — | 38% |
BU BenchBrowser agent — Can the AI drive a real web browser to finish tasks — clicking, filling forms, and navigating sites the way a person would? Run by Browser Use on their BU Bench task set. Higher is better. | 36% | — |
Humanity's Last Exam · with toolsMultidisciplinary reasoning — Humanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | 41.5% | — |
EEBenchElectrical engineering — Electrical-engineering problems — the circuit and systems work an engineer would be handed. Reported in xAI's Grok 4.7 launch comparison, which does not say who publishes the test. Higher is better. | — | 64% |
OSWorld-VerifiedAgentic computer use — Can the AI actually operate a computer — clicking, typing, and using real apps — to finish tasks on its own? Higher is better. | 72.1% | — |
Harvey's Legal Agent BenchmarkAgentic legal work — Harvey's test of whether an AI agent can complete real legal work — drafting and reviewing documents, working with spreadsheets and presentations, and navigating files the way a lawyer's assistant would. Higher is better. | — | 19.6% |
HealthBench ProfessionalHealth — Realistic health conversations graded against detailed rubrics written by physicians — can the AI respond the way a careful medical professional would? Higher is better. | — | 56.7% |
GDPval-AA v2.1Knowledge work — economically valuable knowledge work (v2.1, Crowd-BT Elo fit) | — | 1695 |
AA-Briefcase v1.1Knowledge work — Artificial Analysis agentic office-work eval (Elo, v1.1 rating fit) | — | 1657 |
| Overview | ||
| Company | OpenAI | SpaceXAI |
| Release date | Mar 17 2026 | Sep 21 2026 |
| Access | Proprietary | Proprietary |
Other comparisons
GPT-5.4 minivsClaude Fable 5.1Grok 4.7vsClaude Fable 5.1GPT-5.4 minivsGemini 3.8 FlashGrok 4.7vsGemini 3.8 FlashGPT-5.4 minivsMuse Spark 1.3Grok 4.7vsMuse Spark 1.3GPT-5.4 minivsDeepSeek-V4.1-FlashGrok 4.7vsDeepSeek-V4.1-FlashGPT-5.4 minivsMistral Medium 3.5Grok 4.7vsMistral Medium 3.5GPT-5.4 minivsKimi K3Grok 4.7vsKimi K3
Frequently asked questions
GPT-5.4 mini and Grok 4.7 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. GPT-5.4 mini is cheaper on both input and output: $0.75 vs $2.00 per million input tokens, and $4.50 vs $6.00 per million output tokens. Figures are base-tier rates. GPT-5.4 mini shipped 188 days before Grok 4.7, so benchmark comparisons should account for the intervening progress.
Context windows are 400k (GPT-5.4 mini) vs 500k (Grok 4.7).
Direct benchmark comparisons are unavailable — GPT-5.4 mini and Grok 4.7 don't publish scores on any of the same benchmarks.