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
Commits on main
fix(proxy): anchor metadata dict in _process_response/_process_error so pop() mutates the real dict
4625ccb michelligabriele committed 8 months ago
fix(proxy): address Greptile review — streaming request_data, OCR backward compat, test coverage
d8fd9a2 michelligabriele committed 8 months ago
fix(proxy): OpenAI Moderation post-call guardrail response not captured for logging
ae454fd michelligabriele committed 8 months ago
fix: rename test to match actual API parameter name (dimension)
a53ef4b Chesars committed 8 months ago
refactor(responses): extract shared format mapping between Responses API and Chat Completions bridges
2afa65d Chesars committed 8 months ago
fix: use correct parameter name 'dimension' for Vertex AI multimodalembedding
265e096 Chesars committed 8 months ago
fix(vertex_ai): forward dimensions parameter in multimodalembedding requests
7805f38 Chesars committed 8 months ago
fix(gemini): include DOCUMENT modality tokens in cost calculation
446456b Chesars committed 8 months ago
Merge pull request #24372 from Chesars/fix/gemini-web-search-cost
d233d66 Cesar Garcia committed 8 months ago
fix: remove web_search_billing_unit from OpenRouter/Perplexity entries
21b9c68 Chesars committed 8 months ago
Merge pull request #24370 from Chesars/fix/gemini-embedding-drop-unsupported-params
335f4e8 Cesar Garcia committed 8 months ago
Merge pull request #24368 from Chesars/fix/bedrock-converse-content-block-ordering
4e604d6 Cesar Garcia committed 8 months ago
Merge pull request #24371 from Chesars/fix/responses-api-gpt5-temperature-drop-params
16c48b4 Cesar Garcia committed 8 months ago
Merge pull request #24373 from Chesars/fix/zhipu-finish-reason-mapping
de91bbb Cesar Garcia committed 8 months ago
fix(vertex_ai): delegate web search cost to shared Gemini calculator
996d27b Chesars committed 8 months ago
fix: improve error message for supports-none models with temperature
bfee7f0 Chesars committed 8 months ago
docs: clarify web_search_billing_unit applies to Gemini models only
b607901 Chesars committed 8 months ago
refactor(gemini): use web_search_billing_unit field instead of hardcoded model name check
e82d3f6 Chesars committed 8 months ago
test: add supports_none branch coverage for Responses API GPT-5 temperature
f8a9bbd Chesars committed 8 months ago
fix(gemini): differentiate billing model and extract web search requests
4c99f3d Chesars committed 8 months ago
fix(gemini): read web search cost from model_info instead of hardcode
040c6fe Chesars committed 8 months ago
fix(responses-api): apply GPT-5 temperature validation in Responses API
fff83dd Chesars committed 8 months ago
fix(gemini): filter unsupported params from embedding requests
db0d85e Chesars committed 8 months ago
fix(bedrock): sort assistant content blocks so text precedes toolUse
dd7269e Chesars committed 8 months ago
Merge pull request #24354 from Chesars/fix/azure-streaming-role-include-usage
2132db4 Cesar Garcia committed 8 months ago