Skip to content

Commit 4b3f274

Browse files
committed
fix(models): update GPT Luna pricing
1 parent 555b16f commit 4b3f274

2 files changed

Lines changed: 41 additions & 8 deletions

File tree

manifests/models/gpt-5-6-luna.json

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,15 @@
5757
{
5858
"url": "https://openai.com/index/gpt-5-6",
5959
"title": "GPT-5.6: Frontier intelligence that scales with your ambition",
60-
"fields": ["name", "description", "releaseDate", "lifecycle", "tokenPricing"]
60+
"fields": ["name", "description", "releaseDate", "lifecycle"]
61+
},
62+
{
63+
"url": "https://developers.openai.com/api/docs/pricing",
64+
"title": "OpenAI API pricing",
65+
"fields": ["tokenPricing"]
6166
}
6267
],
63-
"lastVerifiedAt": "2026-07-20",
68+
"lastVerifiedAt": "2026-07-31",
6469
"verifiedBy": "codex-agent",
6570
"confidence": "high",
6671
"websiteUrl": "https://openai.com",
@@ -78,16 +83,33 @@
7883
"currency": "USD",
7984
"region": "global",
8085
"serviceTier": "standard",
81-
"effectiveFrom": null,
86+
"effectiveFrom": "2026-07-31",
8287
"effectiveTo": null,
8388
"tiers": [
8489
{
85-
"condition": null,
90+
"condition": {
91+
"metric": "inputTokens",
92+
"min": 1,
93+
"max": 272000
94+
},
95+
"rates": {
96+
"input": 0.2,
97+
"output": 1.2,
98+
"cacheRead": 0.02,
99+
"cacheWrite": 0.25
100+
}
101+
},
102+
{
103+
"condition": {
104+
"metric": "inputTokens",
105+
"min": 272001,
106+
"max": 922000
107+
},
86108
"rates": {
87-
"input": 1,
88-
"output": 6,
89-
"cacheRead": 0.1,
90-
"cacheWrite": null
109+
"input": 0.4,
110+
"output": 1.8,
111+
"cacheRead": 0.04,
112+
"cacheWrite": 0.5
91113
}
92114
}
93115
]

tests/model-price-intelligence-index.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ describe('model price-intelligence index', () => {
4040
}
4141
})
4242

43+
it('uses the reduced GPT-5.6 Luna short-context price', () => {
44+
const luna = modelPriceIntelligencePoints.find(point => point.modelId === 'gpt-5-6-luna')
45+
46+
expect(luna).toMatchObject({
47+
inputPrice: 0.2,
48+
outputPrice: 1.2,
49+
pricingSource: 'official',
50+
})
51+
expect(luna?.blendedPrice).toBeCloseTo(0.3)
52+
})
53+
4354
it('uses reviewed USD API prices when the catalog offer is not directly comparable', () => {
4455
const fallbackPoints = modelPriceIntelligencePoints.filter(
4556
point => point.pricingSource === 'reference'

0 commit comments

Comments
 (0)