➜ curl https://www.jonkum.in/api/v1/chat/completions -H “Authorization: Bearer ngk_…”
An AI gateway
with an OS behind it.
Build on NextOS from your own code. Point any OpenAI SDK at one endpoint and route across five providers with your key or ours, or reach the other way and drive your NextOS agents from your app. One scoped key opens both doors.
- compatible
- OpenAI
- providers, one API
- 5
- or hosted
- BYOK
- revocable keys
- scoped
from openai import OpenAI client = OpenAI( base_url="https://www.jonkum.in/api/v1", api_key="ngk_live_…", # your NextOS gateway key) resp = client.chat.completions.create( model="anthropic/claude-sonnet-5", messages=[{"role": "user", "content": "Summarize my week."}],)the model id is provider/model; drop the provider and the plane routes it for you
01Two doors
Rent the model.
Or call the agents.
Outbound is a metered, routed model API. Inbound drives the agents you already run. Both authenticate with the same key.
- POST/v1/chat/completionsOpenAI-compatible, streaming or not
- GET/v1/modelsevery routable model, provider/model
Bring your own provider key and pay the provider, or draw a metered hosted allowance. Fallback and per-run budgets are built in.
- GET/v1/agentsthe agents you can run
- POST/v1/agents/:id/runsstart a run · wait or poll
- GET/v1/runs/:ida run's outcome
- POST/v1/taskshand a one-off task to the runner
Runs execute server-side on your vaulted key, isolated in a sandbox, and stream their outcome back. Scoped to what the key may do.
02The visibility layer
What you build on it,
you watch from inside it.
Every call through the gateway, every model, every agent hop, every dollar, comes back as a run you can read in your own OS. The app you ship is also its own control panel. Nothing is a black box, not even the parts you wrote.
Metered
Every call is priced against the model that ran it, on your own usage ledger.
Governed
Per-run token and cost caps, provider fallback, and the same prompt-injection boundary the OS uses.
Yours to revoke
Keys are scoped and revocable, one click, in Settings, the moment you need them gone.
one key · two doors · five providers