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
export const ROUTING_STATUS_FILTER_ID = "model_info_blocked";
export type RoutingStatusFilter = "active" | "paused" | null;
/**
* Maps the URL-state status filter to the `blocked` query param of
* `/v2/model/info`: "active" → false (not blocked), "paused" → true,
* null → undefined (no filtering).
*/
export const routingStatusToBlocked = (status: RoutingStatusFilter): boolean | undefined =>
status === null ? undefined : status === "paused";