Integration · automation
n8n on llmbox
n8n is a workflow automation platform with AI agents. Add llmbox to your OpenAI credentials and the AI Agent and Basic LLM Chain nodes use DeepSeek, GPT, Gemini and Qwen with one API key. Pay per token.
- n8n Cloud and self-hosted
- OpenAI credentials
- One API key
https://llmbox.cc/v1- deepseek/deepseek-v4.1-flash
- qwen/qwen3.8-flash
- google/gemini-3.8-flash
- openai/gpt-6.1-sol
- + 28 more
Setup
Set up n8n
Create credentials
Credentials → Create credential → OpenAI. API Key is your llmbox key from the dashboard, Base URL:
Add a model to the workflow
Attach an OpenAI Chat Model with these credentials to an AI Agent or Basic LLM Chain node.
Set the model ID
In the Model field, choose By ID and enter an ID from the catalog, e.g. deepseek/deepseek-v4.1-flash.
Full guide
Models
Fast models for workflows
A fast model is enough for classification and email parsing; for an agent with tools, pick a stronger one.
| Model | Model (By ID) | Input, 1M | Output, 1M |
|---|---|---|---|
| DeepSeek V4.1 Flash | deepseek/deepseek-v4.1-flash | $0.10 | $0.27 |
| Qwen3.8 Flash | qwen/qwen3.8-flash | $0.072 | $0.2115 |
| GPT-5.6 Luna | openai/gpt-5.6-luna | $0.15 | $0.40 |
| Gemini 3.8 Flash | google/gemini-3.8-flash | $0.225 | $1.125 |
| DeepSeek V4 Pro | deepseek/deepseek-v4-pro | $0.19 | $0.555 |
| GPT-6.1 Sol | openai/gpt-6.1-sol | $1.80 | $5.00 |
Prices are per million tokens, from the catalog.
Before you start
Test your key from the terminal
Store your API key in LLMBOX_API_KEY and send the request — the OpenAI Chat Model node sends the same one. If you get a reply, the key and address are correct and ready for your credentials.
How it works
n8n agents on llmbox models
Agent tools
The calculator, HTTP Request and other workflows attached to AI Agent reach the model as regular functions.
Usage in your dashboard
Track each request's model, tokens and cost in your dashboard. Set a spending limit for each API key.
Each agent step is a request
A workflow with tools makes several requests to the model. For frequent runs, a fast model is a good fit.
Scenarios with n8n

Ten tools on one key: Teleharness, OpenCode, Codex CLI, Cline, n8n and more
llmbox now has a Tools section: pages for Teleharness, OpenCode, Codex CLI, Cline, n8n and others, with three-step setup and models from the catalog.

How to move code from the OpenAI SDK to other models: changing base_url
How to move code from the OpenAI SDK to DeepSeek, Gemini, Qwen and GPT models: base_url and key in Python, Node, curl, environment variables and LangChain.

llmbox: one key for GPT, Gemini, DeepSeek, Qwen and other models
llmbox launched in August 2026: one key and one API address for models from different vendors — text, images, video and audio. You pay from a balance as you go.
Questions
FAQ
How do I connect an AI model to n8n?
Create OpenAI credentials with your llmbox API key and the llmbox Base URL, select them in the OpenAI Chat Model node and enter a model ID from the catalog.
Which API key does n8n use?
Your llmbox API key from the dashboard. It works with DeepSeek, GPT, Gemini and Qwen — no separate key per model.
Does it work in n8n Cloud?
Yes. OpenAI credentials with the Base URL field are set up the same way in n8n Cloud and self-hosted.
How are n8n requests billed?
Workflow requests are billed per token at catalog rates and deducted from your llmbox balance. Pay as you go, with no subscription.
Connect n8n to llmbox
Create an API key in your llmbox dashboard after signing up.
n8n is a project by n8n GmbH under the Sustainable Use License.