diff --git a/src/bun/pricing.test.ts b/src/bun/pricing.test.ts index 8150f9a..11eb079 100644 --- a/src/bun/pricing.test.ts +++ b/src/bun/pricing.test.ts @@ -155,8 +155,8 @@ describe("computeCost", () => { }; const models = [ ["gpt-5.6-sol", 5, 30, 0.5, 6.25], - ["gpt-5.6-terra", 2.5, 15, 0.25, 3.125], - ["gpt-5.6-luna", 1, 6, 0.1, 1.25], + ["gpt-5.6-terra", 2, 12, 0.2, 2.5], + ["gpt-5.6-luna", 0.2, 1.2, 0.02, 0.25], ] as const; for (const [model, input, output, cacheRead, cacheWrite] of models) { diff --git a/src/bun/pricing.ts b/src/bun/pricing.ts index 895d291..1905f0d 100644 --- a/src/bun/pricing.ts +++ b/src/bun/pricing.ts @@ -30,8 +30,8 @@ const FETCH_TIMEOUT_MS = 2_500; export const PRICING: Record = { "gpt-5": { inputPer1M: 1.25, outputPer1M: 10, cacheReadPer1M: 0.125, cacheWritePer1M: 0 }, "gpt-5.6-sol": { inputPer1M: 5, outputPer1M: 30, cacheReadPer1M: 0.5, cacheWritePer1M: 6.25 }, - "gpt-5.6-terra": { inputPer1M: 2.5, outputPer1M: 15, cacheReadPer1M: 0.25, cacheWritePer1M: 3.125 }, - "gpt-5.6-luna": { inputPer1M: 1, outputPer1M: 6, cacheReadPer1M: 0.1, cacheWritePer1M: 1.25 }, + "gpt-5.6-terra": { inputPer1M: 2, outputPer1M: 12, cacheReadPer1M: 0.2, cacheWritePer1M: 2.5 }, + "gpt-5.6-luna": { inputPer1M: 0.2, outputPer1M: 1.2, cacheReadPer1M: 0.02, cacheWritePer1M: 0.25 }, "gpt-5.2": { inputPer1M: 1.75, outputPer1M: 14, cacheReadPer1M: 0.175, cacheWritePer1M: 0 }, "gpt-5.2-codex": { inputPer1M: 1.75, outputPer1M: 14, cacheReadPer1M: 0.175, cacheWritePer1M: 0 }, "gpt-5.3-codex": { inputPer1M: 1.75, outputPer1M: 14, cacheReadPer1M: 0.175, cacheWritePer1M: 0 },