🪙 chore: Update GPT-5.6 Sol Token Cost Rates (#15114)

This commit is contained in:
Joseph Licata 2026-08-22 11:02:29 -04:00 • committed by GitHub
parent 89494d45fd
commit fc7d56dffe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -473,10 +473,10 @@ describe('getMultiplier', () => {
it('should use the documented gpt-5.6 pricing', () => {
const expectedPricing = {
'gpt-5.6': {
standard: { prompt: 5, completion: 30 },
cache: { write: 6.25, read: 0.5 },
premium: { threshold: 272000, prompt: 10, completion: 45 },
premiumCache: { threshold: 272000, write: 12.5, read: 1 },
standard: { prompt: 4, completion: 20 },
cache: { write: 5, read: 0.4 },
premium: { threshold: 272000, prompt: 8, completion: 30 },
premiumCache: { threshold: 272000, write: 10, read: 0.8 },
},
'gpt-5.6-terra': {
standard: { prompt: 2, completion: 12 },

View file

@ -147,7 +147,7 @@ export const tokenValues: Record<string, { prompt: number; completion: number }>
'gpt-5.4-nano': { prompt: 0.2, completion: 1.25 },
'gpt-5.5': { prompt: 5, completion: 30 },
'gpt-5.5-pro': { prompt: 30, completion: 180 },
'gpt-5.6': { prompt: 5, completion: 30 },
'gpt-5.6': { prompt: 4, completion: 20 },
'gpt-5.6-terra': { prompt: 2, completion: 12 },
'gpt-5.6-luna': { prompt: 0.2, completion: 1.2 },
'chat-latest': { prompt: 5, completion: 30 },
@ -380,7 +380,7 @@ export const cacheTokenValues: Record<string, { write: number; read: number }> =
'gpt-5.4-mini': { write: 0.75, read: 0.075 },
'gpt-5.4-nano': { write: 0.2, read: 0.02 },
'gpt-5.5': { write: 5, read: 0.5 },
'gpt-5.6': { write: 6.25, read: 0.5 },
'gpt-5.6': { write: 5, read: 0.4 },
'gpt-5.6-terra': { write: 2.5, read: 0.2 },
'gpt-5.6-luna': { write: 0.25, read: 0.02 },
'chat-latest': { write: 5, read: 0.5 },
@ -435,7 +435,7 @@ export const premiumTokenValues: Record<
'gpt-5.4-pro': { threshold: 272000, prompt: 60, completion: 270 },
'gpt-5.5': { threshold: 272000, prompt: 10, completion: 45 },
'gpt-5.5-pro': { threshold: 272000, prompt: 60, completion: 270 },
'gpt-5.6': { threshold: 272000, prompt: 10, completion: 45 },
'gpt-5.6': { threshold: 272000, prompt: 8, completion: 30 },
'gpt-5.6-terra': { threshold: 272000, prompt: 4, completion: 18 },
'gpt-5.6-luna': { threshold: 272000, prompt: 0.4, completion: 1.8 },
'grok-4.5': { threshold: 200000, prompt: 4, completion: 12 },
@ -456,7 +456,7 @@ export const premiumCacheTokenValues: Record<
> = {
'gpt-5.4': { threshold: 272000, write: 5, read: 0.5 },
'gpt-5.5': { threshold: 272000, write: 10, read: 1 },
'gpt-5.6': { threshold: 272000, write: 12.5, read: 1 },
'gpt-5.6': { threshold: 272000, write: 10, read: 0.8 },
'gpt-5.6-terra': { threshold: 272000, write: 5, read: 0.4 },
'gpt-5.6-luna': { threshold: 272000, write: 0.5, read: 0.04 },
};