Add GPT-5.6 pricing#164
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@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.
Summary
aa40f1eb4GPT-5.6 Sol, Terra, and Luna standard rates plus>272,000whole-request long-context rates into the canonicalCostUsagePricingmap.gpt-5.6,openai/gpt-5.6, supported Codex suffixes, and dated aliases togpt-5.6-solthrough one final alias application.CodexUsageRecord, so multiple short requests do not become one incorrectly long-context-priced daily aggregate.Upstream mapping
aa40f1eb4: Sol/Terra/Luna standard input, cache-read, output ratesCODEX_PRICING;test_gpt56_standard_pricingaa40f1eb4: whole-request long-context rates over 272kCodexLongContextRateson the same canonical model entry; long-context and threshold testsaa40f1eb4:gpt-5.6aliases resolve to Sol501e95150: stabilizationStructural follow-up
CodexParseResultandCodexParserState; all four parser tests assert records.record_usage.Unsupported dimensions
service_tierand turn IDs); this port has no such scanner or record fields.rust/src.Validation
gpt-5.6for final aliasing.cargo test --manifest-path rust/Cargo.toml gpt56 --lib(5);cargo test --manifest-path rust/Cargo.toml 'core::jsonl_scanner::tests' --lib(8).cargo test --manifest-path rust/Cargo.toml(536 library + 1 binary); clippy-D warnings.cargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml(303); clippy-D warnings.git diff --checkpassed. Frontend validation is not applicable because no frontend or bridge file changed.