WRAITHERIX
Home / Blog
Guide · tested 2026-12-05

n8n with a custom API base URL: connect WRAITHERIX in a few minutes

WRAITHERIX team
Three glowing blocks on a circuit board joined by thin traces, the last trace leading to a gateway block on the right

Short version: n8n's OpenAI credential type has a Base URL field. Put https://api.wraitherix.com/v1 there, paste a WRAITHERIX key, and every node that uses it in your workflows runs through WRAITHERIX. Below is the full path from a clean install, tested on December 5, 2026.

What you need

Get a key

Sign in at wraitherix.com, open "API Keys" in the left menu, click "Create API key", name it and save. The key starts with sk-. Copy it with the copy icon in the key row.

The API Keys page in the WRAITHERIX dashboard
The API Keys page. The key is masked.

Create the credential

A credential is n8n's saved login for a service. Open the Credentials section, click Create credential, search for OpenAI, pick it and click Continue. Then fill in:

Click Save. A green "Connection tested successfully" banner means n8n reached the API with your key.

The n8n credential dialog with the Base URL set to the WRAITHERIX address and a green success banner
The credential dialog. n8n masks the API Key field.

The name is up to you. We called it WRAITHERIX.

Run a model node

  1. Create a workflow with a Manual Trigger, then add the OpenAI node and choose the action Message a model.
  2. Pick your credential.
  3. Set Model to By ID and type gpt-5.4-mini. Current model names are listed in the catalogue.
  4. Under Messages click Add Message, keep the role User, and put a question in Prompt, for example Answer in one short sentence: what is n8n?.
  5. Click Execute workflow.

Both nodes get green check marks and "Workflow executed successfully" appears. Double-click the node to read the answer in the OUTPUT column (JSON view).

The n8n canvas with the Start node and the Ask model node both green, and a success message at the bottom
A finished run. Ask model is the Message a model action.

Our first run answered on the first try. We then switched the model to gpt-5.5 and asked Reply with the number only: 17*23. The node returned 391.

Add an AI Agent

Use the AI Agent node when the model should pick actions and use tools rather than only answer. It gets its model from a separate node:

  1. Add AI Agent, set Prompt to Define below, and enter your question.
  2. Click "+" under its Chat Model connector and add OpenAI Chat Model.
  3. Choose the same credential and a Model By ID, for example gpt-5.4-mini.
  4. Execute the workflow.

We ran this with gpt-5.4-mini and with claude-sonnet-4-5. Asked Reply with the number only: 17*23, the second returned 391. The first answered just OK once. If an agent answers off-target, reword the question in plain words, for example What is 17 times 23? Reply with the number only. We did not run that variant separately.

Models we tried

Only the Model field changes. The key and address stay in the credential.

Model Node Result
gpt-5.4-mini Message a model answered
gpt-5.5 Message a model 391
claude-sonnet-4-5 AI Agent 391

Spell model names exactly as the catalogue does.

When it fails

We reproduced one error on purpose by typing no-such-model-xyz as the model.

The node turned red with "Service unavailable" and, inside, 503 ... No available channel for model no-such-model-xyz. The model does not exist. n8n's hint "try again later" is misleading here: retrying changes nothing, fix the name using the catalogue.

If a node fails with 401 instead, the key was pasted with a typo or a trailing space. Re-enter it in the credential. We did not reproduce this case in n8n.

How we tested

Date: December 5, 2026, macOS, n8n 2.50.7, Node v24.16.0, in an isolated home directory with a test key. We loaded the credential and test workflows with n8n's import commands and checked how the dialogs look in a browser. Run results came from the n8n console and from the WRAITHERIX request log. Cost is from the same log: 7 requests, about 1.3 cents. The run protocol is saved.

One key for 400+ models

Pay as you go, below list price.

Get a keyCatalog