selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

helicone logo

Self-host helicone

v2025.08.21-1

Open-source LLM observability platform and AI gateway

ReleaseOpen SourceApache-2.0
Updated4 months ago
LanguageTypescript
Setup difficultyAdvanced
Stars
6 277
Ports
3000 (Web Dashboard), 8585 (Jawn API + LLM Proxy), 9080 (MinIO S3)
Requires
ClickHouse, Minio, PostgreSQL, Redis
Docker
helicone/helicone-all-in-one
Install with Docker
Helicone dashboard showing requests, segments, sessions, and analyticsMobile-responsive dashboard with sidebar navigation

What is helicone?

Helicone is an open-source LLM observability platform and AI gateway for AI engineers. It provides a unified API to access 100+ AI models (OpenAI, Anthropic, Gemini, Ollama, and more) with smart routing and automatic failover. The platform tracks cost, latency, and quality metrics, offers agent tracing and session debugging, includes a playground for prompt iteration, supports prompt versioning and deployment through the gateway, enables fine-tuning via partners, and exports data to PostHog. It comprises a Next.js web dashboard, a Jawn API server (Express), Cloudflare Workers for proxy logging, Supabase for auth and PostgreSQL, ClickHouse for analytics, and MinIO for object storage. Self-hosting is supported via Docker (all-in-one image or docker-compose), Helm for production, or manual deployment. The project is Apache-2.0 licensed and backed by Y Combinator.

Should you self-host helicone?

helicone scores 68/100 on selfhost.directory (how scoring works) and ranks #23 of 123 in AI. It has 6 277 GitHub stars, +76 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Langfuse (85/100, 37 264 stars). It scores higher overall, so compare the two before you pick. See helicone vs Langfuse side by side.

Features

  • Agent Tracing
  • AI Gateway
  • Alerts
  • Cost Tracking
  • Datasets
  • Eval Scores
  • Fine TuningMore partners coming soon
  • HQL (Helicone Query Language)
  • Latency Tracking
  • LLM Observability
  • Playground
  • Prompt Management
  • Reports
  • Session Management
  • User Feedback

helicone README

🔍 Observability 🕸️ Agent Tracing 🚂 LLM Routing
💰 Cost & Latency Tracking 📚 Datasets & Fine-tuning 🎛️ Automatic Fallbacks

helicone logo


Contributors GitHub stars GitHub commit activity GitHub closed issues Y Combinator

How to install helicone

Install helicone with Docker

Docker
Environment variables
NEXT_PUBLIC_HELICONE_JAWN_SERVICE, S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY, S3_BUCKET_NAME, BETTER_AUTH_SECRET, SITE_URL, BETTER_AUTH_URL, NEXT_PUBLIC_APP_URL, NEXT_PUBLIC_IS_ON_PREM

docker pull helicone/helicone-all-in-one:latest docker run -d
--name helicone
-p 3000:3000
-p 8585:8585
-p 9080:9080
helicone/helicone-all-in-one:latest

Quick local setup with single container

How to configure helicone

  • NEXT_PUBLIC_HELICONE_JAWN_SERVICEhttp://localhost:8585URL browsers use to reach the API. Must be public URL for remote deployments.
  • S3_ENDPOINThttp://localhost:9080URL browsers use for presigned URLs. Must be public URL for remote deployments.
  • S3_ACCESS_KEYminioadminMinIO/S3 access key
  • S3_SECRET_KEYminioadminMinIO/S3 secret key
  • S3_BUCKET_NAMErequest-response-storageS3 bucket for request/response bodies

FAQ

What causes 'Invalid origin' error on sign-in?

All URL environment variables must use the same origin (public IP or domain). Don't mix localhost with public IPs.

What causes infinite redirect loops?

Missing NEXT_PUBLIC_IS_ON_PREM=true environment variable.

Why do API calls fail with connection refused?

The web app tries to connect to localhost:8585 instead of your public IP. Verify the NEXT_PUBLIC_HELICONE_JAWN_SERVICE environment variable is set correctly.

How do I fix 'No organization ID found' error?

Create an organization and add the user to it using SQL commands in the PostgreSQL database.

How do I verify email without email services in self-hosted?

Manually verify users by running a SQL command to set emailVerified to true for the user.

How do I create an account in self-hosted Helicone?

Navigate to http://YOUR_IP:3000/signup and create your account.

More in AI

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…