helicone

HeliconeApache-2.0活跃维护

一行代码接入的 LLM 可观测性平台,能监控大模型调用、追踪成本与延迟,并支持评估和实验对比,方便排查线上问题。

🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓

v2025.08.21-1发布于 2025-08-21 18:47 UTC6,275star +2 / 7 天703fork同步于 2026-11-10 11:34 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/Helicone/helicone.git
cd docker
cp .env.example .env
./helicone-compose.sh helicone up
硬件要求按 README 说明

README 未说明;自托管通过 Docker Compose 或 Helm 部署,依赖 Web、Worker、Jawn、Supabase、ClickHouse、Minio 五个服务

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

开源 LLM 可观测性与 AI 网关,改一行 baseURL 即可监控、路由和实验

一行代码接入的 LLM 可观测性平台,能监控大模型调用、追踪成本与延迟,并支持评估和实验对比,方便排查线上问题。

核心能力

  • 改一行 baseURL 接入 OpenAI 兼容接口并记录全部请求
  • 用统一 API key 访问 100+ 模型并支持智能路由与自动回退
  • 追踪 agent、聊天机器人和文档管道的 traces 与 sessions
  • 统计成本、延迟、质量等指标并一行导出到 PostHog
  • 在 UI 中版本化管理 prompt 并通过网关免改代码部署

容易踩的坑

自托管需先复制 .env.example 为 .env 并配置,且会拉起 Supabase、ClickHouse、Minio 等多个服务;手动部署官方明确不推荐,应优先用 Docker 或 Helm;使用托管网关需先注册获取 API key 并在 helicone.ai/credits 充值

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

4 个版本v2025.08.21-1
  1. v2025.08.21-1最新正式版2025-08-21 · 2025-08-21 18:47 UTC

    这个版本没有写更新说明。

  2. v2025.08.212025-08-21 · 2025-08-21 17:50 UTC

    这个版本没有写更新说明。

  3. v2025.08.202025-08-20 · 2025-08-20 17:34 UTC

    这个版本没有写更新说明。

  4. v1.0.0v1.0.0 Docker image release2025-08-19 · 2025-08-19 04:51 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

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

    Helicone is an AI Gateway & LLM Observability Platform for AI Engineers

    • 🌐 AI Gateway: Access 100+ AI models with 1 API key through the OpenAI API with intelligent routing and automatic fallbacks. Get started in 2 minutes.
    • 🔌 Quick integration: One-line of code to log all your requests from OpenAI, Anthropic, LangChain, Gemini, Vercel AI SDK, and more.
    • 📊 Observe: Inspect and debug traces & sessions for agents, chatbots, document processing pipelines, and more
    • 📈 Analyze: Track metrics like cost, latency, quality, and more. Export to PostHog in one-line for custom dashboards
    • 🎮 Playground: Rapidly test and iterate on prompts, sessions and traces in our UI.
    • 🧠 Prompt Management: Version prompts using production data. Deploy prompts through the AI Gateway without code changes. Your prompts remain under your control, always accessible.
    • 🎛️ Fine-tune: Fine-tune with one of our fine-tuning partners: OpenPipe or Autonomi (more coming soon)
    • 🛡️ Enterprise Ready: SOC 2 and GDPR compliant

    🎁 Generous monthly free tier (10k requests/month) - No credit card required!

    Quick Start ⚡️

    1. Get your API key by signing up here and add credits at helicone.ai/credits

    2. Update the baseURL in your code and add your API key.

      import OpenAI from "openai";
      
      const client = new OpenAI({
        baseURL: "https://ai-gateway.helicone.ai",
        apiKey: process.env.HELICONE_API_KEY,
      });
      
      const response = await client.chat.completions.create({
        model: "gpt-4o-mini",  // claude-sonnet-4, gemini-2.0-flash or any model from https://www.helicone.ai/models
        messages: [{ role: "user", content: "Hello!" }]
      });
      
    3. 🎉 You're all set! View your logs at Helicone and access 100+ models through one API.

    Self-Hosting Open Source LLM Observability

    Docker

    Helicone is simple to self-host and update. To get started locally, just use our docker-compose file.

    # Clone the repository
    git clone https://github.com/Helicone/helicone.git
    cd docker
    cp .env.example .env
    
    # Start the services
    ./helicone-compose.sh helicone up
    
    Helm

    For Enterprise workloads, we also have a production-ready Helm chart available. To access, contact us at [email protected].

    Manual (Not Recommended)

    Manual deployment is not recommended. Please use Docker or Helm. If you must, follow the instructions here.

    Architecture

    Helicone is comprised of five services:

    • Web: Frontend Platform (NextJS)
    • Worker: Proxy Logging (Cloudflare Workers)
    • Jawn: Dedicated Server for serving collecting logs (Express + Tsoa)
    • Supabase: Application Database and Auth
    • ClickHouse: Analytics Database
    • Minio: Object Storage for logs.

    Integrations 🔌

    Inference Providers

    IntegrationSupportsDescription
    AI GatewayJS/TS, Python, cURLUnified API for 100+ providers with intelligent routing, automatic fallbacks, and unified observability
    Async Logging (OpenLLMetry)JS/TS, PythonAsynchronous logging for multiple LLM platforms
    OpenAIJS/TS, PythonInference provider
    Azure OpenAIJS/TS, PythonInference provider
    AnthropicJS/TS, PythonInference provider
    OllamaJS/TSRun and use large language models locally
    AWS BedrockJS/TSInference provider
    Gemini APIJS/TSInference provider
    Gemini Vertex AIJS/TSGemini models on Google Cloud's Vertex AI
    Vercel AIJS/TSAI SDK for building AI-powered applications
    AnyscaleJS/TS, PythonInference provider
    TogetherAIJS/TS, PythonInference provider
    HyperbolicJS/TS, PythonInference provider
    GroqJS/TS, PythonHigh-performance models
    DeepInfraJS/TS, PythonServerless AI inference for various models
    Fireworks AIJS/TS, PythonFast inference API for open-source LLMs

    Frameworks

    FrameworkSupportsDescription
    LangChainJS/TS, PythonUse AI Gateway with LangChain for unified provider access
    LlamaIndexPythonFramework for building LLM-powered data applications
    LangGraphPythonBuild stateful, multi-actor applications with LLMs
    Vercel AI SDKJS/TSAI SDK for building AI-powered applications
    Semantic KernelC#, PythonMicrosoft's AI orchestration framework
    CrewAIPythonFramework for orchestrating role-playing AI agents
    ModelFusionJS/TSAbstraction layer for integrating AI models into JavaScript and TypeScript applications
    PostHogJS/TS, Python, cURLProduct analytics platform. Build custom dashboards.
    RAGASPythonEvaluation framework for retrieval-augmented generation
    Open WebUIJS/TSWeb interface for interacting with local LLMs
    MetaGPTYAMLMulti-agent framework
    Open DevinDockerAI software engineer
    Mem0 EmbedChainPythonFramework for building RAG applications
    DifyNo code requiredLLMOps platform for AI-native application development

    This list may be out of date. Don't see your provider or framework? Check out the latest integrations in our docs. If not found there, request a new integration by contacting [email protected].

    Contributing

    We ❤️ our contributors! We warmly welcome contributions for documentation, integrations, costs, and feature requests.

    If you have an idea for how Helicone can be better, create a GitHub issue.

    License

    Helicone is licensed under the Apache v2.0 License.

    Additional Resources

    For more information, visit our documentation.

    Contributors