OpenAI-compatible API Gateway

Cut AI Costs by 70%

Zero code changes. Drop-in replacement.

NodeHub is an AI API Gateway that dramatically reduces LLM costs through intelligent caching and smart routing. Works with Cursor, Continue, Cline, and any OpenAI-compatible tool. Available as SaaS or open-source Community Edition.

Up to 70% Cost Savings
Zero Code Changes
Self-Host Option
0%
Cost Reduction
0+
Providers Supported
0
Code Changes Needed
0 min
Setup Time

Works With Your Tools

NodeHub provides an OpenAI-compatible API. Just change your base URL and API key—no code changes needed.

Cursor

AI-powered code editor

Reduce Cursor API costs by caching repeated code completions

Continue.dev

Open-source AI coding assistant

Route simple completions to cheaper models automatically

Cline

VS Code AI assistant

Cache common coding patterns for instant responses

OpenAI SDK

Official Python/JS libraries

Drop-in replacement—just change the base URL

LangChain

LLM application framework

Add caching and routing to any LangChain app

Your Custom Apps

Any OpenAI-compatible tool

Works with anything using the OpenAI API format

Integration is simple—just change two lines:

# Before (direct to OpenAI)
base_url = "https://api.openai.com/v1"
api_key = "sk-your-openai-key"
# After (through NodeHub)
base_url = "https://api.nodehub.id/v1"
api_key = "nh-your-nodehub-key"

View full integration guide

Everything You Need

An AI API Gateway that reduces costs by 40-70% without sacrificing capability.

OpenAI-Compatible API

Drop-in replacement for any tool using the OpenAI API format. Supports text and images (vision). Just change your base URL.

Zero code changes

Intelligent Caching

Semantic caching stores similar queries and returns instant responses. Stop paying for the same answers twice.

40-70% cache hit rate

Smart Model Routing

Automatically route queries to the most cost-effective model. Simple questions don't need GPT-4. Full Edition feature.

30% additional savings

Multi-Provider Support

Connect OpenAI, Anthropic, Google, Groq, Ollama (Community), plus OpenRouter, AWS Bedrock, Azure (Full).

5-10+ providers

Web Dashboard

Configure providers, manage API keys, set caching rules, and view analytics through an intuitive interface.

Real-time insights

Self-Host Option

Run NodeHub on your own infrastructure with the Community Edition. Your data stays private.

Full control

Community Edition

Self-Host in 5 Minutes

Deploy the open-source Community Edition on your own infrastructure. Free forever, no license required. Or choose Full Edition for advanced features.

01

Clone the Repository

git clone https://github.com/nodehub-id/nodehub-community

Get the complete source code from GitHub.

02

Configure Your Providers

cp .env.example .env && nano .env

Add your API keys for OpenAI, Anthropic, or any supported provider.

03

Start NodeHub

docker compose up -d

That's it. NodeHub is running on your infrastructure.

04

Start Saving

Open localhost:3000, start chatting, and watch your costs drop.

Read the full documentation

Simple, Transparent Pricing

Self-host free with Community Edition. Upgrade to Full Edition for advanced caching, smart routing, and team features.

Community

$0forever

Self-hosted, open-source edition

  • OpenAI-compatible API
  • 5 providers (you bring API keys)
  • Semantic caching (40-50%)
  • 1 API key
  • Community support
Self-Host Free
Most Popular

Full Pro

$49/mo + usage

SaaS at nodehub.id for professionals

  • Everything in Community
  • 100+ models bundled (no API keys needed)
  • Advanced caching (55-70%)
  • 10 API keys with limits
  • Smart routing + email support
Start Free Trial

Full Team

$149/mo + $25/user

SaaS for teams & organizations

  • Everything in Pro
  • Unlimited API keys & users
  • SSO / SAML authentication
  • Audit logs & permissions
  • Dedicated support
Contact Sales

Open Source at Heart

NodeHub Community Edition is free, open source (AGPL v3), and designed for self-hosting. Get semantic caching, multi-provider support, and a web dashboard—no license required. Full Edition helps fund continued development.

0Stars
0Forks

Community Edition available under AGPL v3 license

Ready to Cut Your AI Costs?

Reduce your LLM API costs by 40-70% with NodeHub. Self-host the Community Edition free, or get Full Edition for advanced caching and smart routing.

Want to self-host? Get Community Edition