Inference
Send chat completions through NuRoute, OpenAI-compatible.
Create a chat completion
Routes an inference request to an AI provider via the Routing Service and returns a response.
List models
OpenAI-compatible model list, for clients that expect `GET /v1/models`. For every routable model with pricing and capabilities, use `GET /v1/models/catalog`.
Create a message (Anthropic)
Anthropic-compatible endpoint for clients such as Claude Code: set `ANTHROPIC_BASE_URL` to NuRoute and your NuRoute key as `ANTHROPIC_API_KEY` (sent as `x-api-key`) or `ANTHROPIC_AUTH_TOKEN`. Runs through the same pipeline as `/v1/chat/completions`. Text, base64 images (also in tool results) and custom tools; documents and server tools are refused. `model: 'auto'` is Artemis.
Count message tokens
An estimate of the input tokens of a Messages request, for Anthropic clients that budget their context. Nothing is sent to a model.