Claude Sonnet 5 vs GPT-6 Luna: price, context and capabilities
Claude Sonnet 5 (claude-sonnet-5) and GPT-6 Luna (gpt-6-luna) side by side, from XiaoZhan AIhub's live catalogue: prices, context window and capabilities. Both are called with the same API key.
| Claude Sonnet 5 | GPT-6 Luna | |
|---|---|---|
| Model ID | claude-sonnet-5 | gpt-6-luna |
| Vendor | Anthropic | OpenAI |
| Category | Text generation | Text generation |
| Context window | 1M | 1.05M |
| Price | Input 0.4853Credits/K0.8088Credits· | Input 0.0121Credits/K0.0404Credits· |
| Image input | ||
| Web search | ||
| Tool calling | ||
| Reasoning | ||
| JSON mode | ||
| Open weights | ||
| Protocols | OpenAI Chat Completions · Anthropic Messages · OpenAI Responses | OpenAI Chat Completions · OpenAI Responses |
Key differences
- GPT-6 Luna costs less per input token (about 20× cheaper than Claude Sonnet 5).
- GPT-6 Luna costs less per output token.
- GPT-6 Luna has the longer context window (1.05M vs 1M tokens).
- Only GPT-6 Luna supports image generation.
Claude Sonnet 5
Anthropic Sonnet 5, the new best-value flagship. 1M context, balanced between reasoning and coding. Supports the OpenAI Chat, Anthropic Messages and OpenAI Responses protocols.
Prices, examples and API →
GPT-6 Luna
OpenAI GPT-6 Luna tier, the most economical of the series, for focused high-concurrency tasks. 1.05M context, adjustable reasoning effort, with web search and image generation ready to use; very long prompts are priced in a separate tier.
Prices, examples and API →
FAQ
- Can I call Claude Sonnet 5 and GPT-6 Luna with the same API key?
- Yes. Create one API key on XiaoZhan AIhub, set your SDK's base_url to https://api.dflop.top/v1, and switch between them by putting claude-sonnet-5 or gpt-6-luna in the model field.
- How are Claude Sonnet 5 and GPT-6 Luna billed?
- Each is billed by its own pricing (see the price row above); prices are in credits, 60 credits = ¥1. Failed requests are not charged.