Repository navigation
Conversation
…nd azure/eu/ gpt-4o-2024-11-20 These two data-zone entries had cache_creation_input_token_cost but were missing cache_read_input_token_cost, so cached prompt tokens resolved to $0. Set to 1.375e-06 (1.1× the OpenAI base rate of 1.25e-06), matching every other azure/us/ and azure/eu/ gpt-4o entry. Fixes BerriAI#37823
Greptile SummaryAdds missing cache-read token pricing for the Azure EU and US variants of gpt-4o-2024-11-20.
Confidence Score: 4/5The pricing change appears safe to merge, with the non-blocking concern that its regional billing behavior has no accompanying verification. The added rates align with existing Azure EU and US gpt-4o entries, and no concrete pricing defect was established; only regression evidence is missing. Files Needing Attention: model_prices_and_context_window.json
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds consistent cache-read pricing to two regional Azure model entries, but the fix lacks focused verification. |
Reviews (1): Last reviewed commit: "fix(pricing): add missing cache_read_inp..." | Re-trigger Greptile
| "supports_vision": true | ||
| }, | ||
| "azure/eu/gpt-4o-2024-11-20": { | ||
| "cache_read_input_token_cost": 1.375e-06, |
There was a problem hiding this comment.
Unverified regional cache pricing
This pricing fix changes cache-read billing for the Azure EU and US model entries without a focused test or verification artifact, leaving future regressions in regional lookup and billing behavior uncovered.
Rule Used: What: Ensure that any PR claiming to fix an issue ... (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Superseded by rolling registry audit #37902, which reverified and absorbed the provider-documented metadata changes at field level |
What this fixes
azure/us/gpt-4o-2024-11-20andazure/eu/gpt-4o-2024-11-20are missingcache_read_input_token_costinmodel_prices_and_context_window.json. Every other azure data-zone gpt-4o entry carries this field at 1.375e-06 (1.1x the OpenAI base rate of 1.25e-06), but these two were never populated — so cached prompt tokens resolve to $0 in billing.Change
Added
cache_read_input_token_cost: 1.375e-06to both entries, matching the pattern fromazure/us/gpt-4o-2024-08-06andazure/eu/gpt-4o-2024-08-06.Verification
Fixes #37823