Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Connect n8n to Eden AI using the official community node, and plug +300 LLM models from 50+ providers into any AI Agent or Chain workflow.

Overview

n8n is a workflow automation platform with native AI agent support. The Eden AI Chat Model community node lets you use Eden AI as the language model backend for any n8n AI node — no direct API wiring required.
  • +300 LLM models: OpenAI, Anthropic, Google, Mistral, and more through a single credential
  • Automatic fallback: define backup models that activate if the primary fails
  • Web search: give models real-time web access when the task needs it
  • European hosting: GDPR-compliant, transparent data routing

Setup

1. Install the community node

In your n8n instance, go to Settings → Community Nodes and install:
n8n-nodes-edenai
Restart n8n if prompted.

2. Add your Eden AI credential

In n8n, click the + button → select Credential → search for Eden AI. Paste your API key from app.edenai.runAPI Keys.

3. Add the node to a workflow

In any workflow that uses an AI Agent or Chain node, click the Model sub-node slot and select Eden AI Chat Model. The node connects as a language model provider — n8n handles message formatting, memory, and tool calls automatically.

Configuration

OptionDescription
ModelModel in provider/model format. Loaded dynamically from Eden AI’s catalog.
Fallback ModelsComma-separated backup models (e.g. openai/gpt-4o,anthropic/claude-haiku-4-5). Retried in order if the primary fails.
Web SearchAllow the model to retrieve real-time information from the web.
Web Search Context Sizelow, medium, or high — controls retrieval depth and cost.
Sampling TemperatureControls randomness (0–2). Lower = more deterministic.
Maximum Number of TokensMax tokens to generate. Use -1 for the model’s default maximum.
Response Formattext (default) or json_object (forces valid JSON output).
Top PNucleus sampling threshold (0–1). Alter this or temperature, not both.
Frequency PenaltyReduces repetition of frequent tokens (-2 to 2).
Presence PenaltyEncourages new topics by penalizing already-used tokens (-2 to 2).
Max RetriesHow many times to retry on failure (default: 2).
TimeoutRequest timeout in milliseconds (default: 360 000).

Available models

Pass any provider/model string as the model. The dropdown is populated live from Eden AI’s catalog. Examples:
  • openai/gpt-4o — GPT-4o
  • anthropic/claude-sonnet-4-5 — Claude Sonnet
  • google/gemini-2.5-flash — Gemini Flash
  • mistral/mistral-large-latest — Mistral Large
Browse the full catalog with pricing and capabilities at app.edenai.run/models.

JSON response format

When Response Format is set to json_object, you must include the word json somewhere in the prompt. This is a requirement of the underlying model API.
JSON mode is only supported by models released after November 2023.

Next Steps