Apache-2.0 Community edition · self-host without a Tuenel account
Open-source AI gateway · Apache-2.0

One control plane for your AI traffic.

Route OpenAI-compatible inference, issue scoped API keys, enforce security policies, track usage, and govern MCP access from one gateway.

Already have an account? Sign in
Supported self-host install
curl -fsSL https://install.tuenel.com | sh
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_TUENEL_API_KEY",
    base_url="http://localhost:4060/v1",
)

response = client.chat.completions.create(
    model="your-route-alias",
    messages=[{"role": "user", "content": "Hello from Tuenel"}],
)

Configure a provider and model route in the console before sending inference. Tuenel is a gateway, not a model host.

Chat CompletionsOpenAI-compatible
Responses APIStreaming supported
EmbeddingsRoute by model alias
API KeysScoped credentials
Web ConsoleUI-first setup
MCPGoverned tool access

Gateway capabilities

Control every request before it reaches a model.

One control plane for routing, credentials, policy, usage, and MCP operations.

Provider-neutral routing

Publish stable model aliases, route them to configured providers, and define ordered fallback targets.

Identity-aware access

Authenticate browser users and applications with organization, project, role, and API-key boundaries.

Security inspection

Inspect prompts, redact configured sensitive patterns, record findings, and apply warn, block, or incident actions.

Usage and cost controls

Track token usage, configure model pricing, and apply quotas and budget rules across projects.

Governed MCP

Register MCP servers, filter tool discovery, classify risk, and require approval where configured.

A clear boundary around AI infrastructure.

Provider credentials stay server-side while applications use scoped Tuenel API keys and stable route aliases.

01

Your application

OpenAI-compatible client

02

Tuenel gateway

Authentication, quota, and policy

03

Provider routes

Aliases, targets, and fallback

04

Durable control plane

PostgreSQL plus Redis counters

Frequently asked

Know what Tuenel does—and what it does not.

Yes. The Apache-2.0 Community edition runs independently and does not require a Tuenel account, license, or connection to a Tuenel-operated service.

Managed cloud

Start with Tuenel Cloud for free.

Create an organization, configure a provider, publish a route, and send your first request without operating the gateway stack yourself.

Self-hosted Community

Run Tuenel on your infrastructure.

Clone the public Apache-2.0 repository and run the supported interactive installer.

Install
curl -fsSL https://install.tuenel.com | sh
View the repository