Compare chat models
Claude Haiku 5.5 vs GPT-6 Luna
Claude Haiku 5.5 and GPT-6 Luna cost about the same: a typical request (2,000 tokens in, 500 out) is $0.00045 on Claude Haiku 5.5 and $0.00045 on GPT-6 Luna.
GPT-6 Luna has the longer context window: 272k tokens against 100k for Claude Haiku 5.5.
Nicrron calls both with one API key through the same OpenAI-compatible endpoint, so you can try each on your own prompts and keep the one that works.
Side by side
| Detail | Claude Haiku 5.5 | GPT-6 Luna |
|---|---|---|
| Made by | Anthropic | OpenAI |
| Model id | anthropic/claude-haiku-5-5 | openai/gpt-6-luna |
| Context window | 100k tokens | 272k tokens (better) |
| Input, per 1M tokens | $0.10 | $0.10 |
| Output, per 1M tokens | $0.50 | $0.50 |
| One typical request | $0.00045 | $0.00045 |
| 10,000 requests | $4.50 | $4.50 |
A typical request here is 2,000 input tokens and 500 output tokens. Prices are each provider's list price in US dollars; requests paid from Nicrron credit add a 5% platform fee. The better value in each row is in bold. Price and context don't say which model answers better for your task: try both on your own prompts.
Try both with one key
The same request runs on either model; only the model id changes. This sends one prompt to both and prints the tokens each used.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.nicrron.ai/v1", api_key=os.environ["NICRRON_API_KEY"])
for model in ["anthropic/claude-haiku-5-5", "openai/gpt-6-luna"]:
reply = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Explain recursion in one sentence."}],
)
print(model, reply.usage.total_tokens, reply.choices[0].message.content)Or compare them in the browser: the Model Arena sends one prompt to several models at once.
Questions
- Which is cheaper, Claude Haiku 5.5 or GPT-6 Luna?
- Claude Haiku 5.5 costs $0.10 per million input tokens and $0.50 per million output tokens. GPT-6 Luna costs $0.10 per million input tokens and $0.50 per million output tokens. Claude Haiku 5.5 and GPT-6 Luna cost about the same: a typical request (2,000 tokens in, 500 out) is $0.00045 on Claude Haiku 5.5 and $0.00045 on GPT-6 Luna. These are the providers' list prices; requests paid from Nicrron credit add a 5% platform fee.
- Which has the bigger context window, Claude Haiku 5.5 or GPT-6 Luna?
- GPT-6 Luna has the longer context window: 272k tokens against 100k for Claude Haiku 5.5.
- Can I use Claude Haiku 5.5 and GPT-6 Luna with one API key?
- Yes. Nicrron calls both with one API key through the same OpenAI-compatible endpoint, https://api.nicrron.ai/v1/chat/completions. To switch, change the model from "anthropic/claude-haiku-5-5" to "openai/gpt-6-luna". Nothing else in the request changes.
- Can Nicrron fall back from Claude Haiku 5.5 to GPT-6 Luna?
- Yes. Send "model": "anthropic/claude-haiku-5-5" with "models": ["openai/gpt-6-luna"]. The models list is tried in order after the first model, so if Claude Haiku 5.5 can't answer, the same request goes to GPT-6 Luna.