Create OpenAI-Compatible API Using GitHub Models for Free AI Access
n8n template #4217Summary
Use templateThis n8n template shows you how to connect Github's Free Models to your existing n8n AI workflows. Whilst it is possible to use HTTP nodes to access Github Models, The aim of this template is to use it with existing n8n LLM nodes - saves the trouble of refactoring! Please note, Github states their model APIs are not intended for production usage! If you need higher rate limits, you'll need to use a paid service. How it works The approach builds a custom OpenAI compatible API around the Github Models API - all done in n8n! First, we attach an OpenAI subnode to our LLM node and configure a new OpenAI credential. Within this new OpenAI credential, we change the "Base URL" to point at a n8n webh
Hand off to your agent
Prompt
Help me set up the n8n workflow "Create OpenAI-Compatible API Using GitHub Models for Free AI Access" (https://n8n.io/workflows/4217). It uses: HTTP Request, Basic LLM Chain, OpenAI Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Personalize marketing emails using customer data and AI72K
- Host Your Own AI Deep Research Agent with n8n, Apify and OpenAI o348K
- πDeepSeek V3 Chat & R1 Reasoning Quick Start37K
- π Perplexity Research to HTML: AI-Powered Content Creation35K
- ChatGPT Automatic Code Review in Gitlab MR29K
- AI-Generated LinkedIn Posts with OpenAI, Google Sheets & Email Approval Workflow28K
- Build an AI Powered Phone Agent ππ€ with Retell, Google Calendar and RAG23K
- Automate Blog Creation in Brand Voice with AI22K