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
track api_call_start_time
Ishaan Jaffe2cdb00a810d
diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.pyindex d59f985584b..dbf2a7d3e54 100644--- a/litellm/litellm_core_utils/litellm_logging.py+++ b/litellm/litellm_core_utils/litellm_logging.py@@ -354,6 +354,8 @@ class Logging:str(e)))++ self.model_call_details["api_call_start_time"] = datetime.datetime.now()# Input Integration Logging -> If you want to log the fact that an attempt to call the model was madecallbacks = litellm.input_callback + self.dynamic_input_callbacksfor callback in callbacks: