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
{"type":"session","version":3,"id":"01a11cb0-87cf-752e-a3e3-365c7a169871","timestamp":"2026-10-08T18:04:53.583Z","cwd":"/work"}
{"type":"agent_start"}
{"type":"turn_start"}
{"type":"message_start","message":{"role":"user","content":[{"type":"text","text":"do the task"}],"timestamp":1791482698176}}
{"type":"message_end","message":{"role":"user","content":[{"type":"text","text":"do the task"}],"timestamp":1791482698176}}
{"type":"message_start","message":{"role":"assistant","content":[],"api":"openai-completions","provider":"litellm","model":"claude-haiku-4-5-20251001","usage":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"totalTokens":0,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"stopReason":"pending","timestamp":1791482698355}}
{"type":"message_update","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"assistantMessageEvent":{"type":"text_start","contentIndex":0}}
{"type":"message_update","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"assistantMessageEvent":{"type":"text_delta","contentIndex":0,"delta":"You asked me"}}
{"type":"message_update","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"assistantMessageEvent":{"type":"text_delta","contentIndex":0,"delta":" to create h"}}
{"type":"message_update","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"assistantMessageEvent":{"type":"text_delta","contentIndex":0,"delta":"ello.txt."}}
{"type":"message_update","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"assistantMessageEvent":{"type":"text_end","contentIndex":0,"content":"You asked me to create hello.txt."}}
{"type":"message_end","message":{"role":"assistant","content":[{"type":"text","text":"You asked me to create hello.txt."}],"api":"openai-completions","provider":"litellm","model":"claude-haiku-4-5-20251001","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"stopReason":"stop","timestamp":1791482698355,"responseId":"chatcmpl-1","rawStopReason":"stop","durationMs":169,"thinkingLevel":"off"}}
{"type":"turn_end","message":{"role":"assistant","content":[{"type":"text","text":"You asked me to create hello.txt."}],"api":"openai-completions","provider":"litellm","model":"claude-haiku-4-5-20251001","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"stopReason":"stop","timestamp":1791482698355,"responseId":"chatcmpl-1","rawStopReason":"stop","durationMs":169,"thinkingLevel":"off"},"toolResults":[]}
{"type":"agent_end","messages":[{"role":"user","content":[{"type":"text","text":"do the task"}],"timestamp":1791482698176},{"role":"assistant","content":[{"type":"text","text":"You asked me to create hello.txt."}],"api":"openai-completions","provider":"litellm","model":"claude-haiku-4-5-20251001","usage":{"input":120,"output":9,"cacheRead":0,"cacheWrite":0,"reasoning":0,"totalTokens":129,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"stopReason":"stop","timestamp":1791482698355,"responseId":"chatcmpl-1","rawStopReason":"stop","durationMs":169,"thinkingLevel":"off"}],"willRetry":false}
{"type":"agent_settled","aborted":false}