Models

Claude Sonnet 4.0 vs GPT 5.6 Luna

Compare Claude Sonnet 4.0 from Anthropic and GPT 5.6 Luna from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

AnthropicClaude Sonnet 4.0OpenAIGPT 5.6 Luna
Anthropic logo
Claude Sonnet 4.0
Anthropic · text, image → text

Claude Sonnet 4 is a significant upgrade to Sonnet 3.7, delivering superior performance in coding and reasoning with enhanced precision and control. Achieving a state-of-the-art 72.7% on SWE-bench, the model expertly balances advanced capability with computational efficiency. Key improvements include more reliable codebase navigation and complex instruction following, making it ideal for a wide range of applications, from routine coding to complex software development projects.

Input$3 /M
Output$15 /M
OpenAI logo
GPT 5.6 Luna
OpenAI · text, image → text

GPT-5.6 Luna is designed for cost-sensitive, high-volume workloads. It roughly corresponds to the nano model tier used in earlier GPT-5 families.

Input$1 /M
Output$6 /M
Cache read$0.1 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Claude Sonnet 4.0
GPT 5.6 Luna
Input /M
$3
$1
Output /M
$15
$6
Cache read /M
-
$0.1
Context length
NaN
1,050,000
Max output
0
128,000
Time to First Token
2.1 s
2.2 s
Throughput
72.5 tok/s
88.4 tok/s
Modalities
textimage
textimage
Supported Parameters
thinkingtoolsfunction callingstructured outputs
toolsthinkingstructured outputs
API Formats
chat_completions · responses
Released
-
-

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

claude-sonnet-4-0gpt-5.6-luna

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

claude-sonnet-4-0gpt-5.6-luna

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

Cost calculator

Estimate your monthly bill for the same workload on each model.

GPT 5.6 Luna
$150 /mo
Claude Sonnet 4.0
$405 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Claude Sonnet 4.0, GPT 5.6 Luna?

GPT 5.6 Luna: $6/M output tokens; Claude Sonnet 4.0: $15/M. Use the cost calculator above to estimate your own workload.

Which responds faster?

Claude Sonnet 4.0: 2.1s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

Which one generates tokens faster?

GPT 5.6 Luna at 88.4 tok/s and Claude Sonnet 4.0 at 72.5 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Claude Sonnet 4.0 accepts text and image input and supports thinking, tool calling, function calling and structured outputs; GPT 5.6 Luna accepts text and image input and supports tool calling, thinking and structured outputs.

Can I call Claude Sonnet 4.0 and GPT 5.6 Luna with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.