Self-Hosting

Self-hosting is available for teams that need full control over their infrastructure and data residency.

What’s Included

Self-hosted Metrx includes:

  • Gateway — LLM proxy with sub-millisecond overhead, deployable on your infrastructure
  • Web Dashboard — Next.js application for cost tracking, agent management, and outcome tracking
  • Background Workers — Event processing pipeline with BullMQ
  • Database Migrations — Full schema with Row-Level Security policies

Deployment Options

Metrx supports multiple deployment targets:

  • Docker Compose — single-machine deployment for evaluation and small teams
  • Kubernetes — production-grade deployment with horizontal scaling
  • Vercel + Managed Services — hybrid deployment using Vercel for the dashboard with self-hosted gateway
  • AWS / GCP / Azure — cloud-native deployment with managed databases

Requirements

  • Node.js 18+
  • PostgreSQL 12+ (or managed Supabase)
  • Redis 6+ (for event queue)
  • Clerk (authentication)
  • Stripe (billing)

Get Started

Self-hosting requires enterprise access to the Metrx source code.

Contact us: founders@metrxbot.com

We’ll help you evaluate whether self-hosting is the right fit and provide:

  • Access to the source repository
  • Deployment guide and environment configuration templates
  • Architecture review for your infrastructure
  • Priority support during setup

Next Steps: See Architecture for system design details or API Reference for integration.