Skip to content

Add GPT-5.5 long-context pricing#151

Merged
mike1858 merged 1 commit intomainfrom
add-gpt-5-5-long-context-pricing
Apr 24, 2026
Merged

Add GPT-5.5 long-context pricing#151
mike1858 merged 1 commit intomainfrom
add-gpt-5-5-long-context-pricing

Conversation

@mike1858
Copy link
Copy Markdown
Member

@mike1858 mike1858 commented Apr 24, 2026

Summary

  • update GPT-5.5 and GPT-5.5 Pro pricing to use OpenAI's published short-context and long-context tiers
  • add the GPT-5.5 snapshot alias gpt-5.5-2026-04-23
  • use the published GPT-5.5 long-context cached-input rate

Test

  • cargo audit
  • cargo test models --all-targets

Summary by CodeRabbit

  • Updates
    • Updated pricing tiers for gpt-5.5 and gpt-5.5-pro models
    • Updated caching configuration for gpt-5.5
    • Added new versioned model alias gpt-5.5-2026-04-23

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 24, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The pull request updates the model registry for gpt-5.5 and gpt-5.5-pro, introducing tiered pricing structures split at 272,000 tokens and configuring cached input handling. A versioned alias gpt-5.5-2026-04-23 is added, resolving to the canonical gpt-5.5 model entry.

Changes

Cohort / File(s) Summary
Model Registry Configuration
src/models.rs
Updates gpt-5.5 with tiered pricing and tiered Google cached input; converts gpt-5.5-pro to tiered pricing while maintaining null caching. Introduces versioned alias gpt-5.5-2026-04-23 pointing to gpt-5.5.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • bl-ue

Poem

🐰 Hop, hop! New tiers have arrived,
At 272k tokens, the prices have thrived,
A versioned alias joins the fray,
gpt-5.5 shines in the brightest way! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding tiered pricing for GPT-5.5 models based on context length, which aligns with the primary modifications to src/models.rs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-gpt-5-5-long-context-pricing

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mike1858 mike1858 merged commit c610a69 into main Apr 24, 2026
5 of 6 checks passed
@mike1858 mike1858 deleted the add-gpt-5-5-long-context-pricing branch April 24, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant