NouveauVoie Eco désormais sur 91 modèles : le même modèle, moins cher

Devise

Vous rechargez toujours en euros. Les autres devises sont affichées au taux du jour de la BCE. Taux de référence de la BCE

Se connecterCommencer

Documentationv1

Menu de la documentationn8n

n8n

Use Nexrouting models in n8n workflows and AI agents with an OpenAI credential and a custom base URL.

La documentation est en anglais.

n8n talks to Nexrouting through its OpenAI nodes. You need three things: the base URL, your key and a model ID.

1. Create the credential

  1. Go to Credentials and create a credential of the type OpenAI.
  2. Paste your Nexrouting key in API Key.
  3. Set Base URL to https://api.nexrouting.com/v1.
  4. Save. Leave the organization field empty.

2. Pick the model

In an OpenAI Chat Model node (for an AI Agent or a chain), choose the credential and set the model by its ID, for example anthropic/claude-sonnet-5.5. If the model isn't in the list, switch the field to By ID and type it.

Or use an HTTP Request node

FieldValue
MethodPOST
URLhttps://api.nexrouting.com/v1/chat/completions
HeaderAuthorization: Bearer nr-v1-… (better: a Header Auth credential)
Body (JSON){"model": "openai/gpt-6-astra", "messages": [{"role": "user", "content": "Hello"}]}

Field names can differ a little between n8n versions.