{"id":13941248,"url":"https://github.com/LLM-Red-Team/free-api-hub","last_synced_at":"2025-07-20T04:30:57.044Z","repository":{"id":231035329,"uuid":"780732631","full_name":"LLM-Red-Team/free-api-hub","owner":"LLM-Red-Team","description":"🥳 free-api系列项目集合共享资源，快来PR！","archived":false,"fork":false,"pushed_at":"2024-05-08T07:55:56.000Z","size":32,"stargazers_count":161,"open_issues_count":0,"forks_count":33,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-21T03:51:56.436Z","etag":null,"topics":["emohaa-free-api","free-api","glm-free-api","kimi-free-api","qwen-free-api","step-free-api"],"latest_commit_sha":null,"homepage":"https://llm-red-team.github.io/free-api/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LLM-Red-Team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-02T03:53:04.000Z","updated_at":"2025-04-15T11:16:58.000Z","dependencies_parsed_at":"2024-04-06T17:29:25.646Z","dependency_job_id":"0f985c03-ad32-4f61-a4b4-bf92e2da6c19","html_url":"https://github.com/LLM-Red-Team/free-api-hub","commit_stats":null,"previous_names":["llm-red-team/free-api-hub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LLM-Red-Team/free-api-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Red-Team%2Ffree-api-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Red-Team%2Ffree-api-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Red-Team%2Ffree-api-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Red-Team%2Ffree-api-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLM-Red-Team","download_url":"https://codeload.github.com/LLM-Red-Team/free-api-hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLM-Red-Team%2Ffree-api-hub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266067255,"owners_count":23871324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emohaa-free-api","free-api","glm-free-api","kimi-free-api","qwen-free-api","step-free-api"],"created_at":"2024-08-08T02:01:14.844Z","updated_at":"2025-07-20T04:30:56.777Z","avatar_url":"https://github.com/LLM-Red-Team.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# free-api-hub\n[free-api系列项目](https://github.com/orgs/LLM-Red-Team/repositories?q=free-api) 集合共享资源\n\n如果您对 [free-api系列项目](https://github.com/orgs/LLM-Red-Team/repositories?q=free-api) 感兴趣，欢迎PR分享的内容到本仓库。\n\n使用说明和URL链接分享PR在本 `README.md` 中\n\n文档类PR在 `/docs` 目录中，并在 `/docs/README.md` 说明\n\n脚本类PR在 `/scripts` 目录中，并在 `/scripts/README.md` 说明\n\n非常感谢您的关注和支持！\n\n![demo](https://github.com/LLM-Red-Team/free-api-hub/assets/20235341/5ce7c71d-3a4d-4469-9e4a-24ac9d78cc76)\n\n## 文档FAQ\n\n请前往我们的文档站点：[https://llm-red-team.github.io/free-api/](https://llm-red-team.github.io/free-api/)\n\n## 支持free-api的客户端\n\n由 [Clivia](https://github.com/Yanyutin753/lobe-chat) 二次开发的LobeChat [https://github.com/Yanyutin753/lobe-chat](https://github.com/Yanyutin753/lobe-chat)\n\n由 [时光@](https://github.com/SuYxh) 二次开发的ChatGPT Web [https://github.com/SuYxh/chatgpt-web-sea](https://github.com/SuYxh/chatgpt-web-sea)\n\n## 核心资源\n\n### deploy-all-free-api\n\n由 [时光@](https://github.com/SuYxh) 贡献free-api系列部署脚本： [deploy-all-free-api](https://github.com/LLM-Red-Team/free-api-hub/tree/main/scripts/deploy-all-free-api)\n\n### all-free-api.yml\n\ndocker-compose一键启动所有free-api的脚本，运行以下命令启动。\n\n```shell\ndocker-compose -f all-free-api.yml up -d\n```\n\n### Render容器保活\n\n使用Render部署free-api时，容器在一段时间不活动后会自动回收，导致下次调用响应有近1分钟的延迟，你可以用以下方案保活容器。\n\n#### 方案1：通过任意监控服务调用保活\n\n1. 在你支持监控服务的框架或程序上面配置在Render的free-api地址，如 `https://kimi-free-api-nut5.onrender.com` 就是 `https://kimi-free-api-nut5.onrender.com/ping`，需要使用GET请求方法。\n\n2. 配置探测频率，建议5分钟一轮。\n\n#### 方案2：通过脚本curl调用保活\n\n命令仅适用于Linux系统。\n\n1. 改写 scripts/render_keeplive.sh 文件，将循环遍历的ping地址换成你部署在Render的free-api地址，如 `https://kimi-free-api-nut5.onrender.com` 就是 `https://kimi-free-api-nut5.onrender.com/ping`。\n\n2. 运行 `crontab -e` 命令，在打开的编辑器中添加如下内容（/path/to/render_keeplive.sh 替换为你的脚本路径）：\n\n```shell\n*/5 * * * * /path/to/render_keeplive.sh\n```\n\n3. 保存并退出编辑器，可以通过 `tail -f /var/log/cron` 查看脚本被调用的日志。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLLM-Red-Team%2Ffree-api-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLLM-Red-Team%2Ffree-api-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLLM-Red-Team%2Ffree-api-hub/lists"}