{"slug": "gpt-5-6-sol-terra-luna-which-model-for-your-stack", "title": "GPT-5.6 Sol, Terra, Luna: Which Model for Your Stack", "summary": "OpenAI released GPT-5.6 on July 9 as three distinct models—Sol, Terra, and Luna—with different pricing and capabilities, sharing a 1.05 million-token context window and 128K max output. The default gpt-5.6 alias routes to the most expensive Sol tier, potentially causing budget overruns for simpler tasks. The release also introduces Programmatic Tool Calling, allowing the model to orchestrate tools in a single API call via a sandboxed JavaScript runtime.", "body_md": "OpenAI shipped [GPT-5.6](https://openai.com/index/gpt-5-6/) on July 9 as three distinct models — Sol, Terra, and Luna — not a single upgrade. If you’re already calling `gpt-5.6`\n\nin the API, you’re silently routing to Sol, the most expensive tier at $5 per million input tokens. The alias is convenient. It’s also a budget surprise waiting to happen.\n\nHere’s what the family actually is, what’s new in the API, and how to decide which model belongs in your stack.\n\n## Three Models, Not One\n\nThe GPT-5.6 release is a lineup, not an upgrade. OpenAI ships three tiers that share the same 1.05 million-token context window and 128K max output, but differ significantly on capability and cost.\n\n| Model | API ID | Input (per 1M) | Output (per 1M) | Best For |\n|---|---|---|---|---|\n| Sol | `gpt-5.6-sol` | $5 | $30 | Hard agentic tasks, long-horizon coding |\n| Terra | `gpt-5.6-terra` | $2.50 | $15 | Production RAG, balanced workloads |\n| Luna | `gpt-5.6-luna` | $1 | $6 | High-volume, latency-sensitive work |\n\nThe `gpt-5.6`\n\nalias routes to Sol. If your workload is sentiment classification or document summarization at scale, you’re paying Sol rates for Luna work. Specify the model ID explicitly and you’ll cut your API costs by 60–80% with no meaningful quality loss for most tasks.\n\nAll three models share the same February 2026 knowledge cutoff. Requests above 272K input tokens trigger long-context pricing — $10/$45 per million for Sol, $5/$22.50 for Terra, $2/$9 for Luna — charged on the full request, not just the overage. Plan your chunking strategy accordingly.\n\n## Programmatic Tool Calling: Fewer Round Trips, Less Glue Code\n\nThe most interesting addition in this release isn’t the model tiers — it’s what GPT-5.6 can do with your tools in a single API call.\n\nProgrammatic Tool Calling lets the model write JavaScript that orchestrates your registered tools inside a hosted V8 runtime. Instead of the usual turn-by-turn pattern — model calls tool, you get the result, model calls the next tool, repeat — the model handles the whole sequence in one turn. It can call tools in parallel, pass results between them, and apply conditional logic without burning extra round trips.\n\nThe V8 runtime is isolated per request. It supports JavaScript with top-level await but has no access to Node.js, the network, the filesystem, or persistent state between executions. Think of it as a sandboxed coordinator, not a general compute environment. It is best suited to bounded operations: filtering, joining, ranking, deduplication, aggregation, and validation. Full details are in the [OpenAI Programmatic Tool Calling docs](https://developers.openai.com/api/docs/guides/tools-programmatic-tool-calling).\n\nThe API response gains three new output types when the model uses this feature: a `program`\n\nitem containing the generated JavaScript and a fingerprint, `function_call`\n\nitems made by the program, and a `program_output`\n\nitem with the final result. Programmatic Tool Calling is ZDR-compatible, which removes a common compliance blocker for enterprise users.\n\nThe practical gain: less orchestration code on your side, fewer tokens consumed, and deterministic intermediate results that don’t require another model call to process.\n\n## Sol Ultra: When You Need Parallel Reasoning\n\nSol ships with an Ultra mode that decomposes hard tasks across four parallel subagents by default. Each subagent gets its own context window and reasoning budget. They can communicate mid-run — a testing subagent can flag a bug directly back to the coder rather than waiting for a final review pass.\n\nOn Terminal-Bench 2.1, Sol Ultra scores 91.9% versus 88.8% for base Sol. On Agents’ Last Exam — a 55-field professional workflow evaluation — Sol sits at 53.6, which is 13.1 points ahead of Claude Fable 5 in adaptive reasoning mode.\n\nUltra is Sol-only and costs proportionally more because you’re running multiple subagents simultaneously. Reach for it when the task is genuinely open-ended: a multi-file refactor, a long-horizon autonomous coding job, or a research problem where parallel exploration beats one linear pass. For chatbots, classification, and summaries, it’s expensive overkill.\n\n## Multi-Agent Beta in the Responses API\n\nAll three GPT-5.6 models support concurrent subagent delegation through the [multi-agent feature in the Responses API](https://developers.openai.com/api/docs/guides/responses-multi-agent), currently in beta. Set `max_concurrent_subagents`\n\n(default: 3) to control how many subagents run simultaneously across the entire agent tree, including all descendants. Two caveats: `reasoning.summary`\n\nand `max_tool_calls`\n\nare not supported when multi-agent is enabled. Treat this as early infrastructure — the API will evolve.\n\n## Codex Is Now Inside ChatGPT Desktop\n\nOn July 9, Codex merged into the ChatGPT desktop app for Mac and Windows. The dedicated coding interface lives alongside Chat and Work, and ships with inline diff editing, pull request review in the side panel, faster Computer Use powered by GPT-5.6, and multi-repository project support. ChatGPT Work — document, spreadsheet, and presentation generation — is available on every plan, including free.\n\nThe standalone Codex app is gone. If your team relied on it as a separate workflow, the experience moves into the unified desktop app from here.\n\n## Which Model for Which Workload\n\n**Luna** for chatbots, classification, real-time response, and high-volume extraction**Terra** for production RAG pipelines, document analysis, and balanced agentic workloads**Sol** for complex multi-tool agents, long-horizon coding, and anything where quality outweighs cost**Sol Ultra** for genuinely hard open-ended problems where parallel reasoning pays off\n\nOpenAI is building toward a world where agentic workflows — multi-step, multi-tool, parallelized — are the default. Programmatic Tool Calling and the multi-agent beta are two pieces of that infrastructure arriving at once. If you’re building on the OpenAI API, audit which model your code is actually calling and whether the cost profile makes sense for each workload. The `gpt-5.6`\n\nalias will route you to Sol whether you asked for it or not.", "url": "https://wpnews.pro/news/gpt-5-6-sol-terra-luna-which-model-for-your-stack", "canonical_source": "https://byteiota.com/gpt-5-6-sol-terra-luna-which-model-for-your-stack/", "published_at": "2026-07-15 23:08:19+00:00", "updated_at": "2026-07-15 23:35:07.092692+00:00", "lang": "en", "topics": ["large-language-models", "ai-products", "ai-tools", "ai-infrastructure"], "entities": ["OpenAI", "GPT-5.6", "Sol", "Terra", "Luna", "Terminal-Bench 2.1", "Agents' Last Exam", "Claude Fable 5"], "alternates": {"html": "https://wpnews.pro/news/gpt-5-6-sol-terra-luna-which-model-for-your-stack", "markdown": "https://wpnews.pro/news/gpt-5-6-sol-terra-luna-which-model-for-your-stack.md", "text": "https://wpnews.pro/news/gpt-5-6-sol-terra-luna-which-model-for-your-stack.txt", "jsonld": "https://wpnews.pro/news/gpt-5-6-sol-terra-luna-which-model-for-your-stack.jsonld"}}