Skip to content

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]

Merge remote-tracking branch 'origin/litellm_internal_staging' into devin_ai_fix_gemini_stream_billing_36042

mateo-berrifed7a48b3c5e
diff --cc litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py
index 36455611c95,ddcca1d372b..ee9a5d94440
--- a/litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py
+++ b/litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py
@@@ -592,7 -615,8 +615,8 @@@ class VertexPassthroughLoggingHandler
response_cost: Final = litellm.completion_cost(
completion_response=litellm_model_response,
model=model,
- custom_llm_provider="vertex_ai",
+ custom_llm_provider=custom_llm_provider,
+ vertex_location=vertex_location,
)
kwargs["response_cost"] = response_cost