Skip to main content

Quickstart: your first request in 5 minutes

In this guide you will ask an AI a question using the NuRoute Platform API, and read the answer. No experience with NuRoute is needed.

Four steps: sign up, verify your email, make an API key, send a request

Using Claude Code or pi?

If you are on a Personal Chat plan and only want NuRoute inside Claude Code or pi, you do not need this page. Go to Claude Code or pi instead.

Words you will see​

WordWhat it means
APIA way for one program to ask another program for something. Here, your code asks NuRoute for an AI answer.
API keyA secret code that proves who you are. Treat it like a password.
OrganisationYour account's home. All your projects and keys live inside it.
GatewayThe NuRoute address your requests go to. It looks like https://your-gateway below; use your own.

Step 1: Create an account​

  1. Sign up at the NuRoute dashboard. While signing up, you create your organisation.
  2. Verify your email. We send you a link. Click it. Until you do, creating API keys and sending requests fails with 403 email_not_verified. Verifying also adds your welcome credits (see pricing).

You do not need to connect any AI provider first. Artemis uses NuRoute's own provider keys.

Step 2: Create an API key​

  1. In the dashboard, go to Settings → API Keys.
  2. Click Create key.
  3. Copy the key now. It starts with aicp- and is shown only once. Save it somewhere safe.
Keep it secret

Do not paste your key into public code, chat or screenshots. If it leaks, make a new key and delete the old one.

Step 3: Make your first request​

Choose the way you like to work. Each example sends "Hello!" and asks for an answer. Replace aicp-... with your key and https://your-gateway with your gateway address.

curl is a tool already on most computers. Paste this into your terminal:

curl https://your-gateway/v1/chat/completions \
-H "Authorization: Bearer aicp-..." \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [{ "role": "user", "content": "Hello!" }]
}'

If it works, you get an answer back. Congratulations, you just used NuRoute!

What just happened?​

  • "model": "auto" means "let Artemis pick the best model." That is the Balanced choice.
  • Want it cheaper or stronger? Send artemis-cost or artemis-quality instead. See the Artemis options.
  • Want one specific model? Put its name in model (see the model catalogue). Nothing is picked for you, and you pay that provider's list price.

Cost, Balanced and Quality options

Which model really answered?​

Every answer tells you:

WhereWhat it tells you
the model field, and the X-Router-Model headerThe model that answered
the X-Router-Version headerWhich router decided: v2 is Artemis. v1 means Artemis could not decide and the backup router did
the X-Router-Fallback headerOnly when the backup router decided: the reason why

Prefer a different tool?​

NuRoute works with many popular tools. Pick yours:

You useGuide
A visual workflow builder (n8n)The official n8n-nodes-nuroute node sends chat requests through NuRoute with no code. n8n guide
Claude Desktop or another MCP appThe official nuroute-mcp-server lets it use your gateway. MCP guide
LangChainThe official langchain-nuroute package gives you ChatNuRoute, a normal BaseChatModel for any chain or agent. LangChain guide
Vercel AI SDKThe official nuroute-ai-sdk package lets generateText and streamText use NuRoute, the same way you use @ai-sdk/openai. Vercel AI SDK guide
DifyThe official NuRoute model provider plugin adds NuRoute to Dify's model dropdown. Dify guide
CrewAINo package needed. CrewAI's built-in LLM class talks to NuRoute directly. CrewAI guide
ZapierThe NuRoute integration sends chat requests through your gateway from any Zap. Zapier guide
MakeThe NuRoute integration sends chat requests through your gateway from any scenario. Make guide

Next steps​