ForkFree

AI models and chat

LLM-API-Key-Proxy

by Mirrowel

A self-hosted proxy that gives you one OpenAI-compatible and Anthropic-compatible endpoint in front of many AI providers, such as Gemini, OpenAI and OpenRouter. It is for pointing existing AI apps at several providers through a single address, with automatic key rotation and failover.

Proof level: ReadWorth a lookMIT

Could replace OpenRouter. We have not checked a price for it yet.

Get it on GitHubCompare

No demo yet

Proof level: Read. We read its README and licence and ran our automatic checks. We have not run it yet. So this page is based on its README and our automatic checks.

The catch

Worth a lookEstablished, with a few things to check (listed below).

Check this first: Licence is not clearly stated.

Things to check

  • Licence is not clearly stated
  • Needs your own API keys or accounts for each provider, which may be paid
  • Includes OAuth-based access to tools such as Gemini CLI, which may breach provider terms of service
  • Using a proxy to pool or rotate keys may breach some providers' terms

Can you use LLM-API-Key-Proxy commercially?

Free to use, change and sell (MIT-style terms in the licence file). Some folders may carry other terms.

Not legal advice. Read the project's licence file before building a product on it.

What can you do with LLM-API-Key-Proxy?

  • Point Claude Code, Cursor or Continue at Gemini, OpenAI or other providers through one local address
  • Rotate across several API keys with automatic failover and cooldowns when rate limits hit
  • Call any supported model from your own code using the standard OpenAI or Anthropic SDKs

How do you get LLM-API-Key-Proxy running?

Download a release (Windows, macOS or Linux), run it with Docker or Docker Compose, or install from source with pip, then add your provider keys to a .env file.

Follow the official instructions in the project README.

Other free alternatives to OpenRouter

ToolProofLicenceSetupStarsCompare
freellmapi Proof level: Read MIT Moderate 42.4k Compare

All 2 free alternatives to OpenRouter

Make money with it

A freelancer could set up and maintain a shared AI gateway for small clients who use several AI tools and want to control costs.

An idea, not financial advice. Check the licence before charging for anything built on it.

Ways a business could use it

  • Run one internal AI endpoint for staff tools so provider keys and usage are managed in one place
  • Switch between cheaper or free-tier models without changing application code, which keeps AI costs down

Who's talking about it

Checked 10 Nov 2026. Summary drafted by AI from the project's README. Proof level 1 of 4, Read: we read its readme and licence and ran our automatic checks. we have not run it yet.

Similar tools in AI models and chat

dsh-our-free-model Ebony-Vinyl
New and promising

This tool provides access to free AI models, including DeepSeek V4.1 Flash and Kimi K3, without requiring login or API keys. It integrates with DSH and offers features like model selection, usage tracking, and local gateway support.

Instead of Anthropic, LobsterAI

Proof level: Read 81.5k stars +1471 a day MIT
magpie yetone
New and promising

magpie is a tool that allows you to switch between different AI models and agents from one local gateway, making it easier to manage multiple AI services.

Instead of Claude, ChatGPT

Proof level: Read 30.8k stars +755 a day MIT
Strata Niko1221
New and promising

Strata is an AI inference engine that allows users to run powerful AI models on their own computer, including chat, coding, and image processing capabilities.

Proof level: Read 41.3k stars +639 a day MIT