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.
The gateway validates each API key, enforces a daily request quota, and records usage. When enabled, mapped requests can fall back from an OpenAI-compatible primary to Groq after a primary rate-limit response. This reduces reliance on one provider but cannot eliminate limits or outages; distributed GPU routing is not yet available.
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 LIMITV1 is a private API pilot. Customer billing is not available yet; inference uses provider capacity billed to Aethel. Access keys are issued by an administrator. Never expose provider or admin secrets in browser code.
Open the API quickstart ↗# Send an authenticated request
curl https://www.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"}]}'