Skip to content

Self-hosted OpenAI-compatible proxy that pools free-tier keys from 14 LLM providers behind one endpoint.

CCM score
52 of 100
skills.sh installs
212
GitHub stars
99
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers setup, provider key management, and calling /v1/chat/completions through the openai SDK, curl, or TypeScript
  • Lists 14 supported providers, including Google, Groq, Cerebras, Mistral, OpenRouter, and Cohere, with links to their free-key signup pages
  • Handles automatic failover on 429 and 5xx responses, per-key rate tracking, and sticky sessions for multi-turn chats
  • Encrypts stored provider keys with AES-256-GCM using an ENCRYPTION_KEY set in .env
  • Designed for developers who want one OpenAI-style endpoint across several free LLM tiers with tool calling and streaming

Install

$ npx -y skills add reason-machines/trending-skills --skill freellmapi-proxy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

FreeLLMAPI Proxy

Skill by ara.so — Daily 2026 Skills collection.

FreeLLMAPI is a self-hosted OpenAI-compatible proxy that aggregates free-tier API keys from ~14 AI providers (Google, Groq, Cerebras, SambaNova, NVIDIA, Mistral, OpenRouter, GitHub Models, Hugging Face, Cohere, Cloudflare, Zhipu, Moonshot, MiniMax) behind a single /v1/chat/completions endpoint. It handles automatic failover on 429/5xx, per-key rate tracking, sticky sessions for multi-turn conversations, and AES-256-GCM encrypted key storage.


Installation

Prerequisites: Node.js 20+, npm.

git clone https://github.com/tashfeenahmed/freellmapi.git
cd freellmapi
npm install

# Generate encryption key and set up environment
cp .env.example .env
echo "ENCRYPTION_KEY=$(node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")" >> .env

# Development (server + Vite dashboard on :5173)
npm run dev

# Production build
npm run build
node server/dist/index.js   # serves API + dashboard on :3001

Environment Variables

Details

Repository
github.com/reason-machines/trending-skills
Categories
AI Agents & LLM Apps, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the freellmapi-proxy skill do?

freellmapi-proxy sets up a self-hosted OpenAI-compatible proxy that aggregates free-tier API keys from about 14 AI providers behind one /v1/chat/completions endpoint. It handles automatic failover on 429 and 5xx errors, per-key rate tracking, and AES-256-GCM encrypted key storage.

How do I install the freellmapi-proxy skill?

Run npx -y skills add reason-machines/trending-skills --skill freellmapi-proxy -y in your project. The installed freellmapi-proxy skill then lets the agent set up the proxy, add provider keys and point OpenAI clients at it.

What does freellmapi-proxy need before it runs?

freellmapi-proxy needs Node.js 20 or newer and npm, plus an ENCRYPTION_KEY set in .env for storing provider keys. You also need free-tier API keys from the providers you want to use, such as Google Gemini, Groq or Cerebras.

Which AI providers does freellmapi-proxy support?

freellmapi-proxy routes across providers including Google, Groq, Cerebras, SambaNova, NVIDIA, Mistral, OpenRouter, GitHub Models, Hugging Face, Cohere, Cloudflare, Zhipu, Moonshot and MiniMax. Its fallback chain lets you reorder which provider gets a request first.

Does freellmapi-proxy support tool calling and streaming?

freellmapi-proxy supports tool calling across its providers, translating Gemini requests to functionDeclarations and back. Its examples also show streaming responses through the OpenAI SDK or curl.

More from reason-machines/trending-skills

All 251

Similar to Freellmapi Proxy

More AI Agents & LLM Apps