# FreeLLMAPI

> Route multiple free-tier LLM providers through a single OpenAI-compatible endpoint

FreeLLMAPI is an open-source local proxy and router that aggregates free quotas across dozens of AI providers into a single unified endpoint. It automatically handles failover on rate limits, tracks per-key usage, and stores provider credentials with AES-256 encryption. It allows developers to plug free model access directly into coding agents, CLIs, and OpenAI-compatible apps.

Website: https://github.com/tashfeenahmed/freellmapi

## What it is for

- Run coding agents like Claude Code, Codex, Aider, and Cline using free LLM tiers
- Prevent 429 rate-limit interruptions through automatic provider failover
- Track token and request limits across dozens of free model APIs automatically
- Connect self-hosted local models and remote gateways into one unified endpoint

## Features

- OpenAI-compatible endpoints for chat, completions, audio, images, and embeddings
- Anthropic Messages, native Gemini, and Ollama emulation support
- Smart routing with automatic fallback on 429 or 5xx provider errors
- AES-256-GCM encrypted local credential storage in SQLite
- Automated setup generators for coding tools like Claude Code, Codex, and Aider
- Web dashboard and desktop menu-bar app with usage analytics and model management
- MCP server support for direct connection to tools like ChatGPT

## Pricing

Freemium. Free and open source with a monthly model catalog snapshot; optional live daily catalog sync is $19/year

## Details

- Type: GitHub repo
- Category: [Development](https://xiry.app/topics/development.md)
- Open source: yes
- Platforms: macOS, Windows, Linux, Command line, API, Self-hosted
- For: Developers, AI tinkerers, and coding-agent users looking to maximize free AI quotas
- Alternative to: LiteLLM, OpenRouter, Portkey
- Tags: llm, api router, openai, proxy, free tier, self hosted

## Why it was saved

- [@tysn.dev, 6 June 2026](https://www.instagram.com/reel/DZOeAT6RLWB/): Gives developers and AI agent runners access to nearly 2 billion free tokens per month with automatic failover when individual provider rate limits are hit.

## Compare

- [Alternatives to OpenRouter](https://xiry.app/alternatives/openrouter.md)

## Related

- [NVIDIA NIM](https://xiry.app/resources/nvidia-nim): Catalog of hosted AI inference microservices with free API endpoints. (Web app, Freemium)
- [Firecrawl](https://xiry.app/resources/firecrawl-1984): Turn websites and documents into clean, LLM-ready markdown or structured data. (Website, Freemium)
- [json-render](https://xiry.app/resources/json-render): Generative UI framework rendering LLM JSON streams into predefined components safely (Web app, Open source)
- [awesome-llm-apps](https://xiry.app/resources/awesome-llm-apps): Open-source collection of runnable AI agent, skill, and RAG templates (GitHub repo, Open source)
- [How to self-host a Next.js app on a Hetzner VM using Kamal](https://xiry.app/resources/how-to-self-host-a-next-js-app-on-a-hetzner-vm-using-kamal): Step-by-step tutorial for deploying Next.js to Hetzner using Kamal (Article or course, Free)
- [ScrapeGraphAI](https://xiry.app/resources/scrapegraphai): Open-source Python library and API for prompt-based web scraping using LLMs (GitHub repo, Freemium)

Updated 3 October 2026. Page: https://xiry.app/resources/freellmapi

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
