NuevoCarril Eco ya en 91 modelos: el mismo modelo a menor precio

Moneda

Siempre recargas en euros. Las demás monedas se muestran al tipo de cambio de hoy del BCE. Tipos de cambio de referencia del BCE

Iniciar sesiónEmpezar

Documentaciónv1

Menú de la documentaciónn8n

n8n

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

La documentación está en inglés.

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.