Saki Gateway

Saki Gateway is an OpenAI-compatible API gateway: applications keep calling the endpoints they already know, while the gateway routes each request to a configured provider and falls back when one is unavailable. A Next.js dashboard is served alongside the API so the gateway can be operated without leaving the browser.

What it is

An OpenAI-compatible AI gateway with multi-provider routing, fallback, rate limiting and per-user credits, plus a dashboard built alongside the API.

Highlights

  • OpenAI-compatible `/v1/chat/completions` and `/v1/models` endpoints
  • Multi-provider routing with fallback
  • Rate limiting and per-user credits
  • Next.js dashboard served next to the API
gateway — api

POST /v1/chat/completions

GET /v1/models

# OpenAI-compatible, routed across providers

$ curl $GATEWAY -H "Authorization: Bearer $KEY"

200 OK · compatible response

FastAPINext.jsTypeScriptSQLiteCloudflare

Saki Gateway is part of Saqib Sarwar's portfolio. More projects sit in the projects section.