Now with M-Pesa & WhatsApp alerts

AI infrastructure built for Africa

Ship AI features in minutes, not months. One OpenAI-compatible API with multi-tier caching, governance, local payments, and up to 60% cost savings.

<50ms
Cache response time
60%
Cost reduction
853+
Tests passing
app.py
# Switch to AIX Gateway in one line
import openai

client = openai.OpenAI(
  base_url="https://api.openai.com/v1",
  base_url="https://api.aixgateway.co.ke/v1",
  api_key="aix-your-api-key"
)

response = client.chat.completions.create(
  model="gpt-4o",
  messages=[{"role": "user",
    "content": "Summarize this contract"}]
) 
HealthTech KE LegalFlow SafariLog EduConnect AgroAI

Everything you need to ship AI,
nothing you don't

Enterprise-grade AI infrastructure with the simplicity your team deserves. Every feature is independently toggleable — start lean, scale confidently.

🔌

OpenAI-Compatible API

Switch by changing one URL. Zero code changes. Works with every OpenAI SDK, LangChain, and LlamaIndex out of the box.

1-line migration

Multi-Tier Caching

L1 exact cache (Redis, sub-5ms) + L2 semantic cache (pgvector, cosine similarity). Inflight dedup coalesces concurrent identical requests.

40-60% cost savings
🧠

Smart Model Routing

Auto-route "aix-auto" requests to the best model based on complexity, token count, and budget. Circuit breaker failover across 4 providers.

4 providers
🛡

Governance & Compliance

PII redaction, DLP rules (block/redact/flag), content filtering, injection detection. Full audit trail with forensic logging.

GDPR-ready
📊

Hierarchical Budgets

Org → department → team → app budget cascading. If parent exhausts budget, all children are blocked. Hourly rollup aggregation.

4-level depth
👥

Multi-Tenant RBAC

6 admin roles, per-tenant rate limits, API key rotation with grace periods, and per-tenant cache isolation. Enterprise-grade access control.

6 roles
📱

M-Pesa & Local Payments

Accept payments via M-Pesa STK Push, PesaLink bank transfers, manual reconciliation, and Stripe. Unified payments ledger.

Kenya-first
📨

WhatsApp & SMS Alerts

Multi-channel budget notifications via email, SMS (Africa's Talking), and WhatsApp. Per-tenant channel preferences and event subscriptions.

3 channels
🚀

SME Templates

Pre-built integration templates for customer service, document summarization, meeting notes, code assistance, and more. Self-service onboarding in minutes.

6 templates
💰

Built-in Billing & CRM

Customer pricing with markup and volume discounts, monthly invoicing, credit accounts, sales pipeline, health scoring, and support ticketing.

Full billing stack
🔍

Observability

Prometheus metrics, Grafana dashboards, OpenTelemetry tracing, request logging with monthly partitions, and real-time cost analytics.

5 dashboards
🧪

Testing & Evaluation

Prompt playground with cost estimation and PII preview. A/B testing, auto-evaluation sampling, consensus across models, and batch processing.

853+ tests

Three steps to production AI

Go from zero to production-ready AI features faster than you can say "fine-tuning".

1

Sign up & get your key

Create an account through our self-service portal. Get your API key instantly — no sales call required.

30 seconds
2

Change one line of code

Point your OpenAI SDK to api.aixgateway.co.ke — that's it. All your existing code works.

2 minutes
3

Monitor & optimize

Watch costs drop with automatic caching. Set budgets, enable governance, and add M-Pesa payments from your dashboard.

Ongoing savings

One line. That's the migration.

Your existing OpenAI, Anthropic, Google, or Mistral code works instantly. No SDK to learn. No API to rewrite.

Before JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.openai.com/v1',
  apiKey:  'sk-...',
});
Change 1 line
After — AIX Gateway JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.aixgateway.co.ke/v1',
  apiKey:  'aix-...',
});

Local payments. Local alerts. Local templates.

We didn't just add M-Pesa as an afterthought. AIX Gateway was designed from the ground up for African enterprises — with the payment methods, notification channels, and use cases that matter here.

💳

Pay with what you have

M-Pesa STK Push for instant mobile payments. PesaLink for bank transfers. Manual reconciliation for traditional banking. Plus Stripe for international cards.

📲

Alerts where you are

Budget warnings via WhatsApp and SMS through Africa's Talking. Your finance team gets notified the way they actually communicate.

🎯

Templates for African SMEs

Pre-built AI templates for customer service, document summarization, meeting notes — designed for clinics, law firms, logistics, and more.

🌍

Credit accounts for enterprise

Net-30/60/90 payment terms with credit limits, automated settlement, and enforcement modes. Built for how African enterprises actually buy software.

M-Pesa

M-Pesa

Lipa Na M-Pesa STK Push

Instant

PesaLink

Bank-to-bank instant transfer

Same day
Stripe

Stripe

International cards & wallets

Global
🏦

Bank Transfer

Manual reconciliation

Traditional

Start free, scale with confidence

No upfront costs. Pay only for the AI you use, with built-in savings from caching.

Starter
Free to start

Perfect for testing and small projects

  • $5 monthly AI budget
  • 30 requests/minute
  • Exact + semantic caching
  • 1 API key
  • Dashboard access
  • Community support
Get Started Free
Enterprise
Custom

For organizations with advanced needs

  • Hierarchical budgets
  • Credit accounts (Net-30/60/90)
  • Full CRM & billing
  • Volume discounts
  • Custom SLAs
  • Dedicated support
  • On-premise option
Contact Sales

Built by developers, for developers

We obsess over the details so you can focus on building. Comprehensive docs, a live playground, and production-ready from day one.

01

Interactive Playground

Test models with real-time cost estimation, PII detection preview, response header inspection, and auto-generated code snippets in 4 languages.

02

Full API Reference

Swagger UI embedded in the dashboard. Every endpoint, schema, header, and error code documented. Plus quickstart guides with curl, Python, and JavaScript.

03

Real-Time Observability

Live metrics dashboard with auto-refresh. Grafana dashboards for cache analytics, cost breakdown, latency percentiles, and security events.

04

853+ Tests, Zero Guesswork

Production-hardened with comprehensive unit and integration tests. Security-audited for SQL injection, XSS, ReDoS, and OWASP top 10.

terminal
# Install — use your existing OpenAI SDK
$ pip install openai

# Or with curl — it just works
$ curl api.aixgateway.co.ke/v1/chat/completions \
  -H "Authorization: Bearer aix-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o","messages":[...
     {"role":"user","content":"Hello"}]}'

# Response headers tell the story
X-AIX-Cache: SEMANTIC_HIT
X-AIX-Cost: $0.000000
X-AIX-Latency: 12ms
X-AIX-Model: gpt-4o 

Stop overpaying for AI.
Start building with AIX Gateway.

Join the growing community of African developers and enterprises using AIX Gateway to ship AI features faster and cheaper.