API Sentinel

Powerful Features, Simple Integration

API Sentinel gives you the tools to control costs and understand usage without compromising on security or performance.

Your Mission Control

Real-Time Analytics

See your spending update instantly on your project dashboard. No more waiting hours for billing data to sync.

Budget Circuit Breaker

Set a hard monthly budget. Our SDK's circuit breaker stops requests before you go over, preventing surprise bills.

Centralized Management

Manage all your projects, generate Sentinel Keys, and control your account from one clean, simple interface.

Easy for Developers

Privacy by Design

Our SDK-first approach means your secret API keys and sensitive request data never touch our servers, period.

Zero Performance Impact

Usage data is sent asynchronously in the background. Our wrapper adds negligible latency to your API calls.

Get Started in 2 Minutes

Install the package via pip:

pip install api-sentinel

Then, wrap your client in just two lines of code:

import sentinel
from openai import OpenAI
from sentinel.adapters import OpenAIAdapter

# 1. Initialize with your key from the dashboard
sentinel.init(api_key="sentinel_pk_...")

# 2. Wrap your existing client
client = sentinel.wrap(
    OpenAI(api_key="sk-..."),
    adapter=OpenAIAdapter()
)

# 3. Use it exactly as before!
response = client.chat.completions.create(...)