From a7b4dd9405c89a9f7d2e200d32c75c8bf42212cb Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 10 Jul 2026 08:28:04 +0800 Subject: [PATCH] feat(pricing): seed GPT-5.6 Sol/Terra/Luna pricing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the three GPT-5.6 tiers to seed_model_pricing, cross-checked against OpenAI's official pricing page and OpenRouter: gpt-5.6-sol 5 / 30 / 0.50 (cache read) gpt-5.6-terra 2.50 / 15 / 0.25 gpt-5.6-luna 1 / 6 / 0.10 cache_write is "0": OpenAI publishes only a cached-input (read) rate and no separate cache-write price, matching the gpt-5.x family convention. Base ids only for now — effort-suffix variants are deferred until the upstream logging suffix set for 5.6 is confirmed. New model, so seed only (no repair branch, no SCHEMA_VERSION bump). --- src-tauri/src/database/schema.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src-tauri/src/database/schema.rs b/src-tauri/src/database/schema.rs index 9ee0f7ea2..1c119995a 100644 --- a/src-tauri/src/database/schema.rs +++ b/src-tauri/src/database/schema.rs @@ -1455,6 +1455,10 @@ impl Database { "0.30", "3.75", ), + // GPT-5.6 系列(Sol / Terra / Luna,2026-06 发布) + ("gpt-5.6-sol", "GPT-5.6 Sol", "5", "30", "0.50", "0"), + ("gpt-5.6-terra", "GPT-5.6 Terra", "2.50", "15", "0.25", "0"), + ("gpt-5.6-luna", "GPT-5.6 Luna", "1", "6", "0.10", "0"), // GPT-5.5 系列 ("gpt-5.5", "GPT-5.5", "5", "30", "0.50", "0"), ("gpt-5.5-low", "GPT-5.5", "5", "30", "0.50", "0"),