Update GPT-5.6 Codex context windows
- commit
- ff81437d6175c1568564d278a341e61452d8176f
- author
- mi-skam · · 2026-07-29 09:39 UTC
- parent
- d3084cc
- signature
- SSH Unverified
SHA256:Yu1uEv3+xppM2hvm7BsWney9tUWafRiTe/kq8zX8X0wThe key is unknown
2 files · +6 -6
M packages/provider/models.go +3 -3
| @@ -370,19 +370,19 @@ var Catalog = []Model{ | |||
| 370 | 370 | }, | |
| 371 | 371 | { | |
| 372 | 372 | Provider: "openai-codex", ID: "gpt-5.6-luna", DisplayName: "GPT-5.6 Luna", | |
| 373 | - | ContextWindow: 372000, MaxOutput: 128000, Reasoning: true, | |
| 373 | + | ContextWindow: 272000, MaxOutput: 128000, Reasoning: true, | |
| 374 | 374 | PriceInput: 1, PriceOutput: 6, PriceCacheRead: 0.1, PriceCacheWrite: 1.25, | |
| 375 | 375 | Speculative: true, | |
| 376 | 376 | }, | |
| 377 | 377 | { | |
| 378 | 378 | Provider: "openai-codex", ID: "gpt-5.6-sol", DisplayName: "GPT-5.6 Sol", | |
| 379 | - | ContextWindow: 372000, MaxOutput: 128000, Reasoning: true, | |
| 379 | + | ContextWindow: 272000, MaxOutput: 128000, Reasoning: true, | |
| 380 | 380 | PriceInput: 5, PriceOutput: 30, PriceCacheRead: 0.5, PriceCacheWrite: 6.25, | |
| 381 | 381 | Speculative: true, | |
| 382 | 382 | }, | |
| 383 | 383 | { | |
| 384 | 384 | Provider: "openai-codex", ID: "gpt-5.6-terra", DisplayName: "GPT-5.6 Terra", | |
| 385 | - | ContextWindow: 372000, MaxOutput: 128000, Reasoning: true, | |
| 385 | + | ContextWindow: 272000, MaxOutput: 128000, Reasoning: true, | |
| 386 | 386 | PriceInput: 2.5, PriceOutput: 15, PriceCacheRead: 0.25, PriceCacheWrite: 3.125, | |
| 387 | 387 | Speculative: true, | |
| 388 | 388 | }, | |
| @@ -370,19 +370,19 @@ var Catalog = []Model{ | |||||
| 370 | }, | 370 | }, | ||
| 371 | { | 371 | { | ||
| 372 | Provider: "openai-codex", ID: "gpt-5.6-luna", DisplayName: "GPT-5.6 Luna", | 372 | Provider: "openai-codex", ID: "gpt-5.6-luna", DisplayName: "GPT-5.6 Luna", | ||
| 373 | - | ContextWindow: 372000, MaxOutput: 128000, Reasoning: true, | 373 | + | ContextWindow: 272000, MaxOutput: 128000, Reasoning: true, |
| 374 | PriceInput: 1, PriceOutput: 6, PriceCacheRead: 0.1, PriceCacheWrite: 1.25, | 374 | PriceInput: 1, PriceOutput: 6, PriceCacheRead: 0.1, PriceCacheWrite: 1.25, | ||
| 375 | Speculative: true, | 375 | Speculative: true, | ||
| 376 | }, | 376 | }, | ||
| 377 | { | 377 | { | ||
| 378 | Provider: "openai-codex", ID: "gpt-5.6-sol", DisplayName: "GPT-5.6 Sol", | 378 | Provider: "openai-codex", ID: "gpt-5.6-sol", DisplayName: "GPT-5.6 Sol", | ||
| 379 | - | ContextWindow: 372000, MaxOutput: 128000, Reasoning: true, | 379 | + | ContextWindow: 272000, MaxOutput: 128000, Reasoning: true, |
| 380 | PriceInput: 5, PriceOutput: 30, PriceCacheRead: 0.5, PriceCacheWrite: 6.25, | 380 | PriceInput: 5, PriceOutput: 30, PriceCacheRead: 0.5, PriceCacheWrite: 6.25, | ||
| 381 | Speculative: true, | 381 | Speculative: true, | ||
| 382 | }, | 382 | }, | ||
| 383 | { | 383 | { | ||
| 384 | Provider: "openai-codex", ID: "gpt-5.6-terra", DisplayName: "GPT-5.6 Terra", | 384 | Provider: "openai-codex", ID: "gpt-5.6-terra", DisplayName: "GPT-5.6 Terra", | ||
| 385 | - | ContextWindow: 372000, MaxOutput: 128000, Reasoning: true, | 385 | + | ContextWindow: 272000, MaxOutput: 128000, Reasoning: true, |
| 386 | PriceInput: 2.5, PriceOutput: 15, PriceCacheRead: 0.25, PriceCacheWrite: 3.125, | 386 | PriceInput: 2.5, PriceOutput: 15, PriceCacheRead: 0.25, PriceCacheWrite: 3.125, | ||
| 387 | Speculative: true, | 387 | Speculative: true, | ||
| 388 | }, | 388 | }, | ||
M packages/provider/provider_test.go +3 -3
| @@ -436,9 +436,9 @@ func TestGPT56CatalogEntries(t *testing.T) { | |||
| 436 | 436 | {"openai", "gpt-5.6-luna", 272000, 1, 6, 0.1, 1.25}, | |
| 437 | 437 | {"openai", "gpt-5.6-sol", 272000, 5, 30, 0.5, 6.25}, | |
| 438 | 438 | {"openai", "gpt-5.6-terra", 272000, 2.5, 15, 0.25, 3.125}, | |
| 439 | - | {"openai-codex", "gpt-5.6-luna", 372000, 1, 6, 0.1, 1.25}, | |
| 440 | - | {"openai-codex", "gpt-5.6-sol", 372000, 5, 30, 0.5, 6.25}, | |
| 441 | - | {"openai-codex", "gpt-5.6-terra", 372000, 2.5, 15, 0.25, 3.125}, | |
| 439 | + | {"openai-codex", "gpt-5.6-luna", 272000, 1, 6, 0.1, 1.25}, | |
| 440 | + | {"openai-codex", "gpt-5.6-sol", 272000, 5, 30, 0.5, 6.25}, | |
| 441 | + | {"openai-codex", "gpt-5.6-terra", 272000, 2.5, 15, 0.25, 3.125}, | |
| 442 | 442 | {"azure-openai-responses", "gpt-5.6-luna", 1050000, 1, 6, 0.1, 1.25}, | |
| 443 | 443 | {"azure-openai-responses", "gpt-5.6-sol", 1050000, 5, 30, 0.5, 6.25}, | |
| 444 | 444 | {"azure-openai-responses", "gpt-5.6-terra", 1050000, 2.5, 15, 0.25, 3.125}, | |
| @@ -436,9 +436,9 @@ func TestGPT56CatalogEntries(t *testing.T) { | |||||
| 436 | {"openai", "gpt-5.6-luna", 272000, 1, 6, 0.1, 1.25}, | 436 | {"openai", "gpt-5.6-luna", 272000, 1, 6, 0.1, 1.25}, | ||
| 437 | {"openai", "gpt-5.6-sol", 272000, 5, 30, 0.5, 6.25}, | 437 | {"openai", "gpt-5.6-sol", 272000, 5, 30, 0.5, 6.25}, | ||
| 438 | {"openai", "gpt-5.6-terra", 272000, 2.5, 15, 0.25, 3.125}, | 438 | {"openai", "gpt-5.6-terra", 272000, 2.5, 15, 0.25, 3.125}, | ||
| 439 | - | {"openai-codex", "gpt-5.6-luna", 372000, 1, 6, 0.1, 1.25}, | 439 | + | {"openai-codex", "gpt-5.6-luna", 272000, 1, 6, 0.1, 1.25}, |
| 440 | - | {"openai-codex", "gpt-5.6-sol", 372000, 5, 30, 0.5, 6.25}, | 440 | + | {"openai-codex", "gpt-5.6-sol", 272000, 5, 30, 0.5, 6.25}, |
| 441 | - | {"openai-codex", "gpt-5.6-terra", 372000, 2.5, 15, 0.25, 3.125}, | 441 | + | {"openai-codex", "gpt-5.6-terra", 272000, 2.5, 15, 0.25, 3.125}, |
| 442 | {"azure-openai-responses", "gpt-5.6-luna", 1050000, 1, 6, 0.1, 1.25}, | 442 | {"azure-openai-responses", "gpt-5.6-luna", 1050000, 1, 6, 0.1, 1.25}, | ||
| 443 | {"azure-openai-responses", "gpt-5.6-sol", 1050000, 5, 30, 0.5, 6.25}, | 443 | {"azure-openai-responses", "gpt-5.6-sol", 1050000, 5, 30, 0.5, 6.25}, | ||
| 444 | {"azure-openai-responses", "gpt-5.6-terra", 1050000, 2.5, 15, 0.25, 3.125}, | 444 | {"azure-openai-responses", "gpt-5.6-terra", 1050000, 2.5, 15, 0.25, 3.125}, | ||