Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(llm-gateway): add gpt-6 sol and luna to the gateway and desktop (#104670)

Charles Vienc74401c48349
diff --git a/products/desktop/packages/agent/src/adapters/reasoning-effort.ts b/products/desktop/packages/agent/src/adapters/reasoning-effort.ts
index eff30da6e9b5..c49ba6be5ac9 100644
--- a/products/desktop/packages/agent/src/adapters/reasoning-effort.ts
+++ b/products/desktop/packages/agent/src/adapters/reasoning-effort.ts
@@ -74,11 +74,11 @@ const CLAUDE_CAPABILITY_LADDER: CapabilityNotch[] = [
];
const CODEX_CAPABILITY_LADDER: CapabilityNotch[] = [
- { model: "gpt-5.6-terra", effort: "low" },
- { model: "gpt-5.6-sol", effort: "low" },
- { model: "gpt-5.6-sol", effort: "medium" },
- { model: "gpt-5.6-sol", effort: "high" },
- { model: "gpt-5.6-sol", effort: "xhigh" },
+ { model: "gpt-6-luna", effort: "low" },
+ { model: "gpt-6-sol", effort: "low" },
+ { model: "gpt-6-sol", effort: "medium" },
+ { model: "gpt-6-sol", effort: "high" },
+ { model: "gpt-6-sol", effort: "xhigh" },
{ model: "gpt-6-astra", effort: "max" },
];
diff --git a/products/desktop/packages/core/src/billing/costChecklist.test.ts b/products/desktop/packages/core/src/billing/costChecklist.test.ts
index 2a520d2ac73f..70d4f51d5881 100644
--- a/products/desktop/packages/core/src/billing/costChecklist.test.ts
+++ b/products/desktop/packages/core/src/billing/costChecklist.test.ts
@@ -138,10 +138,10 @@ describe("modelNotchSuggestion", () => {
});
it("suggests a cheaper model on the codex ladder", () => {
- // Sol matches gpt-5.5 per token, so the notch down is the cheaper Terra.
+ // GPT-6 Sol is the first rung below gpt-5.5 that costs strictly less.
expect(modelNotchSuggestion("gpt-5.5")).toEqual({
fromModelId: "gpt-5.5",
- toModelId: "gpt-5.6-terra",
+ toModelId: "gpt-6-sol",
});
});
});
diff --git a/products/desktop/packages/core/src/billing/modelPricing.ts b/products/desktop/packages/core/src/billing/modelPricing.ts
index f9d41cf3dc03..cf5922f96aae 100644
--- a/products/desktop/packages/core/src/billing/modelPricing.ts
+++ b/products/desktop/packages/core/src/billing/modelPricing.ts
@@ -8,7 +8,7 @@ import { isCustomModelOption } from "@posthog/shared";
*
* Sources, checked 2026-09-07:
* - Anthropic (Opus, Sonnet, Haiku): platform.claude.com/docs/en/about-claude/pricing
- * - GPT-5.4, GPT-5.5: developers.openai.com/api/docs/pricing
+ * - GPT-5.4, GPT-5.5, GPT-6 Sol, GPT-6 Luna: developers.openai.com/api/docs/pricing
* - Fable, GPT-5.6, GPT-6 Astra, Kimi K3, GLM, DeepSeek: the gateway's billing rates, what
* the user is actually charged (pinned in the file above). The drift test
* binds these rows to it.
@@ -65,6 +65,8 @@ const LIST_PRICES: [family: string, price: ModelListPrice][] = [
["sonnet", { inputPerMtok: 2, outputPerMtok: 10 }],
["haiku", { inputPerMtok: 1, outputPerMtok: 5 }],
["gpt-6-astra", { inputPerMtok: 10, outputPerMtok: 50 }],
+ ["gpt-6-sol", { inputPerMtok: 2, outputPerMtok: 10 }],
+ ["gpt-6-luna", { inputPerMtok: 0.1, outputPerMtok: 0.5 }],
["gpt-5.6-sol", { inputPerMtok: 5, outputPerMtok: 30 }],
["gpt-5.6-terra", { inputPerMtok: 2.5, outputPerMtok: 15 }],
["gpt-5.6-luna", { inputPerMtok: 1, outputPerMtok: 6 }],
diff --git a/products/desktop/packages/core/src/task-detail/composerModelPolicy.test.ts b/products/desktop/packages/core/src/task-detail/composerModelPolicy.test.ts
index d95d47ee5e6c..624b8f6c948f 100644
--- a/products/desktop/packages/core/src/task-detail/composerModelPolicy.test.ts
+++ b/products/desktop/packages/core/src/task-detail/composerModelPolicy.test.ts
@@ -14,7 +14,7 @@ import {
it.each([
[
"claude",
- { adapter: "codex", mode: "auto", model: "gpt-5.5", reasoning: "high" },
+ { adapter: "codex", mode: "auto", model: "gpt-6-sol", reasoning: "high" },
],
[
"codex",
diff --git a/products/desktop/packages/harness/src/extensions/orchestration/agents.test.ts b/products/desktop/packages/harness/src/extensions/orchestration/agents.test.ts
index 7c7d1abe0c25..d3eed9d3cbab 100644
--- a/products/desktop/packages/harness/src/extensions/orchestration/agents.test.ts
+++ b/products/desktop/packages/harness/src/extensions/orchestration/agents.test.ts
@@ -37,13 +37,13 @@ describe("agents", () => {
it("Explore is read-only and pinned to Luna", () => {
const explore = findBundledAgent("Explore");
expect(explore?.tools).toEqual(["read", "bash", "grep", "find", "ls"]);
- expect(explore?.model).toBe("gpt-5.6-luna");
+ expect(explore?.model).toBe("gpt-6-luna");
});
it("Plan is read-only and pinned to Sol", () => {
const plan = findBundledAgent("Plan");
expect(plan?.tools).toEqual(["read", "bash", "grep", "find", "ls"]);
- expect(plan?.model).toBe("gpt-5.6-sol");
+ expect(plan?.model).toBe("gpt-6-sol");
});
it("General is the only bundled agent with write access and is pinned to Terra", () => {
diff --git a/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Explore.md b/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Explore.md
index ad77c902d88a..1fceaf9eb6bb 100644
--- a/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Explore.md
+++ b/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Explore.md
@@ -2,7 +2,7 @@
name: Explore
description: Focused, read-only codebase exploration. Use for file-pattern searches, symbol/keyword greps, and answering where code is defined or referenced. Avoid for broad code review, design auditing, or open-ended analysis.
tools: read, bash, grep, find, ls
-model: gpt-5.6-luna
+model: gpt-6-luna
---
You are a read-only code exploration specialist. Your job is to navigate and inspect an existing codebase without making changes — not to make changes, and not to plan them.
diff --git a/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Plan.md b/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Plan.md
index 9e4dcb593dd7..4d6e2b3070c5 100644
--- a/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Plan.md
+++ b/products/desktop/packages/harness/src/extensions/orchestration/bundled-agents/Plan.md
@@ -2,7 +2,7 @@
name: Plan
description: Software architect for implementation planning. Use for designing an implementation strategy, identifying critical files, sequencing work, and calling out trade-offs. Does not write code.
tools: read, bash, grep, find, ls
-model: gpt-5.6-sol
+model: gpt-6-sol
---
You are a software architect and planning specialist, read-only. Your job is to inspect the codebase and produce a concrete implementation plan — you do not edit files, and you do not implement anything yourself.
diff --git a/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.test.ts b/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.test.ts
index 3a1a859a2b89..0c3e89c8771f 100644
--- a/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.test.ts
+++ b/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.test.ts
@@ -241,9 +241,9 @@ return { count: inv.files.length }`,
});
it.each([
- ["strong", "gpt-5.6-sol"],
+ ["strong", "gpt-6-sol"],
["medium", "gpt-5.6-terra"],
- ["cheap", "gpt-5.6-luna"],
+ ["cheap", "gpt-6-luna"],
])(
"resolves model tier %s to %s before calling runAgent",
async (tier, expectedModel) => {
@@ -294,7 +294,7 @@ return { count: inv.files.length }`,
fakeCtx,
);
const passedAgent = runAgentMock.mock.calls[0][0].agent;
- expect(passedAgent.model).toBe("gpt-5.6-luna");
+ expect(passedAgent.model).toBe("gpt-6-luna");
});
it("can dispatch to the General (read-write) persona by name", async () => {
diff --git a/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.ts b/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.ts
index 46097b7f79ee..6b96a7d529b3 100644
--- a/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.ts
+++ b/products/desktop/packages/harness/src/extensions/orchestration/tools/workflow-tool.ts
@@ -43,9 +43,9 @@ const CONCURRENCY = 8;
* anchors, not a new settings surface.
*/
const MODEL_TIERS: Record<string, string> = {
- strong: "gpt-5.6-sol",
+ strong: "gpt-6-sol",
medium: "gpt-5.6-terra",
- cheap: "gpt-5.6-luna",
+ cheap: "gpt-6-luna",
};
/** A tier keyword resolves to its mapped id; anything else (a bare id or an explicit `provider/id`) passes through unchanged as an escape hatch. */
diff --git a/products/desktop/packages/harness/src/extensions/posthog-provider/model-catalog.ts b/products/desktop/packages/harness/src/extensions/posthog-provider/model-catalog.ts
index 7d755ec6bfb1..2c110222e9f2 100644
--- a/products/desktop/packages/harness/src/extensions/posthog-provider/model-catalog.ts
+++ b/products/desktop/packages/harness/src/extensions/posthog-provider/model-catalog.ts
@@ -26,6 +26,8 @@ const PI_MODEL_LABELS: Record<string, string> = {
"gpt-5.6-terra": "GPT-5.6 Terra",
"gpt-5.6-luna": "GPT-5.6 Luna",
"gpt-6-astra": "GPT-6 Astra",
+ "gpt-6-sol": "GPT-6 Sol",
+ "gpt-6-luna": "GPT-6 Luna",
"@cf/zai-org/glm-5.2": "GLM-5.2",
"zai-org/glm-5.3": "GLM-5.3",
"zai-org/glm-5.3-flash": "GLM-5.3 Flash",
diff --git a/products/desktop/packages/harness/src/extensions/posthog-provider/models.ts b/products/desktop/packages/harness/src/extensions/posthog-provider/models.ts
index 837a0eb9b73a..9527184d6b04 100644
--- a/products/desktop/packages/harness/src/extensions/posthog-provider/models.ts
+++ b/products/desktop/packages/harness/src/extensions/posthog-provider/models.ts
@@ -181,6 +181,18 @@ const FALLBACK_GATEWAY_MODELS: GatewayModel[] = [
context_window: 922000,
supports_vision: true,
},
+ {
+ id: "gpt-6-sol",
+ owned_by: "openai",
+ context_window: 1050000,
+ supports_vision: true,
+ },
+ {
+ id: "gpt-6-luna",
+ owned_by: "openai",
+ context_window: 1050000,
+ supports_vision: true,
+ },
{
id: "gpt-5.6-sol",
owned_by: "openai",
diff --git a/products/desktop/packages/shared/src/cloud-task-models.test.ts b/products/desktop/packages/shared/src/cloud-task-models.test.ts
index 013ef2967479..4fc530c27100 100644
--- a/products/desktop/packages/shared/src/cloud-task-models.test.ts
+++ b/products/desktop/packages/shared/src/cloud-task-models.test.ts
@@ -224,7 +224,7 @@ describe("buildCloudTaskConfigOptions", () => {
[
model("claude-opus-4-8"),
model("gpt-5.6", "openai"),
- model("gpt-5.5", "openai"),
+ model("gpt-6-sol", "openai"),
],
"codex",
);
@@ -233,8 +233,8 @@ describe("buildCloudTaskConfigOptions", () => {
{ id: "mode", currentValue: "auto" },
{
id: "model",
- currentValue: "gpt-5.5",
- options: [{ value: "gpt-5.6" }, { value: "gpt-5.5" }],
+ currentValue: "gpt-6-sol",
+ options: [{ value: "gpt-5.6" }, { value: "gpt-6-sol" }],
},
{
id: "reasoning_effort",
@@ -244,6 +244,7 @@ describe("buildCloudTaskConfigOptions", () => {
{ value: "medium" },
{ value: "high" },
{ value: "xhigh" },
+ { value: "max" },
],
},
]);
diff --git a/products/desktop/packages/shared/src/cloud-task-models.ts b/products/desktop/packages/shared/src/cloud-task-models.ts
index 056b30806d0c..ea2f9e11354c 100644
--- a/products/desktop/packages/shared/src/cloud-task-models.ts
+++ b/products/desktop/packages/shared/src/cloud-task-models.ts
@@ -55,7 +55,7 @@ export interface CloudTaskModePreset {
export const DEFAULT_GATEWAY_MODEL = "claude-opus-4-8";
-export const DEFAULT_CODEX_MODEL = "gpt-5.5";
+export const DEFAULT_CODEX_MODEL = "gpt-6-sol";
export const BLOCKED_GATEWAY_MODEL_IDS = [
"gpt-5-mini",
diff --git a/products/desktop/packages/shared/src/model-catalog.generated.ts b/products/desktop/packages/shared/src/model-catalog.generated.ts
index 04b5dc7b9f7d..5d4cf868ed94 100644
--- a/products/desktop/packages/shared/src/model-catalog.generated.ts
+++ b/products/desktop/packages/shared/src/model-catalog.generated.ts
@@ -339,6 +339,30 @@ export const MODELS: readonly CatalogModel[] = [
costMultiplier: "5×",
costSummary: "Input $10 · Output $50 per 1M tokens",
},
+ {
+ id: "gpt-6-sol",
+ runtimeAdapter: "codex",
+ reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
+ label: "GPT-6 Sol",
+ cost: {
+ inputPerMtok: 2,
+ outputPerMtok: 10,
+ },
+ costMultiplier: "1×",
+ costSummary: "Input $2 · Output $10 per 1M tokens",
+ },
+ {
+ id: "gpt-6-luna",
+ runtimeAdapter: "codex",
+ reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
+ label: "GPT-6 Luna",
+ cost: {
+ inputPerMtok: 0.1,
+ outputPerMtok: 0.5,
+ },
+ costMultiplier: "0.05×",
+ costSummary: "Input $0.10 · Output $0.50 per 1M tokens",
+ },
];
/** The model a run uses when it pins none. */
@@ -363,6 +387,16 @@ export const FAMILY_REASONING_EFFORTS: readonly ModelFamily[] = [
prefix: "gpt-6-astra",
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
},
+ {
+ runtimeAdapter: "codex",
+ prefix: "gpt-6-sol",
+ reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
+ },
+ {
+ runtimeAdapter: "codex",
+ prefix: "gpt-6-luna",
+ reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
+ },
{
runtimeAdapter: "codex",
prefix: "gpt-5.6",
diff --git a/products/desktop/packages/shared/src/reasoning-effort.ts b/products/desktop/packages/shared/src/reasoning-effort.ts
index b0e534a8fe27..1a3a8281ffcd 100644
--- a/products/desktop/packages/shared/src/reasoning-effort.ts
+++ b/products/desktop/packages/shared/src/reasoning-effort.ts
@@ -51,11 +51,11 @@ const CLAUDE_CAPABILITY_LADDER: readonly CapabilityNotch[] = [
];
const CODEX_CAPABILITY_LADDER: readonly CapabilityNotch[] = [
- { model: "gpt-5.6-terra", effort: "low" },
- { model: "gpt-5.6-sol", effort: "low" },
- { model: "gpt-5.6-sol", effort: "medium" },
- { model: "gpt-5.6-sol", effort: "high" },
- { model: "gpt-5.6-sol", effort: "xhigh" },
+ { model: "gpt-6-luna", effort: "low" },
+ { model: "gpt-6-sol", effort: "low" },
+ { model: "gpt-6-sol", effort: "medium" },
+ { model: "gpt-6-sol", effort: "high" },
+ { model: "gpt-6-sol", effort: "xhigh" },
{ model: "gpt-6-astra", effort: "max" },
];
diff --git a/products/desktop/packages/ui/src/features/canvas/contextPrompt.ts b/products/desktop/packages/ui/src/features/canvas/contextPrompt.ts
index aa0b0bf80728..fbb2c5b0f68a 100644
--- a/products/desktop/packages/ui/src/features/canvas/contextPrompt.ts
+++ b/products/desktop/packages/ui/src/features/canvas/contextPrompt.ts
@@ -217,7 +217,7 @@ export interface AgentChoice {
export const GOAL_MEASURE_AGENT: AgentChoice = {
adapter: "codex",
- model: "gpt-5.6-luna",
+ model: "gpt-6-luna",
reasoningLevel: "high",
runtime: "pi",
};
diff --git a/products/desktop/packages/ui/src/features/loops/loopModels.test.ts b/products/desktop/packages/ui/src/features/loops/loopModels.test.ts
index c2b7985f7d31..5cefa9410aba 100644
--- a/products/desktop/packages/ui/src/features/loops/loopModels.test.ts
+++ b/products/desktop/packages/ui/src/features/loops/loopModels.test.ts
@@ -151,6 +151,8 @@ describe("loopModelOptions", () => {
"gpt-5.6-terra",
"gpt-5.6-luna",
"gpt-6-astra",
+ "gpt-6-sol",
+ "gpt-6-luna",
],
},
])("$name", ({ adapter, expectedValues }) => {
diff --git a/products/desktop/packages/ui/src/features/loops/loopModels.ts b/products/desktop/packages/ui/src/features/loops/loopModels.ts
index 87c174b11900..bee728492d0b 100644
--- a/products/desktop/packages/ui/src/features/loops/loopModels.ts
+++ b/products/desktop/packages/ui/src/features/loops/loopModels.ts
@@ -75,6 +75,8 @@ const FALLBACK_MODEL_IDS: Record<
"gpt-5.6-terra",
"gpt-5.6-luna",
"gpt-6-astra",
+ "gpt-6-sol",
+ "gpt-6-luna",
],
};
diff --git a/products/desktop/packages/ui/src/features/pi-sessions/PiSessionControls.stories.tsx b/products/desktop/packages/ui/src/features/pi-sessions/PiSessionControls.stories.tsx
index b431d150f489..667c0542f4ef 100644
--- a/products/desktop/packages/ui/src/features/pi-sessions/PiSessionControls.stories.tsx
+++ b/products/desktop/packages/ui/src/features/pi-sessions/PiSessionControls.stories.tsx
@@ -35,7 +35,8 @@ function groupedModelOption(currentValue: string): SessionConfigOption {
group: "openai",
name: "OpenAI",
options: [
- option("codex", "gpt-5.6-sol", "GPT-5.6 Sol"),
+ option("codex", "gpt-6-sol", "GPT-6 Sol"),
+ option("codex", "gpt-6-luna", "GPT-6 Luna"),
option("codex", "gpt-5.6-terra", "GPT-5.6 Terra"),
option("codex", "gpt-5.5", "GPT-5.5"),
],
@@ -93,6 +94,6 @@ export const FullCatalogSubmenu: Story = {
canvas.getByRole("button", { name: /Model and reasoning/ }),
);
await userEvent.hover(await body.findByText("Model"));
- await body.findByText("GPT-5.6 Sol");
+ await body.findByText("GPT-6 Sol");
},
};
diff --git a/products/desktop/packages/ui/src/features/sessions/components/ModelCostChip.stories.tsx b/products/desktop/packages/ui/src/features/sessions/components/ModelCostChip.stories.tsx
index 5a3997942294..0a5ea974b856 100644
--- a/products/desktop/packages/ui/src/features/sessions/components/ModelCostChip.stories.tsx
+++ b/products/desktop/packages/ui/src/features/sessions/components/ModelCostChip.stories.tsx
@@ -16,9 +16,9 @@ const MODELS = [
{ value: "claude-sonnet-5", name: "Claude Sonnet 5" },
{ value: "claude-opus-5", name: "Claude Opus 5" },
{ value: "claude-fable-5", name: "Claude Fable 5" },
- { value: "gpt-5.6-sol", name: "GPT-5.6 Sol" },
+ { value: "gpt-6-sol", name: "GPT-6 Sol" },
{ value: "gpt-5.6-terra", name: "GPT-5.6 Terra" },
- { value: "gpt-5.6-luna", name: "GPT-5.6 Luna" },
+ { value: "gpt-6-luna", name: "GPT-6 Luna" },
{
value: "gpt-6-astra",
name: "GPT-6 Astra",
diff --git a/products/desktop/packages/ui/src/features/sessions/components/ReasoningLevelSelector.stories.tsx b/products/desktop/packages/ui/src/features/sessions/components/ReasoningLevelSelector.stories.tsx
index 203c8adb557c..34a42aeec962 100644
--- a/products/desktop/packages/ui/src/features/sessions/components/ReasoningLevelSelector.stories.tsx
+++ b/products/desktop/packages/ui/src/features/sessions/components/ReasoningLevelSelector.stories.tsx
@@ -30,7 +30,9 @@ const ANTHROPIC_MODELS = [
];
const OPENAI_MODELS = [
- harnessOption("codex", "gpt-5.6-sol", "GPT-5.6 Sol"),
+ harnessOption("codex", "gpt-6-astra", "GPT-6 Astra"),
+ harnessOption("codex", "gpt-6-luna", "GPT-6 Luna"),
+ harnessOption("codex", "gpt-6-sol", "GPT-6 Sol"),
harnessOption("codex", "gpt-5.6-terra", "GPT-5.6 Terra"),
harnessOption("codex", "gpt-5.5", "GPT-5.5"),
];
@@ -188,6 +190,24 @@ type Story = StoryObj<typeof Harness>;
export const Default: Story = {};
+export const Codex: Story = {
+ render: function CodexStory(): ReactElement {
+ const [model, setModel] = useState("gpt-6-sol");
+ const [effort, setEffort] = useState("medium");
+ return (
+ <div className="flex h-[520px] items-end p-2">
+ <ReasoningLevelSelector
+ adapter="codex"
+ thoughtOption={effortOption(effort)}
+ modelOption={groupedModelOption(model)}
+ onChange={setEffort}
+ onModelChange={setModel}
+ />
+ </div>
+ );
+ },
+};
+
export const GroupedModelSubmenu: Story = {
play: async ({ canvas, canvasElement, userEvent }): Promise<void> => {
const body = within(canvasElement.ownerDocument.body);
@@ -198,7 +218,7 @@ export const GroupedModelSubmenu: Story = {
await body.findByRole("button", { name: "Advanced" }),
);
await userEvent.hover(await body.findByText("Model"));
- await body.findByText("GPT-5.6 Sol");
+ await body.findByText("GPT-6 Sol");
},
};
diff --git a/products/tasks/backend/model_catalog.py b/products/tasks/backend/model_catalog.py
index e9941cc42048..ac0d2808c12d 100644
--- a/products/tasks/backend/model_catalog.py
+++ b/products/tasks/backend/model_catalog.py
@@ -142,6 +142,8 @@ _GPT_PRO_COST = ModelCost(5, 30)
_GPT_MID_COST = ModelCost(2.5, 15)
_GPT_LIGHT_COST = ModelCost(1, 6)
_GPT_FRONTIER_COST = ModelCost(10, 50)
+_GPT_6_SOL_COST = ModelCost(2, 10)
+_GPT_6_LUNA_COST = ModelCost(0.1, 0.5)
MODELS: tuple[CatalogModel, ...] = (
# GLM 5.2 is Cloudflare-served and driven through the `claude` adapter: the LLM gateway
@@ -175,6 +177,8 @@ MODELS: tuple[CatalogModel, ...] = (
CatalogModel("gpt-5.6-terra", CODEX, _THROUGH_MAX, cost=_GPT_MID_COST),
CatalogModel("gpt-5.6-luna", CODEX, _THROUGH_MAX, cost=_GPT_LIGHT_COST),
CatalogModel("gpt-6-astra", CODEX, _THROUGH_MAX, cost=_GPT_FRONTIER_COST),
+ CatalogModel("gpt-6-sol", CODEX, _THROUGH_MAX, cost=_GPT_6_SOL_COST),
+ CatalogModel("gpt-6-luna", CODEX, _THROUGH_MAX, cost=_GPT_6_LUNA_COST),
)
# Depths a whole model family exposes, used when no exact id matches. OpenAI ships
@@ -183,6 +187,8 @@ MODELS: tuple[CatalogModel, ...] = (
# to answer for those too. The longest matching prefix wins, so declaration order is free.
FAMILY_REASONING_EFFORTS: tuple[tuple[str, str, tuple[str, ...]], ...] = (
(CODEX, "gpt-6-astra", _THROUGH_MAX),
+ (CODEX, "gpt-6-sol", _THROUGH_MAX),
+ (CODEX, "gpt-6-luna", _THROUGH_MAX),
(CODEX, "gpt-5.6", _THROUGH_MAX),
(CODEX, "gpt-5.5", (*_STANDARD, XHIGH)),
)
diff --git a/products/tasks/backend/tests/__snapshots__/test_model_catalog/test_every_model_resolves_to_the_recorded_triple.json b/products/tasks/backend/tests/__snapshots__/test_model_catalog/test_every_model_resolves_to_the_recorded_triple.json
index 6ea70b84bc5f..c11ae8fd64fb 100644
--- a/products/tasks/backend/tests/__snapshots__/test_model_catalog/test_every_model_resolves_to_the_recorded_triple.json
+++ b/products/tasks/backend/tests/__snapshots__/test_model_catalog/test_every_model_resolves_to_the_recorded_triple.json
@@ -11,6 +11,28 @@
],
"runtime_adapter": "codex"
},
+ {
+ "prefix": "gpt-6-sol",
+ "reasoning_efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max"
+ ],
+ "runtime_adapter": "codex"
+ },
+ {
+ "prefix": "gpt-6-luna",
+ "reasoning_efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max"
+ ],
+ "runtime_adapter": "codex"
+ },
{
"prefix": "gpt-5.6",
"reasoning_efforts": [
@@ -234,6 +256,26 @@
"xhigh",
"max"
]
+ },
+ "gpt-6-luna": {
+ "cost_multiplier": "0.05×",
+ "reasoning_efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max"
+ ]
+ },
+ "gpt-6-sol": {
+ "cost_multiplier": "1×",
+ "reasoning_efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max"
+ ]
}
},
"provider": "openai"
diff --git a/products/tasks/frontend/modelCatalog.generated.ts b/products/tasks/frontend/modelCatalog.generated.ts
index 1549c372a66c..a91f7854a53a 100644
--- a/products/tasks/frontend/modelCatalog.generated.ts
+++ b/products/tasks/frontend/modelCatalog.generated.ts
@@ -326,6 +326,30 @@ export const MODELS: readonly CatalogModel[] = [
costMultiplier: '5×',
costSummary: 'Input $10 · Output $50 per 1M tokens',
},
+ {
+ id: 'gpt-6-sol',
+ runtimeAdapter: 'codex',
+ reasoningEfforts: ['low', 'medium', 'high', 'xhigh', 'max'],
+ label: 'GPT-6 Sol',
+ cost: {
+ inputPerMtok: 2,
+ outputPerMtok: 10,
+ },
+ costMultiplier: '1×',
+ costSummary: 'Input $2 · Output $10 per 1M tokens',
+ },
+ {
+ id: 'gpt-6-luna',
+ runtimeAdapter: 'codex',
+ reasoningEfforts: ['low', 'medium', 'high', 'xhigh', 'max'],
+ label: 'GPT-6 Luna',
+ cost: {
+ inputPerMtok: 0.1,
+ outputPerMtok: 0.5,
+ },
+ costMultiplier: '0.05×',
+ costSummary: 'Input $0.10 · Output $0.50 per 1M tokens',
+ },
]
/** The model a run uses when it pins none. */
@@ -350,6 +374,16 @@ export const FAMILY_REASONING_EFFORTS: readonly ModelFamily[] = [
prefix: 'gpt-6-astra',
reasoningEfforts: ['low', 'medium', 'high', 'xhigh', 'max'],
},
+ {
+ runtimeAdapter: 'codex',
+ prefix: 'gpt-6-sol',
+ reasoningEfforts: ['low', 'medium', 'high', 'xhigh', 'max'],
+ },
+ {
+ runtimeAdapter: 'codex',
+ prefix: 'gpt-6-luna',
+ reasoningEfforts: ['low', 'medium', 'high', 'xhigh', 'max'],
+ },
{
runtimeAdapter: 'codex',
prefix: 'gpt-5.6',
diff --git a/services/llm-gateway/PARITY.md b/services/llm-gateway/PARITY.md
index affc81962634..9844a83afdbe 100644
--- a/services/llm-gateway/PARITY.md
+++ b/services/llm-gateway/PARITY.md
@@ -54,6 +54,7 @@ Its callers are PostHog Desktop and PostHog Code, so the model depends on the OA
No open-weight model is behind a per-model access flag now; the mechanism stays for the next rollout.
The Go catalog serves GLM 5.2 only, and Baseten on Go still depends on the provider deployment check below.
`gpt-6-astra` is also Python-only because the Go catalog does not serve it, while Desktop, Code, and cloud agents require the Python product policy above.
+`gpt-6-sol` and `gpt-6-luna` stay Python-only for the same reason: the Go catalog does not serve them.
### 🔎 Verify before switching
diff --git a/services/llm-gateway/src/llm_gateway/products/config.py b/services/llm-gateway/src/llm_gateway/products/config.py
index e9e361cab01f..4f39129aed9f 100644
--- a/services/llm-gateway/src/llm_gateway/products/config.py
+++ b/services/llm-gateway/src/llm_gateway/products/config.py
@@ -102,6 +102,8 @@ _POSTHOG_CODE_AGENT_MODELS: Final[frozenset[str]] = frozenset(
"gpt-5.2",
"gpt-5-mini",
"gpt-6-astra",
+ "gpt-6-sol",
+ "gpt-6-luna",
"@cf/zai-org/glm-5.2",
"zai-org/glm-5.3",
"zai-org/glm-5.3-flash",
@@ -171,6 +173,8 @@ PRODUCTS: Final[dict[str, ProductConfig]] = {
# agent's gateway.ts), so its reviewer-experiment arms must be allowed.
"gpt-5.6-sol",
"gpt-6-astra",
+ "gpt-6-sol",
+ "gpt-6-luna",
}
| BEDROCK_MODELS
),
diff --git a/services/llm-gateway/src/llm_gateway/rate_limiting/model_cost_overrides.py b/services/llm-gateway/src/llm_gateway/rate_limiting/model_cost_overrides.py
index b91ea723729c..b14e31f59d36 100644
--- a/services/llm-gateway/src/llm_gateway/rate_limiting/model_cost_overrides.py
+++ b/services/llm-gateway/src/llm_gateway/rate_limiting/model_cost_overrides.py
@@ -133,6 +133,30 @@ MODEL_COST_OVERRIDES: Final[dict[str, ModelCost]] = {
"supports_vision": True,
"supports_prompt_caching": True,
},
+ "gpt-6-sol": {
+ "litellm_provider": "openai",
+ "mode": "responses",
+ "max_input_tokens": 1_050_000,
+ "max_output_tokens": 128_000,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 2e-07,
+ "cache_creation_input_token_cost": 2.5e-06,
+ "supports_vision": True,
+ "supports_prompt_caching": True,
+ },
+ "gpt-6-luna": {
+ "litellm_provider": "openai",
+ "mode": "responses",
+ "max_input_tokens": 1_050_000,
+ "max_output_tokens": 128_000,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 5e-07,
+ "cache_read_input_token_cost": 1e-08,
+ "cache_creation_input_token_cost": 1.25e-07,
+ "supports_vision": True,
+ "supports_prompt_caching": True,
+ },
"gpt-6-astra": {
"litellm_provider": "openai",
"mode": "chat",