detached 03bd33c

Merge pull request #116 from mi-skam/codex/gpt-5-6-context-metadata

Update GPT-5.6 Codex context windows
commit
03bd33c60a95d3e912bc921cda95d4e8ded362be
author
Patric Eckhart · · 2026-07-29 11:09 UTC
committer
GitHub · · 2026-07-29 11:09 UTC
merge of
d3084cc + ff81437 · diff against the first parent
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
refs
tag: v0.3.20
2 files · +6 -6
M packages/provider/models.go +3 -3
@@ -370,19 +370,19 @@ var Catalog = []Model{
370370 },
371371 {
372372 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,
374374 PriceInput: 1, PriceOutput: 6, PriceCacheRead: 0.1, PriceCacheWrite: 1.25,
375375 Speculative: true,
376376 },
377377 {
378378 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,
380380 PriceInput: 5, PriceOutput: 30, PriceCacheRead: 0.5, PriceCacheWrite: 6.25,
381381 Speculative: true,
382382 },
383383 {
384384 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,
386386 PriceInput: 2.5, PriceOutput: 15, PriceCacheRead: 0.25, PriceCacheWrite: 3.125,
387387 Speculative: true,
388388 },
@@ -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) {
436436 {"openai", "gpt-5.6-luna", 272000, 1, 6, 0.1, 1.25},
437437 {"openai", "gpt-5.6-sol", 272000, 5, 30, 0.5, 6.25},
438438 {"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},
442442 {"azure-openai-responses", "gpt-5.6-luna", 1050000, 1, 6, 0.1, 1.25},
443443 {"azure-openai-responses", "gpt-5.6-sol", 1050000, 5, 30, 0.5, 6.25},
444444 {"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},

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 476

↑↓ moveenter openesc close