Telegram AI Agent workflow fails with “Insufficient quota detected” - looking for free alternatives for a course project
Describe the problem/error/question
Hello everyone,
I am building a Telegram chatbot workflow in n8n for a course project.
My workflow is:
Telegram Trigger → AI Agent → Telegram Send Message
(with Simple Memory for chat history)
The Telegram connection works correctly:
The bot receives messages
The Telegram Trigger is firing
The chat ID and message fields are available
The problem happens in the AI Agent node. I receive an error.
I checked:
The OpenAI API key is active
The API key has permissions enabled
The credential is correctly connected in n8n
The workflow reaches the AI Agent node
However, I don’t have an OpenAI billing setup (no credit card added), because this is only a course project.
According to the n8n documentation, this error can happen when:
the account has no available credits
the project has reached its usage limit
the API key is connected to the wrong organization/project
Before adding billing, I would like to ask:
Is there any way to use OpenAI models in n8n for free for testing/education purposes?
Are there any free alternatives compatible with the AI Agent node?
Would you recommend using Ollama or another local LLM provider for a beginner project?
I only need a simple Telegram chatbot that can answer messages and keep a short memory.
Thanks for any advice!
What is the error message (if any)?
Insufficient quota detected.
You exceeded your current quota, please check your plan and billing details.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: Version 2.23.4
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): web
- Operating system: Mac