Skip to content

Build on NuRoute

One OpenAI-compatible API. Send auto and Artemis picks the model for each request.

Two ways in

NuRoute Chat API

For your own tools on a Personal plan. OpenAI and Anthropic formats, one model called artemis, using your weekly tokens.

Request
curl https://chat.nuroute.ai/v1/chat/completions \
  -H "Authorization: Bearer nrc_..." \
  -H "Content-Type: application/json" \
  -d '{ "model": "artemis",
        "messages": [{ "role": "user", "content": "Summarise this changelog: ..." }] }'

Claude Code · pi

NuRoute Platform API

For products in production. Your provider keys or ours, presets, budgets, policies and a trace of every decision.

JavaScript SDK
const res = await client.chat.complete({
  model: 'auto',              // Artemis picks; or name a model
  messages: [{ role: 'user', content: 'Extract the invoice number: ...' }],
});
res.model;                    // the model that served it

JavaScript · Python · For teams

Good to know

  • With auto, the response’s model field and X-Router-Model header name the model that served it.
  • Name a model instead of auto and no selection runs.
  • Artemis is not in self-hosted NuRoute yet; a simpler fallback router decides there.
  • Full reference: routing · GitHub