---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# GitHub Models 现向每个 GitHub 账户免费开放一个兼容 OpenAI 的推理 API。

Source: https://www.zaihua.news/article/34863/

[返回新闻流](https://www.zaihua.news/)
2025年8月5日 · 09:50 · [在花新闻](https://www.zaihua.news/about/)

# GitHub Models 现向每个 GitHub 账户免费开放一个兼容 OpenAI 的推理 API。

GitHub Models 现在无需密钥、无需控制台，且不与现有配置冲突，让任何人都可以立即试用你的 AI 工具。用户可通过 GitHub 账户访问 GPT-4o、DeepSeek-R1、Llama 3 等主流模型，支持在本地、服务器以及 GitHub Actions 环境中部署。该服务默认免费，付费版本则提供更高的并发能力和更大的上下文窗口。

借助 GitHub Models，开源项目可直接集成 AI 能力，用户仅需提供 GitHub 个人访问令牌（PAT），或使用内置的 GITHUB_TOKEN，无需配置第三方 API 密钥。
[GitHub Blog](https://github.blog/ai-and-ml/llms/solving-the-inference-problem-for-open-source-ai-projects-with-github-models/) | [X](https://x.com/github/status/1952059398747992475?s=46&t=2xyarDq-gg4Xf5fKUGpsqg)

🍀[频道](http://t.me/zaihuanews) 🍵[茶馆](http://t.me/zaihuachat) 📮[投稿](http://t.me/ZaiHuabot)

[上一条波音 777-9 客机将迎近五年首次试飞](https://www.zaihua.news/article/34861/)[下一条美国务院拟要求部分入境者缴最高1.5万美元保证金](https://www.zaihua.news/article/34864/)
