Overview

Passthrough endpoints keep the provider-native path and body instead of converting through an SDK-specific integration route. ModRouter still applies provider configuration, key selection, logging, governance, and plugin hooks where applicable. Use passthrough when:
  • the provider endpoint is not implemented by a ModRouter integration route,
  • you need provider-specific request fields exactly as-is,
  • you want ModRouter provider key management without rewriting the request body.

Endpoints

OpenAI Passthrough

Anthropic Passthrough

Azure Passthrough

ModRouter sources Azure auth details from the configured Azure provider key. Do not rely on client-supplied Azure api-key headers for upstream auth.

GenAI Passthrough

Integration vs Passthrough

Prefer integration routes when ModRouter implements the endpoint you need. They return SDK-compatible response shapes and normalize provider behavior. Use passthrough when you intentionally need the provider-native API surface.