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
Merge branch 'main' into litellm_dev_09_12_2025_p1
Krish Dholakia269515e525e9
diff --cc litellm/llms/custom_httpx/llm_http_handler.pyindex f8717706157,a4f40e90df5..d691549bc6b--- a/litellm/llms/custom_httpx/llm_http_handler.py+++ b/litellm/llms/custom_httpx/llm_http_handler.py@@@ -2500,13 -2500,10 +2508,13 @@@ class BaseLLMHTTPHandler)# Store original request for response transformation- litellm_params_with_request = {**litellm_params, "original_batch_request": create_batch_data}-+ litellm_params_with_request = {+ **litellm_params,+ "original_batch_request": create_batch_data,+ }+return provider_config.transform_create_batch_response(- model=None,+ model=model,raw_response=batch_response,logging_obj=logging_obj,litellm_params=litellm_params_with_request,@@@ -2585,13 -2578,10 +2594,13 @@@)# Store original request for response transformation (for async version)- litellm_params_with_request = {**litellm_params, "original_batch_request": create_batch_data or {}}-+ litellm_params_with_request = {+ **litellm_params,+ "original_batch_request": create_batch_data or {},+ }+return provider_config.transform_create_batch_response(- model=None,+ model=model,raw_response=batch_response,logging_obj=logging_obj,litellm_params=litellm_params_with_request,diff --cc litellm/proxy/_new_secret_config.yamlindex c30ac5f44aa,2fac2781a13..7ed87144c05--- a/litellm/proxy/_new_secret_config.yaml+++ b/litellm/proxy/_new_secret_config.yaml@@@ -1,17 -1,12 +1,12 @@@model_list:- - model_name: fake-openai-endpoint+ - model_name: byok-fixed-gpt-4o-minilitellm_params:- model: openai/fake- api_key: fake-key- api_base: https://exampleopenaiendpoint-production.up.railway.app/- - model_name: wildcard_models/*+ model: openai/gpt-4o-mini+ api_base: "https://webhook.site/2f385e05-00aa-402b-86d1-efc9261471a5"+ api_key: dummy+ - model_name: "byok-wildcard/*"litellm_params:model: openai/*- - model_name: hosted_vllm/*+ - model_name: xai-grok-3litellm_params:- model: hosted_vllm/*- api_base: https://webhook.site/6fbe498e-88b5-4a5f-8f07-edb9806c1937- api_key: fake-key- - model_name: deepseek-r1-5b- litellm_params:- model: ollama_chat/deepseek-r1:1.5b- model: xai/grok-3++ model: xai/grok-3