Base URL
Authentication
Send your API key as a Bearer token on every request.Endpoints at a glance
See the Endpoints section for full request and response schemas.
Discovering gateway-routable models
Every model returned by/v1/models and /v1/models/{id} carries an
inference block that tells you whether the model can be invoked
through the LLM Stats gateway and the
canonical id to pass as model:
available is false, the optional fields are omitted —
that model is in the catalog but cannot be called through the gateway.
Errors
Every error uses the same envelope, so you only need to write the handling code once.code is the contract — branch on it, never on message.
Rate limits
Limits are applied per API key, per endpoint:
Exceeding a limit returns HTTP
429 with the standard error envelope and a Retry-After header. Need higher limits? Get in touch.