AI Security Gateway icon
AI Security Gateway icon

AI Security Gateway

Open-source AI firewall and LLM proxy that redacts PII, blocks prompt injection, and enforces spend budgets before requests reach any AI provider. Apache 2.0, self-hostable.

Landing Page

Cost / License

  • Freemium (Pay once or Subscription)
  • Open Source (Apache-2.0)

Platforms

  • Online
  • Self-Hosted  Requires Docker and Docker Compose. Single command setup: docker compose up --build. Apache 2.0 licensed. Source at github.com/aisecuritygateway/aisecuritygateway
  • Software as a Service (SaaS)
  • Docker

AI Security Gateway News & Activities

Highlights All activities

Recent activities

AI Security Gateway information

  • Developed by

    US flagaisecuritygateway
  • Licensing

    Open Source (Apache-2.0) and Freemium product.
  • Pricing

    One time purchase that costs up to $50, and / or subscription that costs up to $29 per month + free version with limited functionality.
  • Written in

  • Alternatives

    2 alternatives listed
  • Supported Languages

    • English

GitHub repository

  •  5 Stars
  •  0 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub
AI Security Gateway was added to AlternativeTo by Binu George on and this page was last updated .
No comments or reviews, maybe you want to be first?

What is AI Security Gateway?

AI Security Gateway (AISG) is a vendor-neutral governance layer that sits between your application and any LLM provider (OpenAI, Anthropic, Google, Groq, Mistral, xAI, Together.ai, DeepInfra). It scans every request for sensitive data — emails, SSNs, credit cards, API keys, and 28+ entity types — and redacts or blocks them before anything reaches the model.

Fully stateless — prompts pass through and are never stored, logged, or used for training. Only metadata (cost, latency, entity counts) is recorded. Drop-in compatible with the OpenAI SDK (change two lines of code). Smart cost routing automatically picks the cheapest provider for each request. Hard budget enforcement prevents runaway agent costs. Prompt injection and jailbreak blocking included.

Works as a drop-in OpenAI SDK replacement — change your base URL, get instant security and cost control with no other code changes.

Available as a managed cloud (1M free credits, no credit card) or fully self-hosted via Docker under Apache 2.0. Zero telemetry, fail-closed by default — if the security layer is unreachable, requests are blocked, never forwarded unscanned.

Key capabilities:

  • PII redaction across text and images (OCR-based)
  • Prompt injection and jailbreak blocking
  • Per-project spend quotas and token caps
  • Smart routing across 300+ models with automatic failover
  • Zero data retention — prompts processed in-memory, never stored
  • Full self-hosted option via Docker/Kubernetes (Apache 2.0)
  • BYOK — no markup on your provider API costs

Built for developers shipping LLM apps, teams handling sensitive data in regulated industries (healthcare, finance, legal), and anyone who needs AI security without vendor lock-in.

AI Security Gateway Videos

Official Links