How to Use Groq API for Free with n8n (The Fastest AI Automation Guide)


Speed is money. When you are building automations in n8n, waiting 10 seconds for an AI response can break your workflow. OpenAI is smart, but it can be slow and expensive.
Enter Groq.
Groq is not an AI model; it is a chip company that created the LPU (Language Processing Unit). They run open-source models (like Meta's Llama 3 and Mixtral) at lightning speeds—we're talking 500+ tokens per second.
The best part? Their API is currently free for developers with generous rate limits. Here is how to set it up in n8n.
Why n8n + Groq?
- Insane Speed: Groq generates text instantly. It feels like magic compared to GPT-4.
- Completely Free (For Now): Groq offers a "Free Beta" tier on their cloud console. You can run thousands of requests per day without entering a credit card.
- Open Source Power: You get access to Llama 3 (70B) and Mixtral, which are top-tier models.
Step 1: Get Your Free Groq API Key
- Go to the GroqCloud Console.
- Sign up with your Google or GitHub account.
- On the left sidebar, click "API Keys".
- Click "Create API Key", name it "n8n-bot", and copy the key immediately.
Step 2: Connect Groq to n8n
Here is the trick. You don't need a special "Groq" node. Since Groq is "OpenAI Compatible," you can use the standard OpenAI node in n8n.
- Open your n8n workflow.
- Add an "OpenAI" node (Chat Model).
- Crucial Step: Instead of signing in with OpenAI, click "Create New Credential".
- Select "Custom OpenAI API" (or just override the Base URL in older versions).
- Base URL:
https://api.groq.com/openai/v1 - API Key: Paste your Groq Key here.
- Base URL:
- In the node settings, for "Model," you must type the name manually. Use:
llama3-70b-8192(For high intelligence)llama3-8b-8192(For extreme speed)
Step 3: Test Your Lightning Workflow
Create a "News Summarizer" that runs in milliseconds:
- Trigger: Manual or Schedule.
- Action: Ask Grok: "Summarize this long article into 3 bullet points."
- Result: You will see the output appear almost instantly.
By using Groq, your automations don't just become free; they become real-time. This is perfect for chatbots, voice agents, or instant data processing where speed matters.
Tags
More Related Articles

How I Fixed the "Select Model" Loading Loop in Google’s Antigravity IDE
December 13, 2025

The "Antigravity" Moment in AI: How Autonomous Agents Just Ended Manual Coding
December 12, 2025

The Automation Reality Check: Top 5 Systems Ranked (Stop Burning Money on Zapier)
December 12, 2025

The AI Revolution: Why Business Automation is the Future of Profit
December 10, 2025

Why the Future of Crypto Belongs to the Automated Investor
December 10, 2025

Smart Automation: The Crypto Investor’s Shield Against Costly Losses
December 10, 2025