mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Gemini API Maps-grounded prompts were billed as web search and Vertex AI Maps-grounded prompts were not billed at all. Classify grounding metadata per candidate into web search vs Maps requests, carry a distinct google_maps_grounding_requests usage counter through non-streaming and streaming paths, and price it via the new google_maps_grounding_cost_per_query cost map key with per-query and per-prompt defaults keyed off web_search_billing_unit. Fixes #35906 |
||
|---|---|---|
| .. | ||
| baseline_db.py | ||
| check_file_length.py | ||
| check_files_match.py | ||
| generate_model_prices_schema.py | ||
| run_migration.py | ||
| security_scans_readme.md | ||
| TEST_KEY_PATTERNS.md | ||