AutomationMart
Home/Browse/Create OpenAI-compatible API using GitHub models for free AI access
n8n

Create OpenAI-compatible API using GitHub models for free AI access

n8nn8n12 modulesv1.0
OpenAIGitHub

This 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 M

At a glance

Create OpenAI-compatible API using GitHub models for free AI access is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, GitHub. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, GitHub
Modules
12
Price
Free
Version
v1.0
Create OpenAI-compatible API using GitHub models for free AI access workflow diagram

About this workflow

This 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 webhook we've prepared as part of this template. Next, we create 2 webhooks which the LLM node will now attempt to connect with: "models" and "chat completion". The "models" webhook simply calls the Github Model's "list all models" endpoint and remaps the response to be compatible with our LLM node. The "Chat Completion" webhook does a similar task with Github's Chat Completion endpoint. How to use Once connected, just open chat and ask away! Any LLM or AI agent node connected with this custom LLM subnode will send requests to the Github Models API. Allowing your to try out a range of SOTA models for free. Requirements Github account and credentials for access to Models. If you've used the Github node previously, you can reuse this credential for this template. Customising this workflow This template is just an example. Use the custom OpenAI credential for your other workflows to test Github models. References

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

AI auto-save Gmail receipts to Google Sheets + Google Drive

Who is this for? This workflow is ideal for: - For freelancers, business owners, and finance teams who receive receipts via Gmail - Automatically logs expenses for tax, - bookkeeping and year-end audits What problem is this workflow solving? When tax season hits, missing receipts create panic. This workflow keeps everything in one place. It uses AI to extract details from Gmail attachments, logs them in a Google Sheet, and stores the PDFs in Google Drive. No digging. No copying. Just everythin

Free

Selectively import workflows from GitHub, including nested folders

This template lets you selectively import n8n workflows from a GitHub repository, even when your repository uses deeply nested folder structures. Unlike most import workflows, this template does not load everything automatically. Instead, it: • Traverses all nested folders in your repository • Collects every workflow JSON file found • Dynamically generates a selection form • Allows you to choose exactly which workflows to load • Cleans incompatible fields for n8n API compatibility • Create

Free

Repurpose RSS blog posts into social content with OpenAI, Sheets, Gmail and Slack

Quick Overview This workflow runs daily, pulls the latest post from an RSS feed, and uses OpenAI to repurpose it into an SEO blog rewrite, a LinkedIn post, and an X/Twitter thread, then logs the drafts to Google Sheets, creates a Gmail draft, and posts a preview to Slack. How it works 1. Runs every 24 hours on a schedule. 2. Loads your RSS feed URL, audience, and brand voice settings and fetches the latest items from the RSS feed. 3. Keeps only the newest feed item to avoid processing multiple p

Free

Create a code assistant that learns from your GitHub repository using OpenAI

AI Agent for GitHub AI Agent to learn directly from your GitHub repository. It automatically syncs source files, converts them into vectorized knowledge How It Works Provide your GitHub repository — the workflow will automatically pull your source files and update the knowledge base (vectorstore) for the AI Agent. This allows the AI Agent to answer questions directly based on your repository’s content. --- How to Use 1. Commit your files to your GitHub repository. 2. Trigger the Sync Data wor

Free

Generate content with ChatGPT from Google Sheets range values and update the row

Automatically generate content using ChatGPT from Google Sheets range values and update the rows. Streamline data processing and content creation with this powerful integration.

Free

Personalise outreach emails using customer data and AI

This n8n template uses existing emails from customers as context to customise and "finetune" outreach emails to them using AI. By now, it should be common knowledge that we can leverage AI to generate unique emails but in a way, they can remain generic as the AI lacks the customer context to be truly personalised. One way to solve this is by pulling in a source of customer data - and what better way then by using existing email correspondence. How it works Customers to target are pulled from Hu

Free

Convert HTML to PDF and return via webhook using CustomJS API

n8n Workflow: HTML to PDF Generator This n8n workflow converts HTML content into a styled PDF and returns it as a response via a webhook. The workflow receives HTML input, processes it using CustomJS's PDF toolkit, and sends back the resulting PDF to the original webhook requester. @custom-js/n8n-nodes-pdf-toolkit Features: - Webhook Trigger: Accepts incoming requests with HTML content. - HTML to PDF Conversion: Uses CustomJS to transform HTML into a PDF. - Response: Sends the generated PDF back

Free

🛠️ SyncroMSP tool MCP server 💪 all 20 operations

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? Join the community Complete MCP server exposing all SyncroMSP Tool operations to AI agents. Zero configuration needed - all 20 operations pre-built. ⚡ Quick Setup 1. Import this workflow into your n8n instance 2. Activate the workflow to start your MCP server 3. Copy the webhook URL from the MCP trigger node 4. Connect AI agents using the MCP URL 🔧 How it Works • MCP Trigger: S

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free