AI infrastructure · sector-agnostic

One gateway for every team's AI features — metered, or on your own key.

Nia Gateway sits between your product and the LLM providers you rely on, handling billing, per-tenant isolation, and payments — in Kenyan shillings through M-Pesa, or your own provider key — so you ship AI features without building metering and payments infrastructure yourself.

# a real completion, billed against the platform
POST /v1/ai/complete
x-api-key: sk-live-••••••••••••••••
{
  "response": "...",
  "used_byok_key": false,
  "cost": "0.00022",
  "balance_after": "459.99978"
}

How it works

From API key to live AI feature in four steps.

1
Connect your app

Grab your tenant's API key from the dashboard and call POST /v1/ai/complete with an x-api-key header — that's the whole integration.

2
Choose your billing

Bill metered against a shared balance, priced from real token usage — or bring your own provider key and pay it directly, with zero platform markup.

3
Fund your account

Top up by M-Pesa prompt or Paybill into the SMPLY PAY wallet that comes with your account. Settled deposits become credit automatically.

4
Ship

Your AI features go live behind per-tenant rate limits and isolation, with usage and cost analytics from the very first request.

Built for every sector, not just one

Nia Gateway is deliberately sector-agnostic — the same isolation and billing model, wherever your team operates.

Legal practice management

Our flagship use case: AI-assisted drafting, research, and document review billed transparently per matter, with strict per-tenant isolation so no firm's usage ever crosses into another's.

Fintech & payments teams

Fund usage from a SMPLY PAY wallet with M-Pesa, with per-tenant isolation and a full ledger of every charge and top-up for your audit trail.

Healthcare

The same per-tenant isolation and rate limits as every sector, plus the option to bring your own provider key when a compliance posture calls for it — nothing routes through a shared key unless you choose to.

Why Nia Gateway

Genuine differentiators, not a generic features list.

Real BYOK support

Bring your own Anthropic key and pay the provider directly. A BYOK request is a genuine pass-through — it's never billed against your platform balance.

M-Pesa payments via SMPLY PAY

Every account gets a SMPLY PAY wallet. Deposits are credited only after SMPLY PAY settles them and the funds have moved, and each one is credited exactly once.

Per-tenant isolation

Every tenant's API key, balance, rate limit, and usage history is isolated at the database layer — one tenant's traffic or billing never touches another's.

Built in Rust

A memory-safe, single-binary service designed to run predictably under load, with structured logging and Prometheus metrics from day one.

Ready to get started?

Create an account to get your API key and a SMPLY PAY wallet in one step, or reach out with questions.

Create an account Contact us