How to Connect an AI Model to Nod on xCloud (OpenAI, Anthropic, Gemini, OpenRouter, Ollama)
Updated December 2, 2026 · 7 min read
To connect an AI model to Nod on xCloud, open your Nod server’s Status page, copy the Sign-in token and select Open Nod. After you sign in, Nod asks you to choose a provider, such as OpenAI, Anthropic, Google Gemini or OpenRouter, and paste your own API key. The key is stored on your server, inside Nod, not in xCloud.
This guide also covers local models from your own Ollama server, the monthly spending limit and the task check-in that keep model costs in check.
You need a running Nod server first. If you don’t have one yet, follow how to deploy Nod with xCloud.
Which release this describes: the Nod screens and defaults below match Nod 0.7.6, the release xCloud installs on a new Nod server. Nod is an early preview, so a newer release you install from Updates can rename a button or change a default. n8n’s Connect a model guide always has the current steps.
What you need
| You need | Detail |
|---|---|
| A Nod server on xCloud | An xCloud Managed server or your own server with the Nod stack, set up and running. |
| A model provider account | An API key from OpenAI, Anthropic, Google AI Studio, OpenRouter or another provider, or a ChatGPT Plus or Pro plan. For a local model, a model server you run on another machine. |
| A payment method with your provider | Paid providers bill you for every request Nod makes. Nod itself is free, and xCloud only bills for the server. |
Step 1: Copy your sign-in token
In the xCloud dashboard, open your Nod server and select Status in the left menu.
In the Sign in to Nod card, find the Sign-in token. It is hidden by default. Select the eye icon to show it, or select Copy to copy it.

Anyone with this token can use your Nod and every account you connect to it, so keep it private.
Step 2: Open Nod and sign in
On the same Status page, select Open Nod in the Nod Overview card. Nod opens in a new tab at your Nod address. Paste the token when Nod asks for it.

Expected result: Nod starts its first-time setup and shows a list of model providers.
If you don’t see Open Nod, the site has no HTTPS certificate yet. Nod only works over HTTPS. The page shows This site has no SSL certificate yet with an Open SSL settings button. Add a certificate there, then come back to Status.
Step 3: Choose a provider and paste your key
During setup, pick your provider from the list. Select More providers to search every supported service. Then follow the steps for your provider.
| Provider | What you enter |
|---|---|
| OpenAI | Choose Use an API key, leave API region on Global (or pick your project’s region), paste the key into API key and select Connect. |
| ChatGPT plan | Choose OpenAI, then Sign in with ChatGPT. This needs ChatGPT Plus or Pro. |
| Anthropic | Paste the key into API key and select Connect. If your key works in more than one workspace, choose the Workspace and save again. |
| Google Gemini | Open the link to create a key in Google AI Studio, paste it into API key and select Connect. |
| OpenRouter | Choose Sign in with OpenRouter to create a key in your browser, or Use an API key to paste one. |
| Other providers | Search for the provider, paste its key, then select Save key or Connect. |
Nod checks the key’s format before it saves it. If the key looks like it belongs to a different provider, Nod says so beside the field. Pick the matching provider or paste the right key.
Expected result: Nod saves the connection and picks a recommended model for it. Setup then offers a few optional steps, such as connecting your email. You can skip them and add them later.
Signing in with ChatGPT on a server
Because Nod runs on your server and not on your computer, the last page of the ChatGPT sign-in may not load in your browser. That is expected. Copy the full address from the browser’s address bar, paste it into Callback URL in Nod and select Complete sign-in.
You don’t need to open any extra port on the server for this. ChatGPT usage then comes from your plan, not from an API key.
Step 4: Pick the model Nod uses
Nod uses its recommended model for your provider until you change it. To choose another one:
- Select Settings at the bottom of Nod’s sidebar, then Models.
- Select Change beside Your model.
- Search or filter the list in Choose a model, then select a model.
To add a second provider later, open Settings → Models and select Add. Select Manage beside a provider to remove a connection or fix one that stopped working.
A listed model is not a promise that your account can use it. If a request fails, Nod shows the provider’s reason, such as no credit, a quota limit or no access to the model, with a link back to Settings → Models.
Step 5: Set your monthly spending limit
Nod shows what it spends with your API key and stops at a monthly limit you choose. Nod sets a $200 monthly limit when you finish setup.
To change it:
- Select an API model, then open Usage in Nod’s sidebar.
- In the sentence at the top, select your current limit (or no monthly limit).
- Enter an amount in US dollars, from $1 up, and select Save.
You can also tell Nod in chat, for example “Set my monthly limit to $40”.
When the month’s spending reaches the limit, schedules, tasks and background work stop. Your messages still reach Nod, but it only offers to raise or remove the limit. Work starts again next month, or as soon as you change the limit.
Nod’s amounts are estimates from each model’s API price. Your provider’s bill is the final word, so set a limit with your provider too if it offers one.
Step 6: Choose when tasks check in
A task stops and asks you before it spends more once it passes the check-in amount, $5 by default. Say yes and it carries on until it spends that much again. Say no and Nod stops the task.
To change the amount, tell Nod in chat, for example “Check in when a task passes $20” or “Stop checking in on tasks”.
| You pay with | Monthly limit | Task check-ins |
|---|---|---|
| An API key (OpenAI, Anthropic, OpenRouter and similar) | Counts | Counts |
| A ChatGPT plan | Doesn’t count | Counts, at API prices |
| Your own model server (Ollama and similar) | Doesn’t count | Doesn’t count |
Use a local model with Ollama
Nod can use a model you run yourself, through any server with an OpenAI-compatible address, such as Ollama, LM Studio, vLLM or llama.cpp. On xCloud, run that model server on another machine, not on the Nod server:
- Nod uses the whole server. A Nod server should have nothing else installed, and Nod’s own minimum is already 8 GB RAM.
localhostdoesn’t reach the server. Nod runs in Docker, solocalhostinside Nod means Nod’s own container. The default Ollama address,http://localhost:11434/v1, won’t find a model server on the Nod server itself.- An xCloud Ollama site can’t be used for this. An Ollama site made with xCloud One Click Apps only answers its
Ollama is runningstatus message on its domain and blocks every other path, so Nod can’t list its models.
Prepare the model server
Nod has two needs from a local model:
- The model must support tool calls. Nod does its work through tools. On ollama.com, filter models by Tools.
- The context must be at least 64,000 tokens. Nod’s instructions take about 20,000 tokens before your first message, and Ollama starts with a much smaller context. Start Ollama with a larger one:
ollama pull gpt-oss:20b
OLLAMA_CONTEXT_LENGTH=65536 ollama serve
The model server must be reachable from your Nod server. If it is on the internet, only let your Nod server reach it, for example with a firewall rule or an API key in front of it.
Connect it in Nod
- Open Settings → Models, select Add (or Add connection) and choose OpenAI-compatible. During first-time setup, select More providers, then Your own server.
- Enter the Server address, such as
http://YOUR_MODEL_SERVER_IP:11434/v1. If you leave out/v1, Nod tries it for you. - Add an API key only if your model server needs one.
- Select Connect.
Expected result: Nod lists the server’s models that support tools and selects the first one. If it shows Nod couldn’t list this server’s models, check that the model server is running and that your Nod server can reach the address.
Requests to your own server show as No price in Usage, and they don’t count toward the monthly limit or task check-ins.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| Open Nod is missing on Status | The site has no HTTPS certificate | Select Open SSL settings and add a certificate. |
| Nod asks for the token again | You opened Nod in a new browser | Copy the Sign-in token from Status again. |
| A task stops with a key, credit or quota error | Your provider refused the request | Follow the link to Settings → Models, check the key and your provider’s balance, or choose another model. |
| Schedules and tasks stopped | The month reached your spending limit | Raise or remove the limit in Usage, or tell Nod “Raise it to $300”. |
| This server has no models Nod can use | No model on your server supports tools | Pull or load a model with tool support, then add the server again. |
| Nod forgets its tools or repeats itself | The local model’s context is too small | Raise the context to 65,536 or more and reload the model. |
Frequently asked questions
Does xCloud store my AI provider key for Nod?
No. You add the key inside Nod, and Nod stores it on your server. xCloud never asks for it and does not keep a copy. Your provider bills you directly for what Nod uses.
Which AI providers can Nod use?
Nod connects to OpenAI (an API key or a ChatGPT Plus or Pro sign-in), Anthropic, Google Gemini, OpenRouter, Amazon Bedrock, Google Vertex AI, Azure OpenAI, Cloudflare and many more named providers. It can also use your own model server through an OpenAI-compatible address, such as Ollama, LM Studio, vLLM or llama.cpp.
Can I run Ollama on the same server as Nod?
We don’t recommend it. Nod is set up to use the whole server, and it runs in Docker, so localhost inside Nod points at Nod’s own container, not at the server. Run the model server on another machine and give Nod its address.
How do I stop Nod from spending too much on my model?
Open Usage in Nod and set a monthly limit in US dollars. Nod sets a $200 limit when you finish setup. When a month reaches the limit, schedules, tasks and background work stop until you raise or remove it. Each task also checks in with you when it passes $5, unless you change that amount.
Related guides
- How to deploy Nod with xCloud: create the server, update Nod and back it up
- How to deploy Ollama with xCloud: run open models on a server of their own
- Nod hosting: plans and what xCloud sets up for Nod
- n8n’s Local models and Spending and usage guides
If you run into any issues while connecting a model to Nod, feel free to reach out to our support team.