Repository navigation
Conversation
…ublished rates Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Greptile SummaryThis PR corrects pricing for four Gemini 2.5 Flash TTS and native audio model entries in
Confidence Score: 3/5Safe to merge only after also updating the bundled backup JSON file; as-is, the fallback path will serve incorrect pricing. The primary pricing file is correctly updated and the new values are independently verified against Google's current API pricing page. However, the bundled fallback file litellm/model_prices_and_context_window_backup.json — needs the same four-entry pricing correction applied
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Pricing corrected for 4 model entries (gemini-2.5-flash-preview-tts and gemini-2.5-flash-native-audio-preview-12-2025, both with and without gemini/ prefix); input/output token costs updated to match Google's published rates and output_cost_per_audio_token added for native audio models |
| litellm/model_prices_and_context_window_backup.json | Backup/bundled pricing file was not updated; all four affected model entries still carry the old incorrect pricing values and source URLs, which will be served as fallback when the remote fetch fails |
Reviews (1): Last reviewed commit: "Fix Gemini 2.5 Flash TTS and Native Audi..." | Re-trigger Greptile
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 |
Fixes the pricing mismatches reported in #32111.
Updates 4 entries (
gemini-2.5-flash-preview-tts,gemini-2.5-flash-native-audio-preview-12-2025, and theirgemini/-prefixed keys) to match Google's published prices at https://ai.google.dev/gemini-api/docs/pricing (accessed 2026-07-04):gemini-2.5-flash-preview-tts (mode: audio_speech)
input_cost_per_tokenoutput_cost_per_tokengemini-2.5-flash-native-audio-preview-12-2025
input_cost_per_tokeninput_cost_per_audio_tokenoutput_cost_per_tokenoutput_cost_per_audio_tokenAlso updated
sourceto the current pricing docs URL (the oldhttps://ai.google.dev/pricingredirects).Values were cross-verified against the primary source while building FactQuire (https://factquire.com), a source-verified facts feed for LLM APIs — each entry there carries the verbatim provider quote if useful for review: https://factquire.com/models/google/gemini-2_5-flash-preview-tts.html
🤖 Generated with Claude Code