Skip to content
Beta

Gateway overview

Gateway API (Preview, gated access) — unified chat completions, models, and providers with fail-closed auth and dated pricing.

On this page
  1. How it works
  2. Endpoints
  3. Authentication
  4. Provider readiness
  5. Pricing honesty
  6. Maturity
  7. Related

The Ethen Gateway is the developer control plane for model requests. Lifecycle: Preview in the status registry — usable by invited or gated users; console access is gated. It is not generally available.

How it works

  1. Authenticate with an Ethen Gateway API key (Authorization: Bearer <key>).
  2. Resolve the model against the Gateway catalog — or, for ethen/* smart

aliases, resolve the alias to a concrete provider/model via the smart router (Smart routing).

  1. Enforce project scope, rate/concurrency/budget limits when configured.
  2. Call an upstream adapter (OpenAI, Anthropic, Vercel AI Gateway, …) using server credentials or caller-supplied keys where allowed.
  3. Return an OpenAI-compatible completion shape with an ethen metadata namespace.
  4. Record usage against dated price records only — never OCR-only or expired prices.

Endpoints

EndpointMethodAuthPurpose
/api/gateway/v1/chat/completionsPOSTAPI key requiredChat completion (stream and non-stream)
/api/gateway/v1/modelsGETPublic catalogList catalog models
/api/gateway/v1/providersGETPublic catalogList provider metadata (no secrets)

Authentication

Authorization: Bearer <ethen_gateway_api_key>

Unauthenticated chat completion requests must fail closed (401/403 JSON). See Authentication and Gateway quickstart.

Provider readiness

Gateway launch paths with current certification receipts (as of M9 evidence):

  • OpenAI
  • Anthropic
  • Vercel AI Gateway (upstream adapter)

Not Gateway launch-ready in this release documentation:

  • Gemini (no Gateway certification receipt)
  • Exa (Research support; not a Gateway launch provider)
  • Ollama (local read-only certification only)

Details: Certification status and known limits.

Pricing honesty

Estimated cost uses only versioned official_provider price records with retrieval and expiry dates. Stale or OCR-only rows fail closed and must not be billed.

Maturity

Last verified 2026-07-27 · Owner gateway-team