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
chore: merge litellm_cost_shard_audio_images into litellm_cost_shard_passthrough
kerry-berrif63a85e9ccc4
diff --cc tests/integration/contracts.jsonindex e86536e13b5,ac9552484fc..d51a93785ef--- a/tests/integration/contracts.json+++ b/tests/integration/contracts.json@@@ -1432,23 -1447,26 +1447,44 @@@"tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[anthropic.claude-sonnet-5-v1:0-messages_cache_read]": ["quota_management.spend_tracking.cost_matrix.logs_cost"],+ "tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[gemini-3.1-pro-passthrough-generate_content_priced_via_gemini_key]": [+ "quota_management.spend_tracking.cost_matrix.logs_cost"+ ],+ "tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[gemini-3.1-pro-passthrough-stream_generate_content_priced_via_vertex_key]": [+ "quota_management.spend_tracking.scripted_wire.logs_cost"+ ],+ "tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[claude-sonnet-5-passthrough-messages]": [+ "quota_management.spend_tracking.cost_matrix.logs_cost"+ ],+ "tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[claude-sonnet-5-passthrough-messages_cache_read]": [+ "quota_management.spend_tracking.cost_matrix.logs_cost"+ ],+ "tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[anthropic.claude-sonnet-5-v1:0-passthrough-converse]": [+ "quota_management.spend_tracking.cost_matrix.logs_cost"+ ],+ "tests/integration/cost_calculation/test_cost_tracking.py::test_case_bills_expected_cost[anthropic.claude-sonnet-5-v1:0-passthrough-converse_stream]": [+ "quota_management.spend_tracking.scripted_wire.logs_cost"++ ],+ "tests/integration/mcp/test_mcp_lifecycle.py::test_health_intersects_route_restricted_key_grants_in_both_management_modes": [+ "other.mcp.health.restricted_keys_intersect_grants_in_both_modes"+ ],+ "tests/integration/mcp/test_mcp_lifecycle.py::test_warm_credential_removal_rejects_without_upstream_traffic": [+ "other.mcp.credentials.warm_removal_fails_closed_without_upstream_traffic"+ ],+ "tests/integration/observability/test_guardrail_effects.py::test_request_selected_mcp_guardrail_blocks_direct_and_virtual_calls": [+ "other.mcp.guardrails.request_selection_blocks_resolved_tool_without_execution"+ ],+ "tests/integration/mcp/test_oauth_configuration.py::test_same_url_oauth_credentials_and_revocation_are_isolated_by_user_and_server[revoke]": [+ "other.mcp.oauth.same_url_credentials_are_isolated_by_user_and_server"+ ],+ "tests/integration/mcp/test_oauth_configuration.py::test_same_url_oauth_credentials_and_revocation_are_isolated_by_user_and_server[expire]": [+ "other.mcp.oauth.same_url_credentials_are_isolated_by_user_and_server"+ ],+ "tests/integration/mcp/test_mcp_lifecycle.py::test_same_url_server_grants_scope_discovery_and_direct_or_virtual_execution[anonymous]": [+ "other.mcp.permissions.same_url_servers_enforce_discovery_and_execution"+ ],+ "tests/integration/mcp/test_mcp_lifecycle.py::test_same_url_server_grants_scope_discovery_and_direct_or_virtual_execution[bearer]": [+ "other.mcp.permissions.same_url_servers_enforce_discovery_and_execution"]},"browser": {