This commit is contained in:
greeneclipse committed 2026-10-16 00:34:06 +02:00
1 parent 6586722652
commit 1e7c7bbfbb
65 files changed
+1345 -640

No files matched your search

+4
View File
@@ -36,6 +36,10 @@ type ModelPrice struct {
// GPT-5.6 rates here means a fresh database still costs correctly before the
// migration seed is edited. Rates: OpenAI list price, 2026-07-30.
var defaultModelPrices = map[string]ModelPrice{
// OpenAI public standard-rate text models, verified 2026-10-16.
"gpt-5.4-mini": {InputPerMTok: 750_000, CachedInputPerMTok: 75_000, OutputPerMTok: 4_500_000},
"gpt-5-mini": {InputPerMTok: 250_000, CachedInputPerMTok: 25_000, OutputPerMTok: 2_000_000},
"gpt-6-luna": {InputPerMTok: 100_000, CachedInputPerMTok: 10_000, OutputPerMTok: 500_000},
"gpt-5.6-luna": {InputPerMTok: 200_000, CachedInputPerMTok: 20_000, OutputPerMTok: 1_200_000},
"gpt-5.6-terra": {InputPerMTok: 2_000_000, CachedInputPerMTok: 200_000, OutputPerMTok: 12_000_000},
"gpt-5.6-sol": {InputPerMTok: 5_000_000, CachedInputPerMTok: 500_000, OutputPerMTok: 30_000_000},