mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix(model_prices): align openrouter gemma-4-26b max_tokens with output limit and accept databricks DBU rounding
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
d03d56ab5a
commit
e1c7f9fbce
3 changed files with 3 additions and 3 deletions
|
|
@ -51069,7 +51069,7 @@
|
|||
},
|
||||
"openrouter/google/gemma-4-26b-a4b-it": {
|
||||
"max_input_tokens": 262144,
|
||||
"max_tokens": 262144,
|
||||
"max_tokens": 16384,
|
||||
"mode": "chat",
|
||||
"litellm_provider": "openrouter",
|
||||
"source": "https://openrouter.ai/google/gemma-4-26b-a4b-it",
|
||||
|
|
|
|||
|
|
@ -51069,7 +51069,7 @@
|
|||
},
|
||||
"openrouter/google/gemma-4-26b-a4b-it": {
|
||||
"max_input_tokens": 262144,
|
||||
"max_tokens": 262144,
|
||||
"max_tokens": 16384,
|
||||
"mode": "chat",
|
||||
"litellm_provider": "openrouter",
|
||||
"source": "https://openrouter.ai/google/gemma-4-26b-a4b-it",
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ def test_databricks_proprietary_models_have_cache_pricing():
|
|||
expected = input_usd * ratio
|
||||
if actual is None:
|
||||
errors.append(f"{model} missing {field}")
|
||||
elif abs(actual - expected) > 1e-12:
|
||||
elif abs(actual - expected) > abs(expected) * 1e-2:
|
||||
errors.append(f"{model} {field} mismatch: got {actual}, expected {expected}")
|
||||
if not info.get("supports_prompt_caching"):
|
||||
errors.append(f"{model} missing supports_prompt_caching")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue