Hadrian is experimental alpha software. Do not use in production.

Hadrian Gateway

A unified AI gateway with every enterprise feature included.

Completely Open source and free.

MIT and Apache-2.0 licensed. No proprietary code, no upgrade tiers, no restrictions.

Try in BrowserConnect to Ollama, OpenRouter, and more!
Running Hadrian entirely in your web browser.
Get StartedDocumentationGitHubOpenRouter

Get Started

Method
OS
Libc
Features

Production deployment

OpenAI
Anthropic
AWS Bedrock
Google Vertex AI
Azure OpenAI
SQLite
Embedded UI
Model catalog
Setup wizard
PostgreSQL
Redis caching
SSO (OIDC / OAuth)
CEL RBAC
S3 storage
Secrets managers
OTLP & Prometheus
OpenAPI docs
Embedded docs
Doc extraction
Cost forecasting
CSV export
Response validation
JSON schema
SAML SSO
Kreuzberg OCR
ClamAV scanning
curl -L \
  https://github.com/ScriptSmith/hadrian/releases/latest/download/hadrian-x86_64-unknown-linux-musl-standard.tar.gz \
  | tar xz
./hadrian

See it in Action

Compare responses from multiple models side-by-side with advanced multi-model modes.

Providers

Route to any provider through a unified API. Automatic failover, health checks, and circuit breakers included.

Native integrations

Purpose-built clients with cloud-native auth and prompt caching

OpenAI-compatible

Drop-in adapter for any compatible endpoint, hosted or self-hosted

Everything Included

Every feature is included in the open-source release. No asterisks, no upgrade walls.

Infrastructure

  • Single binary, single config file
  • SQLite, Postgres, or stateless
  • Redis caching
  • S3-compatible storage
  • Provider fallbacks & health checks
  • Helm chart for Kubernetes

AI Capabilities

  • Multi-model chat
  • Image generation
  • TTS & transcription
  • Knowledge bases / RAG
  • Web search
  • Model catalog

Security & Auth

  • API keys & service accounts
  • OIDC / OAuth / SAML SSO
  • CEL-based RBAC
  • Guardrails & content moderation
  • Rate limiting
  • Sovereignty enforcement

Multi-tenancy

  • Organizations, teams, projects
  • Dynamic providers
  • Scoped budgets
  • Per-tenant SSO
  • SCIM provisioning

Observability

  • Usage & cost tracking
  • Cost forecasting
  • Prometheus metrics
  • OpenTelemetry tracing
  • Audit logs & SIEM

Developer Experience

  • OpenAI-compatible API
  • OpenAPI docs & Scalar UI
  • MCP servers
  • Frontend tools (Python/JS/SQL/Charts)
  • Web UI with admin panel

Ready to Get Started?

Deploy in minutes with a single binary. No external dependencies for basic use.