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

Hadrian Gateway

A high-performance, production-ready AI Gateway for LLMs

Hadrian is an AI Gateway that provides a unified OpenAI-compatible API for routing requests to multiple LLM providers.

Key Features

  • OpenAI-Compatible API - Drop-in replacement for OpenAI's API
  • Multi-Provider Support - Route to OpenAI, Anthropic, Bedrock, Vertex, Azure, and more
  • Built-in Web UI - Chat interface with multi-model support
  • Multi-Tenancy - Organizations, teams, projects, and users
  • Budget Enforcement - Cost tracking and limits per project/user
  • API Key & OIDC Auth - Flexible authentication options
  • RAG / Vector Stores - File search with automatic document processing
  • Observability - Logging, metrics, and tracing

Quick Start

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

Documentation Sections

SectionDescription
Getting StartedInstallation and basic setup
ConfigurationAll configuration options
FeaturesDetailed feature guides
API ReferenceOpenAI-compatible API documentation
DeploymentProduction deployment guides, build profiles (full, headless, standard, ...)
SecuritySecurity best practices
TroubleshootingCommon issues and solutions

On this page