Overview
An integration endpoint lets an existing provider SDK call ModRouter without using ModRouter’s native/v1 request shape directly.
The integration layer parses the SDK’s request format, converts it into ModRouter’s internal schema, runs the normal ModRouter pipeline, and converts the response back to the shape the SDK expects.
Set the gateway root URL from the environment and append the integration route in code or config:
MODROUTER_BASE_URL should not include /openai, /anthropic, /genai, or /v1; each integration page appends the route it needs.
This is different from passthrough:
Endpoint Families
The plain ModRouter OpenAI-compatible API remains available at
/v1.
Model Routing
Useprovider/model model IDs when you want ModRouter to route explicitly:
Authentication
Most SDKs require an API key locally even when ModRouter manages upstream provider keys. Use a ModRouter virtual key when governance is enabled. Otherwise, use a placeholder value accepted by the SDK. Common request auth options accepted by ModRouter include:List Models
ModRouter exposes model listing through the native/v1/models endpoint and through integration-specific routes such as /openai/v1/models, /anthropic/v1/models, and /genai/v1beta/models.
For provider-specific model listing on the native endpoint, use:
