Skip to content

Self-hosting

Run the open-source gateway yourself, with your own OpenRouter key, AWS account or a model on your own machine.

Applies to Engine
View as Markdown

The gateway is one container and a Postgres database. You bring the providers:

ProviderWhat you need
OpenRouteryour OpenRouter key
Amazon BedrockAWS credentials or a role with bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream
Any OpenAI-compatible endpointits address and key, if it has one: a model server on your own machine, or another gateway

What changes from Sypnia Cloud: there are no credits (usage is counted in your providers’ currency from a price table you can edit), no default models (you choose each one), and no console (the API, the CLI and MCP). Spans go to any OpenTelemetry endpoint you set.

  • Docker

    Run the gateway with Docker Compose, with Postgres, object storage and a local model.

  • Configuration

    Every setting of the gateway, its environment variable and its default.

  • Upgrades

    How versions are numbered, how to upgrade, and what each upgrade may change.

    Search pages, sections and terms