Open-source AI gateway · MIT license

Cut your AI bill.
Route smarter. Ship faster.

A local proxy that sits between your developers and AI providers. Route expensive queries to cheaper models automatically. Block secrets before they leave the machine.

Install Free See How It Works

Works with Claude Code Cursor GitHub Copilot any AI tool   ·   Routes to Claude GPT-4o Gemini DeepSeek Moonshot GLM MiniMax Llama Mistral Ollama vLLM LiteLLM Azure OpenAI any OpenAI-compatible endpoint

Your team is burning money on AI. You can't see it happening.

Every developer makes hundreds of AI API calls a day. No routing. No visibility. No control over what gets sent where.

GPT-4o for everything

60% of your team's queries are simple — autocomplete, code explanation, quick lookups. You're paying $10/M tokens when $0.15/M would do the same job.

PII and secrets in prompts

Developers paste customer data, API keys, and internal documents into AI tools daily. None of it is caught before it reaches an external API.

Zero cost visibility

You get one monthly invoice from Anthropic or OpenAI. You have no idea which team, which tool, or which model is responsible for the bill.

No routing control

Sensitive data — financial records, health data, client files — should never reach an external model. Right now it does, and nobody knows.

One proxy. Full control.

Install in two minutes. Set one environment variable. Every AI call is now visible, routable, and logged.

Claude Code
Cursor
Copilot
Your App
◆ AIRiskGuard Gateway
Scan · Route · Log · Block
↓              ↓              ↓
Anthropic · OpenAI
Azure · Private
Cost Dashboard
Expensive model     Sensitive data       Team tier
Step 1

Install and start

pip install airiskguard
airiskguard-gateway start
Step 2

Set one env var

# Claude Code
export ANTHROPIC_BASE_URL=http://127.0.0.1:8080/anthropic
export ANTHROPIC_API_KEY=gateway-managed

# Codex CLI / OpenAI SDK
export OPENAI_BASE_URL=http://127.0.0.1:8080/openai
export OPENAI_API_KEY=gateway-managed
Step 3 (optional)

Add routing rules

routing:
  rules:
    - match: contains_pii
      action: route_to
      destination: internal

The 20% that covers 80% of what you need

No bloat. Four things that actually matter for teams using AI at scale.

Smart Routing

Route by content — PII goes to your internal model, financial data stays on Azure, simple queries downgrade to gpt-4o-mini. Rules in plain YAML.

💰

Cost Dashboard

See exactly what you're spending — by model, by day, by team. Compare what you paid vs what you would have paid without routing.

🔒

Sensitive Data Detection

Detects and blocks PII (emails, SSNs, credit cards), secrets (API keys, credentials), financial data (account numbers, revenue figures, trade data), and compliance-sensitive content — before it reaches any external model.

Model Allowlist

Define which models your team can use. Anything outside the list is blocked at the proxy — no policy docs required.

94%
cheaper — gpt-4o-mini vs gpt-4o at same token count
<5 min
install to first intercepted call
1
env var to point Claude Code at the gateway
20+
AI models with built-in pricing data

Simple, transparent pricing

Start free. Add the dashboard and policy server when your team is ready.

Free — Open Source
$0
MIT license · forever free
  • API proxy (no CA cert needed)
  • Smart routing rules
  • PII, secrets + financial data detection
  • Model allowlist
  • Local audit log (JSONL)
  • 10 built-in providers (Anthropic, OpenAI, DeepSeek, Moonshot, GLM…)
Install Free on GitHub

Stop flying blind on AI costs.

Install the free proxy today. Add the dashboard when you're ready to see where the money goes.

Install Free Book a Demo