Configs2026年6月2日·1 分钟阅读

FreeLLMAPI — Unified Proxy for Free LLM Provider Tiers

An OpenAI-compatible proxy server that aggregates the free tiers of 16 LLM providers behind a single API endpoint, with smart routing, automatic failover, and encrypted key storage.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
FreeLLMAPI Proxy
直接安装命令
npx -y tokrepo@latest install 94092b06-5e39-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

FreeLLMAPI is a self-hosted proxy that stacks the free tiers of multiple LLM providers behind a single OpenAI-compatible endpoint. By distributing requests across providers, it gives developers access to roughly 1.7 billion tokens per month at zero cost for personal experimentation and prototyping.

What FreeLLMAPI Does

  • Aggregates free-tier quotas from 16 LLM providers into one unified API
  • Exposes an OpenAI-compatible /v1 endpoint so existing tools work without changes
  • Routes requests intelligently based on available quota and provider latency
  • Fails over automatically when a provider's free tier is exhausted
  • Stores API keys with encryption at rest for security

Architecture Overview

FreeLLMAPI is a TypeScript/Node.js server that acts as a reverse proxy between your application and multiple LLM providers. Incoming requests hit the OpenAI-compatible endpoint, and the routing layer selects the best available provider based on remaining quota, response latency, and model compatibility. Each provider adapter normalizes the request and response formats. Key management uses encrypted local storage, and all traffic passes through the proxy without logging request content.

Self-Hosting & Configuration

  • Clone the repo, install Node.js dependencies, and copy the example env file
  • Add API keys for each provider you want to use in the .env file
  • Configure routing preferences such as priority order and fallback chains
  • Run with npm start or deploy as a Docker container
  • Point any OpenAI-compatible client at the proxy's /v1 endpoint

Key Features

  • Single endpoint aggregating 16 LLM providers' free tiers
  • Full OpenAI API compatibility for drop-in use with existing tools
  • Smart routing with latency-aware provider selection
  • Automatic failover when a provider quota is depleted
  • Encrypted API key storage with no request content logging

Comparison with Similar Tools

  • LiteLLM — supports 100+ providers but requires paid keys; FreeLLMAPI specifically optimizes free-tier stacking
  • OpenRouter — commercial unified API; FreeLLMAPI is self-hosted and free
  • Portkey AI Gateway — enterprise gateway with observability; FreeLLMAPI targets personal experimentation
  • Manifest — cost optimization router; FreeLLMAPI focuses on zero-cost access through free tiers

FAQ

Q: Is this for production use? A: No. FreeLLMAPI is designed for personal experimentation and prototyping. Free tiers have rate limits and usage caps that are not suitable for production workloads.

Q: Which providers are supported? A: The proxy supports 16 providers including major cloud APIs and smaller services that offer free tiers. See the repository README for the current list.

Q: Can I add custom OpenAI-compatible endpoints? A: Yes. You can configure any custom endpoint that follows the OpenAI API format.

Q: How does failover work? A: When a provider returns a rate-limit or quota error, the router automatically retries with the next available provider in the fallback chain.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产