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: 81

On this page

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

Key Takeaways

The readout for Claude Sonnet 4 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 6.

Evidence depth

81 data points

Includes 8 benchmark rows, 0 audit samples, and 10 provider examples.

Selection signal

Start with GPT-5.4

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

Model compare

Claude Sonnet 4 vs GPT-5.4

claude-sonnet-4-vs-gpt-5-4

Model A

Claude

Claude Sonnet 4

Model B

OpenAI

GPT-5.4

Overall leaderContenderLeading
Verified metric wins0 wins6 wins
Where it leadsNo dataCheapest input price, Average speed, First-token latency, Free providers, Provider coverage, Recent tests
Model metadataClaude Sonnet 4 exposes 1M tokens; notable signals: Text input, Image input, File input, Text output.GPT-5.4 exposes 1.1M tokens; notable signals: Text input, Image input, File input, Text output.
DeveloperAnthropicOpenAI
Context window1M tokens1.1M tokens
Max output64K tokens128K tokens
ReleasedMay 2025Mar 2026
Modalities

Input

ImageTextFile

Output

Text

Input

TextImageFile

Output

Text
Features
Text inputImage inputFile inputText outputTool callingReasoning
Text inputImage inputFile inputText outputTool callingStructured outputsJSON modeReasoning
ParametersNo dataNo data
TokenizerClaudeGPT
Knowledge cutoff2025-01-31No data
OpenRouter IDanthropic/claude-sonnet-4openai/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
ClaudeClaude Sonnet 4
OpenAIGPT-5.4
GPQA
68.3%#83
92.0%#3
SciCode
37.3%#64
56.6%#3
HLE
4.0%#95
41.6%#4
Time to first answer token
1.07 s#24
134.24 s#111
Input price
$3.00/M#39
$2.50/M#37
Time to first token
1.07 s#39
134.24 s#110
Output price
$15.00/M#44
$15.00/M#44
Output speed
49.5 tok/s#90
92.4 tok/s#56

API audit comparison

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

Provider
ClaudeClaude Sonnet 4
OpenAIGPT-5.4
No completed audits are available from shared providers yet.

Provider examples

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

Provider
ClaudeClaude Sonnet 4
OpenAIGPT-5.4
天宫造物50 tests
Claude

Claude Sonnet 4

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

50 tok/s / 7305ms

input / output

No data

6345ywz API15 tests
Claude

Claude Sonnet 4

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

41 tok/s / 6581ms

input / output

No data

hibestoic15 tests
Claude

Claude Sonnet 4

speed / latency

N/A / N/A

input / output

No data

OpenAI

GPT-5.4

speed / latency

62 tok/s / 3351ms

input / output

No data

鲨鱼魔法15 tests
Claude

Claude Sonnet 4

speed / latency

36 tok/s / 6227ms

input / output

No data

OpenAI

GPT-5.4

speed / latency

N/A / N/A

input / output

No data

Completions10 tests
Claude

Claude Sonnet 4

speed / latency

27 tok/s / 1036ms

input / output

No data

OpenAI

GPT-5.4

speed / latency

36 tok/s / 557ms

input / output

No data

180txt API
Claude

Claude Sonnet 4

claude-sonnet-4-20250514

speed / latency

No data

input / output

$43.80/M / $219.00/M

OpenAI

GPT-5.4

gpt-5.4-openai-compact

speed / latency

No data

input / output

$0/M / $0/M

3173721 API
Claude

Claude Sonnet 4

claude-sonnet-4

speed / latency

No data

input / output

$0.0010/M / $0.0010/M

OpenAI

GPT-5.4

gpt-5.4-openai-compact

speed / latency

No data

input / output

$75.00/M / $450.00/M

Leonhard API
Claude

Claude Sonnet 4

claude-sonnet-4

speed / latency

No data

input / output

$3.00/M / $15.00/M

OpenAI

GPT-5.4

gpt-5.4

speed / latency

No data

input / output

$0.010/M / $0.010/M

涵冰API
Claude

Claude Sonnet 4

claude-sonnet-4

speed / latency

No data

input / output

$0.040/M / $0.200/M

OpenAI

GPT-5.4

gpt-5.4

speed / latency

No data

input / output

$0.020/M / $0.120/M

CHB API
Claude

Claude Sonnet 4

claude-sonnet-4-20250514

speed / latency

No data

input / output

$0.041/M / $0.205/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 Claude Sonnet 4 and GPT-5.4: pricing, speed aggregates, third-party benchmark scores, and shared provider samples.

Guidance
ClaudeClaude Sonnet 4
OpenAIGPT-5.4
When to choose each model

Claude Sonnet 4

Claude Sonnet 4 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, Average speed, First-token latency, Free providers, Provider coverage, Recent tests.

FAQ

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

Why is this comparison indexable?
It has 6 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 Claude Sonnet 4 vs GPT-5.4 into nearby model comparisons with enough verified LMSpeed data.

ClaudeClaude Opus 4.6 vs Claude Sonnet 46 verified data pointsClaudeClaude Sonnet 4 vs GPT-56 verified data pointsClaudeClaude Sonnet 4 vs GPT-5.26 verified data pointsClaudeClaude Sonnet 4 vs Gemini 2.5 Pro6 verified data points

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