OpenAI-Compatible API for GitHub Free AI Models

Creates an OpenAI-compatible API in n8n using GitHub's free models, allowing seamless integration with existing LLM nodes without refactoring.

n8n
OpenAI-Compatible API for GitHub Free AI Models

This n8n workflow builds a custom OpenAI-compatible API wrapper around GitHub's free AI models, enabling you to use state-of-the-art models directly in your n8n AI workflows. By setting up webhooks for 'models' and 'chat completions' endpoints, it proxies requests to GitHub's API and remaps responses to match OpenAI's format, so your LLM and AI agent nodes work out-of-the-box.

The setup involves configuring a new OpenAI credential with the n8n webhook as the base URL, then activating the two webhooks that handle listing models and generating chat completions. This eliminates the need for HTTP nodes or workflow changes, saving significant development time.

Ideal for developers testing AI models for free during prototyping or personal projects. Benefits include cost-free access to SOTA models, easy experimentation, and compatibility with n8n's AI tools. Note: GitHub APIs are not for production; use paid services for higher limits.

Requirements: GitHub account and credentials. Customize by reusing the OpenAI credential across workflows for quick model swaps.

$14.99
Last updated August 29, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Personal workflows

More from Ivan Volkov

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.