Centralized AI
gets in the way.
- 01 Message caps and rate limits at peak hours
- 02 One provider outage can stall your product
- 03 Limited visibility into request-level token usage
An OpenAI-compatible gateway with customer API keys, model controls, per-key daily quotas, and durable usage records. Requests go to the inference provider configured for this deployment.
Contacting the gateway health endpoint.
GET /api/healthPOST /api/v1/chat/completionsPOST /api/v1/keys ADMINLive status loads from this deployment. Run the quickstart to configure provider access and issue customer keys.
Give applications one authenticated interface for configured model requests and durable usage tracking. Provider rate limits and availability still apply.
This first release validates each API key, enforces a daily request quota, records usage, and forwards chat requests to one OpenAI-compatible provider. It does not bypass provider limits or route across a distributed GPU network.
Explore the architecture ↗Start with an operational API path, then add providers, billing, and distributed compute as those systems are built.
Create named keys through an admin-only endpoint. Store only key hashes and reveal each key once.
SHA-256 HASH STORAGERecord request outcomes and provider-reported token counts in a persistent database.
SUPABASE POSTGRESEnforce an atomic daily request limit before forwarding traffic to the configured provider.
CONFIGURABLE REQUEST LIMITApply the database migration, add the server-side secrets to Vercel, then create a customer key with the admin route. Never expose the provider or admin secrets in browser code.
Open the API quickstart ↗# Send an authenticated request
curl https://aethelai.online/api/v1/chat/completions \
-H "Authorization: Bearer $AETHEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Hello"}]}'