Skip to content

Commit 1aeae8d

Browse files
committed
fix(opencode-go): use conservative peak pricing
1 parent e62d07a commit 1aeae8d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎packages/types/src/__tests__/opencode-go.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ describe("opencode-go registry", () => {
302302
contextWindow: 1_000_000,
303303
supportsImages: true,
304304
supportsReasoningEffort: ["disable", "low", "high", "max"],
305-
inputPrice: 0.22,
306-
outputPrice: 0.66,
307-
cacheReadsPrice: 0.007,
305+
inputPrice: 0.44,
306+
outputPrice: 1.32,
307+
cacheReadsPrice: 0.014,
308308
},
309309
},
310310
{

‎packages/types/src/providers/opencode-go.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,10 @@ export const opencodeGoModels: Record<string, ModelInfo> = {
474474
supportsReasoningEffort: ["disable", "low", "high", "max"],
475475
reasoningEffort: "high",
476476
preserveReasoning: true,
477-
inputPrice: 0.22,
478-
outputPrice: 0.66,
479-
cacheReadsPrice: 0.007,
477+
// Go has weekday peak/off-peak pricing; use peak rates until ModelInfo can express schedules.
478+
inputPrice: 0.44,
479+
outputPrice: 1.32,
480+
cacheReadsPrice: 0.014,
480481
description:
481482
"DeepSeek V4 Flash Vision Experimental is a fast multimodal reasoning model with a 1M context window. Available via the Opencode Go plan.",
482483
},

0 commit comments

Comments
 (0)