Repository navigation
v1.93.37.0 Price Claude Haiku 5.5, GPT-6 Luna and Gemini 4 Argon for eval planning, and name the GPT-6 tiers in the Codex docs - #3732
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…ice default Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nd-cap case (claude-haiku-5-5 is priced now) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Before/after: eval planning now prices the three current models instead of stopping with EVAL_PRICE_MISSING. (Image render failed on this machine, so the before/after is text only.)
Before/after as text: Eval planning now prices the three current models instead of stopping with EVAL_PRICE_MISSING
lib/pricing.tsgains rows forclaude-haiku-5-5($0.10 in / $0.50 out / $0.01 cached per million tokens, standard tier up to 100,000 tokens),gpt-6-luna($0.10 / $0.50 / $0.01) andgemini-4-argon($4.00 / $20.00 / $0.20, the rates that start on 2026-12-01). Each row cites its provider page.docs/hosts.mdand the/codexexample (codex/SKILL.md.tmpland the generatedcodex/SKILL.md) namegpt-6-astra,gpt-6.1-solandgpt-6-lunaas the current OpenAI tiers, and say the bounded-scope overlay still applies only togpt-5.6-sol.Why
"lib/pricing.ts has no rows for claude-haiku-5-5, gemini-4-argon or TypeSafe Jev, so gstack-eval-plan refuses those arms (EVAL_PRICE_MISSING)" (#3640). #2943 asked to "add GPT-6 Sol/Luna tiers" because the docs still named gpt-5.6-sol as the current Sol model. Now those models can be planned and priced, and the Codex docs match the models people actually run.
Blast radius
The only code change is three new keys in the price table. Every consumer (
estimateCostUsd,hasPricing, policy-document arm discovery inlib/eval-plan.ts, the CSO eval producer throughtest/helpers/pricing) reads that one table, and policy-document matching uses escaped, boundary-anchored regexes, so a new key can't match inside a longer model id (read at lib/eval-plan.ts ~232; the new test proves the policy-document path). Existing rows are unchanged. One test on main (test/autoplan-run-api.test.ts) usedclaude-haiku-5-5as its example of an unpriced model; it now uses a made-up id, so it still proves an unpriced model reserves the default under a spend cap (CI free-suite shard 6 failed on that case before the change, 0 pass/1 fail locally, and passes after).Behavior changes
claude-haiku-5-5,gpt-6-lunaorgemini-4-argonnow yields that model as an eval arm instead of an EVAL_PRICE_MISSING error.gstack-eval-plan armsprices those three models.haikuagent family (lib/agent-model.ts) at Haiku 5.5's price instead of the unpriced default.Approvals
Summary
Eval planning had no prices for three models that are current at their providers, so any eval naming them refused to plan. This adds the rows, each checked against its provider page on 2026-10-31, and refreshes the Codex docs to the GPT-6 tiers. Credit to @exGeni (#3640) and @DanCanadian (#2943) for the reports; no contributor code was ported.
Test Coverage
All new code paths have test coverage: 6 of 6 paths tested (100%), value-weighted 100%, no weak paths beyond one optional extension (a numeric cost assertion for
gpt-6-luna).Tests: 1571 → 1571 (+0 new files; two new cases in
test/pricing-eval-plan.test.ts).Test value: 0 tests written by the audit, 0 rejected by the authoring gate, 0 existing tests extended, 0 paths weakly covered.
Tests ran: typecheck count unavailable
Tests ran: focused 52 (pricing-eval-plan, autoplan-run-api, parity-suite, skill-md-size-guard)
Tests ran: freshness count unavailable
Pre-Landing Review
Re-run at full depth (risk:money) on 2026-11-02 after the review-depth rules changed. Round 1 (specialists, Red Team, adversarial, money-targeted, GPT-6.1 Sol outside voice) found nothing at the blocking floor. CI then failed on one main-only test that used Haiku 5.5 as its unpriced example; after merging main once and fixing that test, round 2 ran the same panel on the result and found nothing blocking. No further rounds.
REVIEW_LOOP: passes=2 blocking_found=2 deferred=0 noted=2 fixed=0 scope=frozen unrecorded=2 ledgers_read=2 dispatches=4
The ledger counts four adversarial findings as CRITICAL because their text says FIXABLE; the reviewer marked each "Severity: Low. Blocks: no." Two carry a file:line and are recorded as noted; the two without a line (Argon
as_ofwording, the table's mixed current-vs-future rate rule) show asunrecorded=2and are listed in Review notes.Gate edits: none detected (2 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: proceed (GPT-6.1 Sol, no actionable findings, both rounds).
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
lib/pricing.ts:57claude-haiku-5-5 is priced at the standard tier (prompts up to 100,000 tokens). Prompts above that bill at 5x, so a Haiku run with prompts over 100K tokens can pass a spend-cap check with an estimate about 5x low; lib/spend-ledger.ts still records the real cost at settle. Follows the table's documented long-context exclusion. Follow-up: a per-row standard window that dry-run checks.lib/eval-plan.ts:232armsFromPolicyDoc (pre-existing) turns any whole-word mention of a priced model into an arm, so a downstream policy document that names claude-haiku-5-5 only to exclude it would now get a Haiku arm. This repo's docs/model-policy.md names none of the three models.lib/pricing.ts:77gemini-4-argon uses the rates that start 2026-12-01, so November estimates are 2x the current rate (conservative, never low), while the gemini-3.x flash rows use today's rates; the table has no single stated rule. as_of stays '2026-10' (the fetch month).changelog.d/gsta214-a.md:1Pricing claude-haiku-5-5 also changes the spend-cap reservation for the haiku agent family (lib/agent-model.ts:24): it now reserves at $0.10 / $0.50 instead of the unpriced default. Intended; the fragment names only eval planning.Exploratory QA
Smoke (CLI):
bin/gstack-eval-plan arms --arms claude-haiku-5-5,gpt-6-luna,gemini-4-argonprices all three on this branch (ARMS: n=3 priced=3) and fails with EVAL_PRICE_MISSING on main;--arms made-up-modelstill fails with EVAL_PRICE_MISSING (negative control). No plan checks were bound to this branch.Design Review
No frontend files changed — design review skipped.
Eval Results
bun run eval:select --base origin/main(profile pr): 0 behavioral probes and 0 quality judges selected; 26 Codex-related behaviors stay on scheduled/release coverage. No paid evals ran.Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). The approved plan lives with GST-531 (see Approvals).
Issues
Fixes #2943
Refs #3640
TODOS
No TODO items completed in this PR.
Documentation
Status: current. No documentation edits were needed and no blockers were found.
Scope: audit
gsta214a-docs-3on branchgsta214/a, diff82db89ab..386a71ba(7 committed files, nothing staged, unstaged, or untracked). Ship-owned edit mode.Documentation health:
docs/hosts.md: current. The bounded-scope overlay and default eval tier match code.codex/SKILL.md.tmplandcodex/SKILL.md: current. The-mexample usesgpt-6.1-sol.lib/pricing.ts: no doc surface lists prices; nothing to update.changelog.d/gsta214-a.md: reviewed, not edited (CHANGELOG mutation is out of scope).Coverage debt: no critical gaps. Pre-existing:
docs/CONTRIBUTING.md:178still namesclaude-haiku-4-5for warmup, outside this diff.Diagram drift: none found in the changed docs.
Test plan
bun run typecheck: exit 0bun test test/pricing-eval-plan.test.ts test/autoplan-run-api.test.ts test/parity-suite.test.ts test/skill-md-size-guard.test.ts: 52 pass, 0 failbun run gen:skill-docs --host allthengit diff --exit-codeand no untracked strays: freshgstack-pregate --stage tests --remote, Ubicloud): see the receipt above