Secure Every AI Request.
In Milliseconds.

Drop-in API proxy that detects prompt injection, jailbreaks, and PII leakage before they reach your LLM. 2 lines of code. Under 50ms.

1234567891011121314151617181920
# Native OpenAI SDK
import openai

client = openai.OpenAI(
api_key="sk-...",
base_url="https://api.krixaisecurity.com/v1", # ← route through Krixai
default_headers={"X-Krixai-API-Key": "kx-..."} # ← add your Krixai key
)

response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello, Krixai!"}]
)

Prompt Injection Detection

Catches direct attacks, indirect injection via RAG documents, and multi-turn manipulation — in real-time, before the request reaches your model.

PII & Data Leakage Protection

Scans inputs and outputs for credit cards, SSNs, emails, API keys, and custom sensitive patterns. Block or redact automatically.

Under 50ms. Always.

Your users won't notice us. Lightweight ONNX-based detection adds virtually zero latency to your AI pipeline. No cold starts, no queues.

How It Works

Three steps. Five minutes. Full protection.

1

Point Your Native SDK to Krixai

Change your base_url to api.krixaisecurity.com. Works natively with OpenAI, Anthropic, and Gemini SDKs.

2

We Scan Every Request & Response

Prompt injection, jailbreaks, PII, custom rules — checked in under 50ms. Clean requests pass through instantly.

3

Threats Blocked. Traffic Flows.

Malicious requests are blocked before they reach your LLM. Every event is logged for your audit trail.

See It In Action

Type a prompt. Watch Krixai catch it.

krixai-detector.sh
USER INPUT

Secure Your AI in 5 Minutes

Free for your first 10,000 requests. No credit card required.

Get Free API Key →