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.
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
| Word | What it means |
|---|---|
| API | A way for one program to ask another program for something. Here, your code asks NuRoute for an AI answer. |
| API key | A secret code that proves who you are. Treat it like a password. |
| Organisation | Your account's home. All your projects and keys live inside it. |
| Gateway | The NuRoute address your requests go to. It looks like https://your-gateway below; use your own. |
Step 1: Create an account
- Sign up at the NuRoute dashboard. While signing up, you create your organisation.
- 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
- In the dashboard, go to Settings → API Keys.
- Click Create key.
- Copy the key now. It starts with
aicp-and is shown only once. Save it somewhere safe.
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
- JavaScript
- Python
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!" }]
}'
First install the NuRoute package:
npm install @aicp/sdk
Then run this code:
import { NuRouteClient } from '@aicp/sdk';
const client = new NuRouteClient({
apiKey: 'aicp-...',
baseUrl: 'https://your-gateway',
});
const response = await client.chat.complete({
model: 'auto',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content);
First install the NuRoute package:
pip install nuroute
Then run this code:
from nuroute import NuRouteClient
client = NuRouteClient(
api_key="aicp-...",
base_url="https://your-gateway",
)
response = client.chat.complete(
model="auto",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response["choices"][0]["message"]["content"])
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-costorartemis-qualityinstead. 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.
Which model really answered?
Every answer tells you:
| Where | What it tells you |
|---|---|
the model field, and the X-Router-Model header | The model that answered |
the X-Router-Version header | Which router decided: v2 is Artemis. v1 means Artemis could not decide and the backup router did |
the X-Router-Fallback header | Only when the backup router decided: the reason why |
Prefer a different tool?
NuRoute works with many popular tools. Pick yours:
| You use | Guide |
|---|---|
| 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 app | The official nuroute-mcp-server lets it use your gateway. MCP guide |
| LangChain | The official langchain-nuroute package gives you ChatNuRoute, a normal BaseChatModel for any chain or agent. LangChain guide |
| Vercel AI SDK | The official nuroute-ai-sdk package lets generateText and streamText use NuRoute, the same way you use @ai-sdk/openai. Vercel AI SDK guide |
| Dify | The official NuRoute model provider plugin adds NuRoute to Dify's model dropdown. Dify guide |
| CrewAI | No package needed. CrewAI's built-in LLM class talks to NuRoute directly. CrewAI guide |
| Zapier | The NuRoute integration sends chat requests through your gateway from any Zap. Zapier guide |
| Make | The NuRoute integration sends chat requests through your gateway from any scenario. Make guide |