AI gateway · Jakarta / global
Route every model request with the decision in view.
One OpenAI-compatible endpoint for policy-aware provider selection, safe fallback, usage metering, and credit control.
REQ_8MZ223:17:04 UTC
policy.check
scope · balance · capabilityroute.select
arsant/fast → provider-ameter.commit
usage + price version
01
OpenAI-compatible input
OpenAI-compatible input
02
Explicit policy check
Explicit policy check
03
Explainable provider route
Explainable provider route
04
Idempotent metering
Idempotent metering
Control plane
Failures become route decisions, not mysteries.
Every eligible and rejected candidate keeps a reason: quota, health, capability, circuit state, or cost.
01
Primary · mock-01
Healthy · capability match
SelectedHealthy · capability match
02
Fallback · openrouter
Ready if first byte times out
StandbyReady if first byte times out
03
Gemini · regional
Rejected: tool capability mismatch
FilteredRejected: tool capability mismatch
Developer flow
A base URL change. Nothing hidden behind it.
export OPENAI_BASE_URL=https://api.example.com/v1
export OPENAI_API_KEY=ar_••••••••
curl $OPENAI_BASE_URL/chat/completions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{"model":"arsant/fast","messages":[...]}'Start with evidence
