🐛 fix(pricing): adjust cachedInput values for GPT-5 models (#8723)

This commit is contained in:
bbbugg
2025-08-09 14:01:14 +08:00
committed by GitHub
parent 025d00202c
commit 652bf08ab8
+4 -4
View File
@@ -37,7 +37,7 @@ export const openaiChatModels: AIChatModelCard[] = [
units: [
{ name: 'textInput', rate: 1.25, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.13, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.125, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-08-07',
@@ -65,7 +65,7 @@ export const openaiChatModels: AIChatModelCard[] = [
units: [
{ name: 'textInput', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.03, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.025, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-08-07',
@@ -90,7 +90,7 @@ export const openaiChatModels: AIChatModelCard[] = [
units: [
{ name: 'textInput', rate: 0.05, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textOutput', rate: 0.4, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.01, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.005, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-08-07',
@@ -111,7 +111,7 @@ export const openaiChatModels: AIChatModelCard[] = [
units: [
{ name: 'textInput', rate: 1.25, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textOutput', rate: 10, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.13, strategy: 'fixed', unit: 'millionTokens' },
{ name: 'textInput_cacheRead', rate: 0.125, strategy: 'fixed', unit: 'millionTokens' },
],
},
releasedAt: '2025-08-07',