Monoize logo

AI APIs look alike. Their contracts differ.

Monoize is a Rust gateway for OpenAI Responses, Chat Completions, Anthropic Messages, Gemini, embeddings, and image APIs. It converts protocol semantics, routes one logical model across multiple upstream channels, and recovers from upstream failures.

Near-lossless protocol conversion
Monoize decodes each protocol into one typed canonical form and encodes it for the upstream. Text, reasoning, tool calls, images, and usage keep their roles.
Request capture and inspection
Enable capture per request source. Inspect the exact downstream and upstream payloads of each attempt in a structured viewer.
Configurable transforms
33 built-in transforms adjust requests and responses. Attach them to a Provider, an API key, or the global chain. Model globs select where each rule applies.
Retry, fallback, circuit breaker
Monoize retries failed channels and falls forward to the next route. Fallback stops after the first response byte, so streams never mix two generations.