Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Run Claude Code and the OpenAI SDK on free LLM tiers with FreeLLMAPI

说明与用途

FreeLLMAPI 将34个LLM提供商的免费层聚合为单一OpenAI兼容端点,使Claude Code和SDK能够无成本使用。

问题

How to aggregate multiple free LLM provider tiers into a single OpenAI-compatible endpoint to run Claude Code and other agents without cost.

结果

FreeLLMAPI enables users to run Claude Code and OpenAI SDK against a pooled free-tier LLM catalog, achieving higher token limits and continuous availability through intelligent routing and fallback.

工作流

  • Install FreeLLMAPI via Docker or desktop app
  • Add provider keys and configure fallback chain in the web UI
  • Obtain the unified API key from the Keys page
  • Configure Claude Code to use the FreeLLMAPI endpoint with the unified key (or launch directly)
  • Use any OpenAI client in Python by setting base_url to http://localhost:3001/v1 and api_key to the unified key
  • Send requests; responses include X-Routed-Via header indicating the provider used

证据

tashfeenahmed/freellmapi is a self-hosted server that aggregates the free tiers of 34 LLM providers behind a single OpenAI-compatible /v1 API.

来源

The README puts the stacked total at roughly 7.4 billion tokens a month across 635 free model endpoints.

来源

Every response carries an X-Routed-Via: <platform>/<model> header, so you can log which provider actually answered.

来源

  • 记录日期: 2026-11-04T05:28:48.982Z