The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix linting
Ishaan Jafferf29165561ffe
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex e6fd2bb0ba7..9b5a7b42d0e 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -6115,6 +6115,17 @@"supports_function_calling": true,"supports_reasoning": true},+ "bedrock/moonshotai.kimi-k2-thinking": {+ "input_cost_per_token": 7.3e-07,+ "litellm_provider": "bedrock",+ "max_input_tokens": 262144,+ "max_output_tokens": 262144,+ "max_tokens": 262144,+ "mode": "chat",+ "output_cost_per_token": 3.03e-06,+ "supports_function_calling": true,+ "supports_reasoning": true+ },"bedrock/moonshotai.kimi-k2.5": {"input_cost_per_token": 7.3e-07,"litellm_provider": "bedrock",diff --git a/litellm/proxy/policy_engine/policy_resolve_endpoints.py b/litellm/proxy/policy_engine/policy_resolve_endpoints.pyindex 947c659abe4..a81d4405678 100644--- a/litellm/proxy/policy_engine/policy_resolve_endpoints.py+++ b/litellm/proxy/policy_engine/policy_resolve_endpoints.py@@ -7,11 +7,12 @@ Policy resolve and attachment impact estimation endpoints.import json-from litellm.proxy.auth.route_checks import RouteChecks+from fastapi import APIRouter, Depends, HTTPException, Queryfrom litellm._logging import verbose_proxy_loggerfrom litellm.constants import MAX_POLICY_ESTIMATE_IMPACT_ROWSfrom litellm.proxy._types import UserAPIKeyAuth+from litellm.proxy.auth.route_checks import RouteChecksfrom litellm.proxy.auth.user_api_key_auth import user_api_key_authfrom litellm.proxy.policy_engine.attachment_registry import get_attachment_registryfrom litellm.proxy.policy_engine.policy_registry import get_policy_registry