docs: clarify web_search_billing_unit applies to Gemini models only

This commit is contained in:
Chesars 2026-03-22 18:32:03 -03:00
parent e82d3f6d2e
commit b6079018cd

View file

@ -616,7 +616,7 @@ LiteLLM tracks web search costs automatically based on provider-specific billing
Web search costs are defined in `model_prices_and_context_window.json` using two fields:
- **`search_context_cost_per_query`**: the cost per billable unit (per search context size tier).
- **`web_search_billing_unit`**: `"per_query"` (each search query is billed individually) or `"per_prompt"` (default — flat fee per API call that uses search).
- **`web_search_billing_unit`** *(on Gemini models)*: `"per_query"` (each search query is billed individually) or `"per_prompt"` (default — flat fee per API call that uses search).
```json
{