Claude Haiku 5.5 vs GPT-6 Luna: pricing compared

For a 30-step coding agent run, GPT-6 Luna is 2.3x cheaper ($0.05 vs $0.12). Prices verified 2026-10-18.

Claude Haiku 5.5GPT-6 Luna
ProviderAnthropicOpenAI
Input / 1M$0.10$0.10
Cached input / 1M$0.01$0.01
Output / 1M$0.50$0.50
Batch discount50%50%
Context window1M1.05M
Long-context tierabove 100Kabove 272K

Cost on real workloads

WorkloadClaude Haiku 5.5GPT-6 Luna
10,000 chatbot replies
2,000 input + 400 output tokens each, 50% of the prompt cached
$3.10$3.10
One 30-step coding agent run
12K system + tools prompt, 1K output and 3K tool result per step, caching on
$0.12$0.05
1M documents classified (batch)
600 input + 20 output tokens each, batch API where available
$35.00$35.00

Price is only half the decision: a cheaper model that needs more steps or retries can cost more per finished task. Run your own numbers in the calculator (both models pinned), or see how both rank in the use-case guides.

FAQ

Is Claude Haiku 5.5 cheaper than GPT-6 Luna?

For a typical 30-step coding agent run with caching, GPT-6 Luna costs $0.05 and Claude Haiku 5.5 costs $0.12, so GPT-6 Luna is 2.3x cheaper. Per 1M tokens, Claude Haiku 5.5 is $0.10 / $0.50 and GPT-6 Luna is $0.10 / $0.50.

Which has the bigger context window?

Claude Haiku 5.5: 1,000,000 tokens. GPT-6 Luna: 1,050,000 tokens.