chore(azure): lower discount from 30% to 20% - #2125
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughUpdates discount values from 0.3 to 0.2 across multiple model and provider entries in the OpenAI models pricing configuration. No changes to exported interfaces, type signatures, or pricing fields other than the discount values. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.Comment |
There was a problem hiding this comment.
Pull request overview
Adjusts Azure pricing modifiers in the OpenAI model catalog so Azure-routed requests for specific OpenAI models now use a 20% discount (down from 30%), aligning cost calculation/routing behavior with updated pricing assumptions.
Changes:
- Updated Azure provider
discountfrom0.3to0.2for: gpt-5.1, gpt-5.2, gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, gpt-5.5, gpt-image-2.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
packages/models/src/models/openai.tsfromdiscount: 0.3todiscount: 0.2Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit