NewEco lane now on 91 models: the same model at a lower price

Currency

You always top up in euro. Other currencies are shown at today's ECB rate. ECB reference rates

Sign inGet started

Your first API key and request

Add credit, create a key and send one request. It takes a few minutes.

The Quick start on your dashboard takes you through the same steps.

  1. Add credit. Requests need a balance above zero. Top up from €10 on app.nexrouting.com/credits. See Buy credits.
  2. Create a key. Open app.nexrouting.com/keys, choose New key, give it a name and choose Create key. Copy the key right away: we show it only once.
  3. Store the key in an environment variable, never in code you share:
export NEXROUTING_API_KEY="nr-v1-…"
  1. Send a request. Point the SDK you already use at https://api.nexrouting.com/v1, or try it with curl:
curl https://api.nexrouting.com/v1/chat/completions \
  -H "Authorization: Bearer $NEXROUTING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-6-astra",
    "messages": [{"role": "user", "content": "Say hello in five words."}]
  }'
  1. Check it. The request shows up on app.nexrouting.com/usage with its tokens and cost.

Examples for Python, JavaScript and curl are in the quickstart.

Your dashboard also has a Playground, where you can try any model on your balance without a key. We don’t save the chat: it’s gone when you leave the page.

In this topic: Getting started

Still stuck? Contact support

Ask Miles in your dashboard, or talk to a person. Writing about an API call? Send the request ID along.