LogoLMSpeed
  • Home
  • Free
  • Models
  • Providers
  • Docs
LogoLMSpeed
LogoLMSpeed

The best API speed test tool

GitHubGitHubTwitterX (Twitter)Email
Product
  • Features
  • Pricing
  • FAQ
Leaderboard
  • Overview
  • Speed Ranking
  • Latency Ranking
  • Health Ranking
  • Model Pricing
  • Model Speed
  • Reasoning
  • Coding
Models
  • All Models
  • GPT
  • Claude
  • Gemini
  • DeepSeek
  • Llama
  • Qwen
Free Models
  • All Free Models
  • Free GPT
  • Free Claude
  • Free Gemini
  • Free DeepSeek
  • Free Llama
  • Free Qwen
Resources
  • Speed Test
  • Provider Directory
  • Documentation
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
© 2026 LMSpeed All Rights Reserved.Made by Nexmoe with ❤️
Back to models

Data points: 83

On this page

Key TakeawaysComparison sheetBenchmark score comparisonAPI audit comparisonProvider examplesWhen to choose each modelFAQRelated compare reports

Key Takeaways

The readout for GPT-5.1 Codex and GPT-5.4, before the detailed comparison sheet.

Decision read

GPT-5.4

GPT-5.4 currently has the stronger profile, with verified wins split 0 to 4.

Evidence depth

83 data points

Includes 8 benchmark rows, 1 audit samples, and 8 provider examples.

Selection signal

Start with GPT-5.4

The charts below split 17 high-signal samples across speed, scores, and audit health.

Model compare

GPT-5.1 Codex vs GPT-5.4

gpt-5-1-codex-vs-gpt-5-4

Model A

OpenAI

GPT-5.1 Codex

Model B

OpenAI

GPT-5.4

Overall leaderContenderLeading
Verified metric wins0 wins4 wins
Where it leadsNo dataCheapest input price, Free providers, Provider coverage, Recent tests
Model metadataGPT-5.1 Codex exposes 400K tokens; notable signals: Text input, Image input, Text output, Tool calling.GPT-5.4 exposes 1.1M tokens; notable signals: Text input, Image input, File input, Text output.
DeveloperOpenAIOpenAI
Context window400K tokens1.1M tokens
Max output128K tokens128K tokens
ReleasedNov 2025Mar 2026
Modalities

Input

TextImage

Output

Text

Input

TextImageFile

Output

Text
Features
Text inputImage inputText outputTool callingStructured outputsJSON modeReasoning
Text inputImage inputFile inputText outputTool callingStructured outputsJSON modeReasoning
ParametersNo dataNo data
TokenizerGPTGPT
Knowledge cutoffNo dataNo data
OpenRouter IDopenai/gpt-5.1-codexopenai/gpt-5.4
ReferencesNo dataNo data

Benchmark score comparison

Third-party benchmark profile synced into LMSpeed; only metrics available for both models are shown.

Metric
OpenAIGPT-5.1 Codex
OpenAIGPT-5.4
GPQA
86.0%#26
92.0%#3
SciCode
40.2%#46
56.6%#3
HLE
23.4%#33
41.6%#4
Output speed
185.7 tok/s#15
92.4 tok/s#56
Input price
$1.25/M#30
$2.50/M#37
Output price
$10.00/M#41
$15.00/M#44
Time to first answer token
4.25 s#48
134.24 s#111
Blended price
$3.44/M#58
$5.63/M#63

API audit comparison

Latest completed audits from shared providers, with four safety and integrity score groups plus report links.

Provider
OpenAIGPT-5.1 Codex
OpenAIGPT-5.4
钠 APIWinner: GPT-5.4
OpenAI

GPT-5.1 Codex

gpt-5.1-codex

No audit yet

OpenAI

GPT-5.4

gpt-5.4

Audit score

90

View report
1008476100

Provider examples

Speed aggregates and input/output pricing share each provider row for real API selection and migration cost checks.

Provider
OpenAIGPT-5.1 Codex
OpenAIGPT-5.4
Mars HK100 tests
OpenAI

GPT-5.1 Codex

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

57 tok/s / 3556ms

input / output

No data

天宫造物50 tests
OpenAI

GPT-5.1 Codex

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

50 tok/s / 7305ms

input / output

No data

Sub2API20 tests
OpenAI

GPT-5.1 Codex

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

51 tok/s / 4032ms

input / output

No data

Sub2API20 tests
OpenAI

GPT-5.1 Codex

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

34 tok/s / 1748ms

input / output

No data

星见雅 API20 tests
OpenAI

GPT-5.1 Codex

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

49 tok/s / 5435ms

input / output

No data

DNSHE
OpenAI

GPT-5.1 Codex

gpt-5.1-codex

speed / latency

No data

input / output

$0/M / $0/M

OpenAI

GPT-5.4

gpt-5.4-openai-compact

speed / latency

No data

input / output

$75.00/M / $450.00/M

KFCV50
OpenAI

GPT-5.1 Codex

gpt-5.1-codex-medium

speed / latency

No data

input / output

$0.014/M / $0.014/M

OpenAI

GPT-5.4

gpt-5.4-openai-compact

speed / latency

No data

input / output

$4.11/M / $24.66/M

CHB API
OpenAI

GPT-5.1 Codex

gpt-5.1-codex

speed / latency

No data

input / output

$0.017/M / $0.137/M

OpenAI

GPT-5.4

gpt-5.4-xhigh

speed / latency

No data

input / output

$0.034/M / $0.205/M

When to choose each model

This report only uses LMSpeed data for GPT-5.1 Codex and GPT-5.4: pricing, speed aggregates, third-party benchmark scores, and shared provider samples.

Guidance
OpenAIGPT-5.1 Codex
OpenAIGPT-5.4
When to choose each model

GPT-5.1 Codex

GPT-5.1 Codex does not clearly lead on the verified metrics here, so check provider-specific pricing before choosing.

GPT-5.4

GPT-5.4 is stronger when you prioritize Cheapest input price, Free providers, Provider coverage, Recent tests.

FAQ

TL;DR: GPT-5.4 leads across 83 verifiable data points, including pricing, speed, latency, benchmarks, and provider examples.

Why is this comparison indexable?
It has 4 verifiable comparison points, and both models have pricing or benchmark data.
Are missing metrics invented?
No. Metrics without LMSpeed data are omitted from this report.

Related compare reports

Continue from GPT-5.1 Codex vs GPT-5.4 into nearby model comparisons with enough verified LMSpeed data.

ClaudeClaude Opus 4.6 vs GPT-5.1 Codex4 verified data pointsOpenAIGPT-5 vs GPT-5.1 Codex4 verified data pointsOpenAIGPT-5.1 Codex vs GPT-5.24 verified data pointsGeminiGemini 2.5 Pro vs GPT-5.1 Codex4 verified data points

Data as of Jun 13, 2026, 01:30 PM·Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.