Claude Code setup guide
Point Claude Code at CodingPass with one Base URL to run Sonnet 5.5 and Haiku 5.5 side by side.
Anthropic's Claude Haiku 5.5 and OpenAI's GPT-6 Luna both land at $0.10 input and $0.50 output per million tokens for short prompts. Under the hood, Haiku 5.5 pulls far ahead on terminal coding, computer use, and output speed, while GPT-6 Luna holds its base rate all the way to 272K tokens. Here is how their benchmarks, monthly workload bills, and agent setups compare.
Routing every file read, grep summary, and test log through a flagship model burns through both your budget and your patience. High-frequency coding subtasks belong on a fast, low-cost tier that can keep up with parallel subagents without dragging down latency.
In fall 2026, OpenAI and Anthropic refreshed their high-volume small models back to back: GPT-6 Luna (gpt-6-luna) arrived in September, followed by Claude Haiku 5.5 (claude-haiku-5-5) on October 7. Both hit the exact same short-context list price, yet they make opposite trade-offs on long-context pricing, agentic coding benchmarks, and raw token speed.
The bottom line: Under 100K input tokens, Claude Haiku 5.5 and GPT-6 Luna cost the exact same—$0.10/M input, $0.01/M cached input, and $0.50/M output. For coding subagents and desktop automation, Haiku 5.5 leads by a wide margin: 39.2% on Terminal-Bench 4.0 (vs. 16.4% for GPT-6 Luna at max effort), 72.4% on OSWorld 2.1 offline (vs. 48.9%), and 181–239 tokens/s throughput. Once single prompts climb into the 100K–272K range, however, GPT-6 Luna stays on its base tier while Haiku 5.5 jumps 5x—making Luna five times cheaper for large-context batch jobs.
Both models ship with million-token context windows and configurable reasoning effort. What actually moves your monthly bill is the long-context pricing cliff and generation throughput:
| Spec / Metric | Claude Haiku 5.5 | GPT-6 Luna |
|---|---|---|
| Model ID | claude-haiku-5-5 | gpt-6-luna |
| Release date | October 7, 2026 | September 2026 |
| Context / Max output | 1M / 128K tokens | 1.05M (~922K input) / 128K tokens |
| Short-context input | $0.10 / 1M (up to 100K) | $0.10 / 1M (up to 272K) |
| Short-context cached read | $0.01 / 1M (90% off) | $0.01 / 1M (90% off) |
| Short-context cache write | $0.125 (5-min) / $0.20 (1-hour) | $0.125 / 1M |
| Short-context output | $0.50 / 1M (up to 100K) | $0.50 / 1M (up to 272K) |
| Long-context pricing | Over 100K: $0.50 input / $2.50 output (5x) | Over 272K (whole request): $0.20 input / $0.02 cached / $0.75 output |
| Batch / async discount | 50% off via Batch API | 50% off via Batch / Flex; 30%–40% off background tiers |
| Effort controls | low / medium (default) / high / xhigh / max | none / low / medium (default) / high / xhigh / max |
| Observed throughput | ~181–239 tokens/s (Artificial Analysis / OpenRouter) | ~84–157 tokens/s (84–122 standard routing, up to 157 on fast endpoints) |
Two pricing and architecture details stand out in production.
First is the 100K vs. 272K threshold. Crossing 100K input tokens on Claude Haiku 5.5 multiplies both input and output rates by 5x ($0.50 / $2.50 per 1M). GPT-6 Luna keeps its $0.10 / $0.50 rate up to 272K tokens, and even past 272K it only steps up to 2x on input ($0.20) and 1.5x on output ($0.75). In both APIs, crossing the threshold reprices the entire request rather than just the overflow tokens.
Second is effort scaling and multi-turn thinking blocks. Haiku 5.5 is the first Haiku model with adaptive thinking via output_config.effort. One detail to watch: Haiku 5.5 retains thinking blocks from earlier assistant turns in the conversation context unless you strip them, so long multi-turn loops can creep toward the 100K cliff faster than expected. GPT-6 Luna adds a none effort setting, letting you turn off reasoning completely for pure extraction, JSON formatting, or routing calls.
When headline per-token prices match, benchmark reliability decides which model survives inside an automated loop. Here are the published numbers from Anthropic, OpenAI, and Artificial Analysis:
| Benchmark | Claude Haiku 5.5 | GPT-6 Luna | Reference / Conditions |
|---|---|---|---|
| Terminal-Bench 4.0 | 39.2% | 16.4% (max effort) | Haiku 4.5: 0.0%; Sonnet 5.5: 70.6% |
| OSWorld 2.1 (offline subset) | 72.4% | 48.9% (max effort) | Haiku 4.5: 15.7%; Sonnet 5.5: 83.9% |
| Artificial Analysis Intelligence Index | 43 (max effort) | 28–37 (low to max) | Independent composite benchmark |
| Humanity's Last Exam | 57.4% (with tools) | 38.5% (text-only subset) | Different test setups; listed for reference only |
| FrontierCode 1.1 | 46.4% | Not reported | Sonnet 5.5 (Xhigh): 52.1% |
| GDPval-AA v2.1 | 1620 Elo | Not reported | Haiku 4.5: 735; Sonnet 5.5: 1840 |
| DeepSWE v1.1 | Not reported | 66.6% (max effort) | Evaluated with mini-swe-agent harness |
The split is clear. On multi-step terminal work and GUI automation, Claude Haiku 5.5 operates in a different tier. Scoring 39.2% vs. 16.4% on Terminal-Bench 4.0 means Haiku 5.5 clears command-line coding tasks more than twice as often as GPT-6 Luna, and 72.4% on OSWorld 2.1 puts a $0.10/M model close to previous-generation mid-tier flagships. Paired with 181–239 tokens/s output speed, it feels snappy as a codebase explorer inside Claude Code.
GPT-6 Luna shines in a different lane: focused patch generation at max reasoning effort and large-context batch throughput. Its 66.6% score on DeepSWE v1.1 shows that with a well-scoped issue and full repo context, it can produce reliable diffs at a fraction of flagship cost. In interactive CLI loops where models frequently iterate on failing commands, though, its lower Terminal-Bench 4.0 score and slower token stream lead to more retries.
List prices tell half the story. To see what hits your invoice at month-end, factor in prompt caching and the 100K long-context cliff:
Monthly bill = Requests × [ (Input_M × (1 - cache_hit) × P_in) + (Input_M × cache_hit × P_cache) + (Output_M × P_out) ]
Here is how three realistic developer workloads scale across 10K, 100K, and 1M requests per month:
| Workload profile | 10K req/mo | 100K req/mo | 1M req/mo |
|---|---|---|---|
| Short-context subagent (20K input, 80% cache hit, 1K output) Same rate for Haiku 5.5 and GPT-6 Luna | $10.60 | $106.00 | $1,060.00 |
| Short-context uncached (20K input, 0% cache, 1K output) Same rate for Haiku 5.5 and GPT-6 Luna | $25.00 | $250.00 | $2,500.00 |
| Large-repo prompt (150K input, uncached, 2K output) Claude Haiku 5.5 (triggers >100K tier) | $800.00 | $8,000.00 | $80,000.00 |
| Large-repo prompt (150K input, uncached, 2K output) GPT-6 Luna (still inside ≤272K base tier) | $160.00 | $1,600.00 | $16,000.00 |
Two practical takeaways fall straight out of those numbers:
cost per call ÷ first-pass success rate + review time. Below 100K tokens, both models charge the same per token, so Haiku 5.5's higher Terminal-Bench pass rate saves retries and developer time. Above 100K tokens and below 272K, GPT-6 Luna's 5x price advantage dominates for batch log analysis, document pipelines, and full-repo sweeps.| Workload / Scenario | Recommended pick | Why (or the trade-off) |
|---|---|---|
| Claude Code / OpenCode explorer subagents | Claude Haiku 5.5 | 39.2% on Terminal-Bench 4.0 and up to 239 tokens/s keep file reads and grep loops snappy |
| Browser and desktop automation (GUI workflows) | Claude Haiku 5.5 | 72.4% on OSWorld 2.1, ahead of GPT-6 Luna by 23.5 points |
| 100K–272K log analysis and bulk repo reviews | GPT-6 Luna | Stays on $0.10 / $0.50 pricing up to 272K—5x cheaper than Haiku 5.5 in this band |
| High-volume JSON extraction, routing, classification | GPT-6 Luna (none) or Haiku 5.5 (low) | Same short-context price; Luna disables reasoning completely, Haiku 5.5 streams faster |
| Architecture design, multi-file refactors, hard bugs | Flagship + Haiku 5.5 split | Run Sonnet 5.5 or GPT-6.2 Sol as primary and offload search, summaries, and unit tests to Haiku 5.5 |
The most cost-effective coding setup keeps a flagship model in the main thread while routing exploration, context compression, and quick edits to Haiku 5.5. In Claude Code, setting ANTHROPIC_DEFAULT_HAIKU_MODEL to claude-haiku-5-5 automatically sends lightweight subagent work to Haiku 5.5 while your primary session stays on claude-sonnet-5-5.
Add this to ~/.claude/settings.json:
{ "env": { "ANTHROPIC_BASE_URL": "https://api.codingpass.ai", "ANTHROPIC_AUTH_TOKEN": "cp-live-your-key", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5" }}If you also use OpenCode or Codex and prefer one monthly allowance instead of juggling separate Anthropic and OpenAI billing accounts, CodingPass includes both claude-haiku-5-5 and gpt-6-luna among its 25 models, all metered at official API prices.
On the Go plan at $10 a month, your allowance covers roughly 31,100 Claude Haiku 5.5 requests (or about 104,000 on Plus), and you can spend the same pool on roughly 2,050 Claude Sonnet 5.5 requests whenever a task needs heavier reasoning. Check the model catalog and usage limits page for full IDs and cap details.
Claude Code speaks Anthropic's Messages API natively, so ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-5-5" is the clean path with native prompt caching, tool calling, and adaptive thinking blocks. If you want gpt-6-luna for 100K–272K long-context batch jobs alongside Claude, configure both providers in OpenCode or call gpt-6-luna directly via an OpenAI-compatible endpoint.
Haiku 5.5 defaults to medium. For file search, log summarization, and lint fixes, stepping output_config.effort down to low cuts latency and thinking-token spend. For multi-step shell debugging or computer use, pushing it to high or max pays off in first-pass accuracy. Start fresh threads or prune older thinking blocks periodically so multi-turn chats stay under the 100K pricing threshold.
Throughput and agent reliability. Haiku 5.5 streams at roughly 181–239 tokens/s compared with 84–122 tokens/s on standard GPT-6 Luna routing, which makes interactive subagent calls noticeably faster. More importantly, Haiku 5.5's lead on Terminal-Bench 4.0 (39.2% vs. 16.4%) and OSWorld 2.1 (72.4% vs. 48.9%) translates directly into fewer retry loops during real coding sessions.
CodingPass includes