AI Firewall · PII Protection · Multi-Modal DLP · Autonomous Cost Control

Stop AI Data Leaks. Control Your Spend.
The Neutral Governance Layer for the Open-Source Era.

Enforce PII policies, block prompt injections, and route by cost across OpenAI, Claude, Llama, Gemini and Every Major LLM. Secure your vision and text prompts with the world's most versatile AI security gateway — with just one line of code.

100% OpenAI SDK Compatible. Works with GPT, Gemini, Grok, Claude, Llama 4, Mistral and 100+ more models across 8 providers. No vendor lock-in.

Enough for 3,000+ secure requests. No credit card required.

Powering Production AI via

GroqTogether.aiDeepInfraMistral AIAnthropic (Claude)OpenAIGoogle GeminixAI (Grok)

How It Works

Three Steps. That's It.

If your app already uses the OpenAI library (the most popular AI toolkit), you only need to change two settings. If you're starting fresh, it's just as easy.

1

Sign Up & Get a Key

Create a free account with Google or GitHub. Generate an API key in your dashboard. It starts with os_hub_ and is your password for all AI requests.

2

Point Your App to the Hub

In your code, change the API key and base URL to point to OpenSourceAIHub instead of OpenAI. Everything else stays the same. Same SDK, same code structure.

3

Send Requests Safely

Every request is now automatically scanned for sensitive data, routed to the most cost-efficient provider available, and logged for your dashboard. You don't need to do anything else.

What Is an AI Firewall?

A Security Layer Between Your App and Every LLM

When your app sends a prompt to an AI model, that message travels to a third-party server. If it contains PII — names, emails, credit cards, passwords — that data is now outside your control. An AI Firewall inspects every message before it leaves and removes anything sensitive. The AI still responds — but never sees your private data.

The Request Journey

Your App

Sends the request

OpenSourceAIHub

DLP / AI Firewall

Scans & cleans data

Smart Router / Budget

Optimizes cost & enforces limits

Provider Routing

BYOK / Managed / Failover

AI Provider

Returns response

PII is removed and spend is capped inside the Hub. The AI provider only receives clean, governed requests.

Without the Hub

“Summarize this: John Smith, email john@company.com, SSN 123-45-6789, had a billing issue...”

The AI company receives real names, emails, and SSNs.

With the Hub

“Summarize this: [PERSON], email [EMAIL], SSN [US_SSN], had a billing issue...”

The AI company only sees placeholders. Real data never leaves your control.

Built For

Anyone Shipping AI in Production

Startup Founders

Ship AI without leaking customer data. Compliant from day one.

Backend Engineers

Drop-in OpenAI SDK replacement with automatic PII removal and cost routing.

Security & Compliance

GDPR & PCI templates. Every request logged. No data stored.

Budget-Conscious Teams

Smart Routing optimizes across 8+ providers. Stop overpaying a single vendor.

Get 1,000,000 Free Credits

No credit card required · Start in 60 seconds

The Neutral Layer

Why Not Just Use Vercel AI or OpenRouter?

Routing proxies forward your prompts. We govern them — enforcing data policies, blocking threats, and capping spend before a single token leaves your infrastructure.

Platform Neutral

Hosted on Vercel, AWS, Fly.io, or bare metal? Doesn’t matter. The Hub is a standalone API gateway that secures your AI traffic regardless of where your app runs. No vendor tie-in, no platform dependency.

Active Firewall, Not Just Logging

OpenRouter and similar proxies route requests but don’t inspect them. We actively scan every prompt for 28+ PII entity types across text and images (OCR) — and block or redact before the data leaves your control.

Budget Enforcement

Set hard credit limits per API key to prevent “bill shock” across all providers. A runaway loop or traffic spike hits your budget ceiling and stops — not your bank account.

CapabilityVercel AI / OpenRouterOpenSourceAIHub
Vendor NeutralPartial
PII Firewall (Text + OCR)No
Budget EnforcementNo
BYOK + Wallet HybridNo
DLP Policy EngineNo
Prompt Injection BlockingNo
Get 1,000,000 Free Credits

No credit card required · Start in 60 seconds

Works with Existing Code

Change Two Lines. Keep Everything Else.

If your app already uses the OpenAI library (the most popular way to call AI models), switching to the Hub takes about 30 seconds. Just change the API key and the URL. See below.

Before
const openai = new OpenAI({
  apiKey: 'OPENAI_KEY'
});

const res = await openai.chat.completions.create({
  model: 'gpt-4o',
  messages: [{ role: 'user', content: prompt }]
});
After — Secure & Governed
const openai = new OpenAI({
  apiKey: 'os_hub_live_abc123',
  baseURL: 'https://api.opensourceaihub.ai/v1'
});
// Smart-routed. No provider lock-in.
const res = await openai.chat.completions.create({
  model: 'oah/llama-3-70b',
  messages: [{ role: 'user', content: prompt }]
});

< 50ms

Firewall overhead

28+

PII entities scanned

Auto

Provider failover

Get 1,000,000 Free Credits

No credit card required · Start in 60 seconds

Features & Deep Security

What You Get vs. Going Direct

Most security tools only check the latest message. We scan your entire conversation history and even text inside images. Here's the full picture.

Model Selection

Direct / OpenAI

Single Provider (Locked)

OpenSourceAIHub

100+ Models (GPT-4o, Gemini, Llama, Claude...)
Data Privacy

Direct / OpenAI

Black Box

OpenSourceAIHub

DLP Firewall (28+ PII Entities)
Vision / Image Security

Direct / OpenAI

None

OpenSourceAIHub

OCR-Based Image PII Scanning — Blocks on Detect
Context-Aware Scanning

Direct / OpenAI

None

OpenSourceAIHub

Full Conversation History DLP (Every Message, Every Request)
Injection Defense

Direct / OpenAI

Limited / Unknown

OpenSourceAIHub

Heuristic Jailbreak Blocking
Avg Cost / 1M Tokens

Direct / OpenAI

~$5.00

OpenSourceAIHub

From $0.60 (Smart-Routed)
IP Protection

Direct / OpenAI

None

OpenSourceAIHub

Custom Regex "IP Guard"
Uptime Assurance

Direct / OpenAI

Single Point of Failure

OpenSourceAIHub

Multi-Provider Failover (Auto-Retry)

Data Protection

  • 28+ PII entities scanned on every request
  • OCR image scanning — blocks on detect
  • Full conversation history DLP
  • GDPR & PCI compliance templates
  • Custom regex rules for proprietary terms
  • Jailbreak & prompt injection blocking

Cost Savings

  • Smart Router across 8 providers
  • Real-time price indexing per model
  • GPT-4.1, Gemini, Grok, Llama 4, Claude & more
  • < 50ms firewall overhead
  • Automatic provider failover

Simple Billing

  • Prepaid wallet — $10 = 10M credits
  • BYOK at 0% markup on Pro plan
  • Hybrid mode: wallet fallback for unconfigured providers
  • Hard budget caps per API key
  • One dashboard for all usage & spend
Get 1,000,000 Free Credits

No credit card required · Start in 60 seconds

Pricing

Simple, Transparent Pricing

No hidden fees. No surprise bills. Two plans — pick the one that fits your needs.

Not sure which plan to pick?

Choose Managed Credits if...

  • • You're just getting started with AI
  • • You don't have accounts with AI providers
  • • You want to add money and start immediately
  • • You're building a prototype or side project

Choose Pro BYOK if...

  • • You want premium models (GPT-4.1, Claude, Gemini 2.5 Pro, Grok 3)
  • • You already have keys from providers
  • • You want the lowest possible price (0% Hub markup)
  • • You need custom DLP rules, audit logs & compliance

Both plans include the full AI Firewall and 100+ models. Managed Credits adds Smart Routing (optimizes for cost efficiency across providers). BYOK routes directly to your chosen provider. Switch anytime.

The Starter

Managed Credits

$0/mo + usage

Best for beginners, prototypes & small apps

  • Start with 10M Credits ($10) — no subscription
  • We provide the AI access (no provider signups)
  • Smart Router picks the cheapest provider per request
  • Open-source models: 25% markup · Closed models: 30%
  • GPT-4o Mini, Gemini Flash, Grok Mini + 100 open-source models
  • Full AI Firewall: 28+ PII types, prompt injection blocking
  • Custom DLP regex rules, audit logs & compliance features
  • Image generation (FLUX, DALL-E, Stable Diffusion)
  • Real-time dashboard with usage & cost analytics

Media Generation Tiers

TierExamplePrice (Credits)Credits are deducted atomically based on our cost-optimization engine. Estimates include the standard Hub service fee.
PerformanceFlux.1-schnell3,750 (~$0.004)
StandardSDXL50,000 (~$0.05)
PremiumDALL-E 3100,000 (~$0.10)
Get 1,000,000 Free Credits
Popular
The Architect

Pro BYOK

$29/mo

Best for teams and production apps

  • Bring your own OpenAI, Anthropic, Gemini, xAI, Groq, Together, DeepInfra & Mistral keys
  • Pay providers directly — 0% Hub markup on BYOK calls
  • Premium models: GPT-4.1, Claude, Gemini 2.5 Pro, Grok 3
  • Full AI Firewall: 28+ PII types, prompt injection blocking
  • Custom DLP regex rules, audit logs & compliance features
  • Automatic multi-provider failover
  • AES-256 authenticated encryption — keys protected at rest
  • Image generation (FLUX, DALL-E, Stable Diffusion)
  • Hybrid Mode: falls back to Hub Credits when your key isn’t set
Subscribe to Pro

Hybrid Mode — Best of Both

Pro subscribers can use their own keys for some providers and fall back to Hub Credits for the rest. If you have an OpenAI key but not a Gemini key, GPT requests use your key (0% markup) while Gemini requests route through Managed Mode. The Hub resolves keys automatically — no configuration needed.

Both plans include the full AI Firewall with DLP protection across 100+ models. Switch anytime.

Model pricing is based on our internal cost-optimization engine. While we aim to provide competitive rates across our provider network, final pricing is subject to provider availability and real-time market fluctuations. Routing is best-effort and does not guarantee the absolute lowest cost on every request. All Managed Mode usage includes a service fee (25% open-weight / 30% closed models) for security and infrastructure management. See Section 25 of our Terms.

FAQ

Frequently Asked Questions

It’s a security layer that sits between your app and AI companies like OpenAI, Groq, or Mistral. When your app sends a message to AI, the Hub checks it first — removes any sensitive data (like emails, passwords, or credit card numbers), selects the most cost-efficient available provider, and then forwards the cleaned message. Think of it as a security guard and cost-optimization engine combined.

No. We only log metadata (like "1 email address was blocked") — we never store the actual content of your messages or the AI’s responses. Your data passes through our security layer and is forwarded to the AI provider. Nothing is saved on our servers.

If your app uses the OpenAI SDK (the most popular AI library), you only need to change two lines: the API key and the base URL. Everything else — your models, your prompts, your response handling — stays exactly the same.

BYOK stands for "Bring Your Own Key." It means you already have an account (and API key) with a provider like OpenAI, Google Gemini, xAI, Groq, or Together.ai. On the Pro plan, you save those keys in the Hub, and we use them to make AI calls on your behalf — so you pay the provider directly at their regular price with zero Hub markup. BYOK also unlocks premium models like GPT-4o and Gemini Pro.

That’s perfectly fine! The "Managed Credits" plan is designed exactly for this. Add credits to your Hub wallet (10M Credits / $10 minimum), and we handle everything — we use our own provider accounts to process your requests.

No. Every request is protected from your very first API call. The Hub applies a "Maximum Protection" default policy that scans for all 28 entity types (emails, credit cards, SSNs, API keys, prompt injection attacks, and more) and redacts any matches before the AI model sees them.

The security check adds less than 50 milliseconds for text — that’s faster than a blink. For images, it takes about 0.5–1 second depending on image size. Every response includes timing headers so you can verify this yourself.

Yes. Pro subscriptions are managed through Stripe — cancel with one click anytime. Wallet balances never expire, so any prepaid credits stay in your account.

More questions? Check our full documentation for in-depth guides on tokens, providers, DLP policies, and more.

Get 1,000,000 Free Credits

No credit card required · Start in 60 seconds

Coming Soon

The AI Intelligence Suite

Stop guessing which model is best for your prompts. We're building the world's first Financial & Quality Optimizer for production AI.

Smart Model Selection|Cost Optimization|Quality Benchmarking
LiveText & Vision FirewallBuildingBudget Enforcement

We're Actively Building

Project-level budget controls, agent-loop protection, document sovereignty, streaming output scanning, and more.

See the full roadmap

Ready to Make Your AI Secure?

Sign up in 60 seconds and get 1,000,000 free Hub Credits — enough for 3,000+ secure requests. No credit card required. No complicated setup.

No credit card required · Start in 60 seconds