← All applications · Connect apps section on /docs
OpenAIManual setup
n8n
n8n: configure a model connection in an automation workflow.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://thapi.cloud/v1Prerequisites
- n8n instance
- API keys
Recommended model: claude-fable-5
Quick way — command / config
Credentials → OpenAI API
API Key : sk-thapi-...
Base URL : https://thapi.cloud/v1
# For an Anthropic node:
API Key : sk-thapi-...
Base URL : https://thapi.cloud
Node LLM → Model: claude-fable-5Where to place file / fill Settings
Interfaceany
Credentials → OpenAI / Anthropic
Some n8n versions place Base URL in the node's Options section — check both locations.
Verify connection
- Execute a workflow with one LLM node
- View Usage
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| 404 | Base URL does not match the node's protocol. | OpenAI node → https://thapi.cloud/v1; Anthropic node → https://thapi.cloud. |