能力标签
🛠
AI工具

免费LLM接口集合库

开源免费,本地部署,数据完全自主可控
英文名:awesome-freellm-apis
⭐ 411 Stars 🍴 51 Forks 📄 MIT 🏷 AI 8.2分
8.2AI 综合评分
免费APILLM模型AI资源开源工具多提供商
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:免费LLM接口集合库 是一款优质的AI工具。AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

免费LLM接口集合库 是一款基于 Python 的开源工具,在 GitHub 上收获 0k+ Star,是免费API、LLM模型、AI资源、开源工具领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
免费LLM接口集合库 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 免费LLM接口集合库 的版本更新,及时通知重要功能变化。

📋 工具概览

汇集134+个免费LLM API和40+家提供商的AI密钥资源库。涵盖Google Gemini、NVIDIA NIM等主流模型,为开发者提供零成本的AI能力集成方案,适合个人开发者、学生和初创团队快速原型开发。

免费LLM接口集合库 是一款基于 Python 开发的开源工具,专注于 免费API、LLM模型、AI资源 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 411
开发语言
多语言
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
8.2 分
工具类型
AI工具
Forks
51

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

汇集134+个免费LLM API和40+家提供商的AI密钥资源库。涵盖Google Gemini、NVIDIA NIM等主流模型,为开发者提供零成本的AI能力集成方案,适合个人开发者、学生和初创团队快速原型开发。

免费LLM接口集合库 是一款基于 Python 开发的开源工具,专注于 免费API、LLM模型、AI资源 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 克隆仓库
git clone https://github.com/open-free-llm-api/awesome-freellm-apis
cd awesome-freellm-apis

# 查看安装说明
cat README.md

# 按 README 完成环境依赖安装后即可使用
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
awesome-freellm-apis --help

# 基本运行
awesome-freellm-apis [options] <input>

# 详细使用说明请查阅文档
# https://github.com/open-free-llm-api/awesome-freellm-apis
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# awesome-freellm-apis 配置说明
# 查看配置选项
awesome-freellm-apis --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export AWESOME_FREELLM_APIS_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 32/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <h1 align="center">awesome-free-llm-apis</h1> <p align="center"><strong>247+ free LLM APIs from 29 providers</strong> — find, compare & configure free models in seconds.</p>

</p>

<p align="center"> <a href="https://freellm.net" target="_blank" rel="noopener"><strong>🌐 Live at freellm.net</strong></a> — <a href="https://freellm.net/models/" target="_blank" rel="noopener">Browse models</a> · <a href="https://freellm.net/playground/" target="_blank" rel="noopener">Playground</a> · <a href="https://freellm.net/config/" target="_blank" rel="noopener">Config generator</a> · <a href="https://freellm.net/free-llm-api-keys/" target="_blank" rel="noopener">API keys</a> </p>

<p align="center"> <img alt="Provider Logos" src="assets/provider-logos-marquee.svg" width="100%" /> </p>

<p align="center"><strong>🔄 Data refreshed daily from <a href="https://freellm.net" target="_blank" rel="noopener">freellm.net</a></strong> — Last updated: 2026-06-28</p>

<p align="center"> 🌐 <a href="README.md">English</a> · <a href="README.zh-CN.md">简体中文</a> · <a href="README.zh-TW.md">繁體中文</a> · <a href="README.ja.md">日本語</a> · <a href="README.ko.md">한국어</a> </p>

---

How to Use — 3 Steps

  1. Pick a provider — see Provider Directory below. Start with Groq (no credit card, 30 RPM free).
  2. Get your API key — click any Get Key → link below, sign up (most need just an email), and copy your key. Takes < 1 minute.
  3. Plug it in — copy the base URL + model ID, paste into the Quick Start examples below.

Configuring a specific tool? <a href="https://freellm.net/config/#claude-code" target="_blank" rel="noopener">Claude Code</a> · <a href="https://freellm.net/config/#cursor" target="_blank" rel="noopener">Cursor</a> · <a href="https://freellm.net/config/#codex" target="_blank" rel="noopener">Codex</a> · <a href="https://freellm.net/config/#openhuman" target="_blank" rel="noopener">OpenHuman</a> · <a href="https://freellm.net/config/#opencode" target="_blank" rel="noopener">OpenCode</a> · <a href="https://freellm.net/config/#openclaw" target="_blank" rel="noopener">OpenClaw</a> — one-click configs at <a href="https://freellm.net/config/" target="_blank" rel="noopener">freellm.net/config/</a>.

Quick Start — Use Any Free API in 30 Seconds

Never used an API before? Here's the simplest path: go to <a href="https://console.groq.com/keys" target="_blank" rel="noopener">console.groq.com/keys</a>, sign up with just an email (no credit card), copy your free key, and paste it into any example below. You'll be running in under a minute.

All providers below expose an OpenAI-compatible endpoint. Any tool that accepts baseURL + apiKey works — just swap the base URL and key.

Top Free Models (by Weekly Usage)

Data from freellm.net, updated daily via API monitoring.

ModelProviderContextWeekly Usage
<a href="https://freellm.net/models/openrouter/openrouter-owl-alpha/" target="_blank" rel="noopener">Owl Alpha</a>OpenRouter1M3378B tokens
<a href="https://freellm.net/models/openrouter/nvidia-nemotron-3-ultra-550b-a55b/" target="_blank" rel="noopener">NVIDIA: Nemotron 3 Ultra (free)</a>OpenRouter1M660B tokens
<a href="https://freellm.net/models/openrouter/poolside-laguna-m.1/" target="_blank" rel="noopener">Poolside: Laguna M.1 (free)</a>OpenRouter262K554B tokens
<a href="https://freellm.net/models/openrouter/nvidia-nemotron-3-super-120b-a12b/" target="_blank" rel="noopener">NVIDIA: Nemotron 3 Super (free)</a>OpenRouter1M389B tokens
<a href="https://freellm.net/models/openrouter/openai-gpt-oss-120b/" target="_blank" rel="noopener">OpenAI: gpt-oss-120b (free)</a>OpenRouter131K170B tokens
<a href="https://freellm.net/models/groq/openai-gpt-oss-120b-2/" target="_blank" rel="noopener">GPT-OSS 120B</a>Groq131K170B tokens
<a href="https://freellm.net/models/nvidia-nim/z-ai-glm-5-1/" target="_blank" rel="noopener">z-ai/glm-5.1</a>NVIDIA NIM202K158B tokens
<a href="https://freellm.net/models/openrouter/poolside-laguna-xs.2/" target="_blank" rel="noopener">Poolside: Laguna XS.2 (free)</a>OpenRouter262K105B tokens
<a href="https://freellm.net/models/openrouter/cohere-north-mini-code/" target="_blank" rel="noopener">Cohere: North Mini Code (free)</a>OpenRouter256K91B tokens
<a href="https://freellm.net/models/openrouter/google-gemma-4-31b-it/" target="_blank" rel="noopener">Google: Gemma 4 31B (free)</a>OpenRouter262K39B tokens

---

Python (OpenAI SDK)

```python from openai import OpenAI

client = OpenAI( base_url="https://api.groq.com/openai/v1", # free, no credit card api_key="GROQ_API_KEY", # get at console.groq.com/keys )

response = client.chat.completions.create( model="llama-3.3-70b-versatile", # see Best Models table below messages=[{"role": "user", "content": "Hello!"}], ) print(response.choices[0].message.content)

Claude Code needs an Anthropic-compatible API — use OpenRouter

export ANTHROPIC_BASE_URL="https://openrouter.ai/api" export ANTHROPIC_AUTH_TOKEN="sk-or-v1-your-key" # openrouter.ai/keys export ANTHROPIC_API_KEY="" # must be empty

Quick Reference — Base URLs & API Keys

ProviderBase URLGet API KeyCredit Card?
NVIDIA NIMhttps://integrate.api.nvidia.com/v1<a href="https://build.nvidia.com/settings/api-keys" target="_blank" rel="noopener">Get Key →</a>Phone verification
OpenRouterhttps://openrouter.ai/api/v1<a href="https://openrouter.ai/workspaces/default/keys" target="_blank" rel="noopener">Get Key →</a>Registration
Groqhttps://api.groq.com/openai/v1<a href="https://console.groq.com/keys" target="_blank" rel="noopener">Get Key →</a>No
GitHub Modelshttps://models.github.ai/inference<a href="https://github.com/marketplace/models" target="_blank" rel="noopener">Get Key →</a>No
Cloudflare Workers AIhttps://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run<a href="https://dash.cloudflare.com/profile/api-tokens" target="_blank" rel="noopener">Get Key →</a>No
OVHcloud AI Endpointshttps://oai.endpoints.kepler.ai.cloud.ovh.net/v1<a href="https://www.ovhcloud.com/en/public-cloud/ai-endpoints/catalog/" target="_blank" rel="noopener">Get Key →</a>Registration
Mistral AIhttps://api.mistral.ai/v1<a href="https://console.mistral.ai/api-keys" target="_blank" rel="noopener">Get Key →</a>No
Cerebrashttps://api.cerebras.ai/v1<a href="https://cloud.cerebras.ai/" target="_blank" rel="noopener">Get Key →</a>No
Coherehttps://api.cohere.com/v2<a href="https://dashboard.cohere.com/api-keys" target="_blank" rel="noopener">Get Key →</a>No
LLM7.iohttps://api.llm7.io/v1<a href="https://token.llm7.io" target="_blank" rel="noopener">Get Key →</a>No
Ollama Cloudhttps://api.ollama.com<a href="https://ollama.com/settings/keys" target="_blank" rel="noopener">Get Key →</a>Registration
Aion Labshttps://api.aionlabs.ai/v1<a href="https://www.aionlabs.ai" target="_blank" rel="noopener">Get Key →</a>Registration
Google Geminihttps://generativelanguage.googleapis.com/v1beta<a href="https://aistudio.google.com/app/apikey" target="_blank" rel="noopener">Get Key →</a>No
Hugging Facehttps://router.huggingface.co/v1<a href="https://huggingface.co/settings/tokens" target="_blank" rel="noopener">Get Key →</a>No
Kilo Codehttps://api.kilo.ai/api/gateway<a href="https://kilo.ai" target="_blank" rel="noopener">Get Key →</a>No
Alibaba Cloud Model Studiohttps://dashscope-intl.aliyuncs.com/compatible-mode/v1<a href="https://bailian.console.alibabacloud.com/?apiKey=1" target="_blank" rel="noopener">Get Key →</a>Registration
OpenCode Zenhttps://opencode.ai/zen/v1<a href="" target="_blank" rel="noopener">Get Key →</a>Registration
SambaNovahttps://api.sambanova.ai/v1<a href="https://cloud.sambanova.ai/apis" target="_blank" rel="noopener">Get Key →</a>Registration
Z AI (Zhipu AI)https://open.bigmodel.cn/api/paas/v4<a href="https://open.bigmodel.cn/usercenter/apikeys" target="_blank" rel="noopener">Get Key →</a>No
ModelScopehttps://api-inference.modelscope.cn/v1<a href="https://modelscope.cn/my/myaccesstoken" target="_blank" rel="noopener">Get Key →</a>Registration
SiliconFlowhttps://api.siliconflow.cn/v1<a href="https://cloud.siliconflow.cn/account/ak" target="_blank" rel="noopener">Get Key →</a>Registration
xAIhttps://api.x.ai/v1<a href="https://console.x.ai" target="_blank" rel="noopener">Get Key →</a>Registration
Chutes.aihttps://api.chutes.ai/v1<a href="https://chutes.ai/" target="_blank" rel="noopener">Get Key →</a>Registration
Glhf.chathttps://glhf.chat/api/openai/v1<a href="https://glhf.chat/" target="_blank" rel="noopener">Get Key →</a>Registration
Grok (xAI)https://api.x.ai/v1<a href="https://console.x.ai/" target="_blank" rel="noopener">Get Key →</a>Registration
AI21 Labshttps://api.ai21.com/studio/v1<a href="https://studio.ai21.com/account/api-key" target="_blank" rel="noopener">Get Key →</a>Registration
DeepSeekhttps://api.deepseek.com/v1<a href="https://platform.deepseek.com/api_keys" target="_blank" rel="noopener">Get Key →</a>Registration
Nscalehttps://inference.api.nscale.com/v1<a href="https://console.nscale.com/" target="_blank" rel="noopener">Get Key →</a>Registration
Nebiushttps://api.studio.nebius.com/v1<a href="https://studio.nebius.com/settings/api-keys" target="_blank" rel="noopener">Get Key →</a>Registration
🎯 aiskill88 AI 点评 A 级 2026-06-28

资源聚合价值高,覆盖面广,更新及时。但缺乏性能对比和稳定性评测,需用户自行验证。

⚡ 核心功能

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

大多数提供商提供免费额度或试用期,但部分可能有请求限制或需要信用卡验证。
💡 AI Skill Hub 点评

总体来看,免费LLM接口集合库 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

📚 深入学习 免费LLM接口集合库
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 awesome-freellm-apis
Topics 免费APILLM模型AI资源开源工具多提供商
GitHub https://github.com/open-free-llm-api/awesome-freellm-apis
License MIT
🔗 原始来源
🐙 GitHub 仓库  https://github.com/open-free-llm-api/awesome-freellm-apis 🌐 官方网站  https://freellm.net

收录时间:2026-06-28 · 更新时间:2026-06-28 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →