免费的 GitHub Copilot 替代方案

比较开源编程助手和代理。查看各自支持的编辑器、能否使用本地模型,以及需要哪种模型提供商。

nopaywall 收录了 6 个免费或开源的 GitHub Copilot 替代方案,包括 Tabby、Opencode和Twinny。每条记录都链接到项目,最近检查于 2026年11月22日。

可用的替代方案

比较这些选项

本页显示 6 个选项,共 6 个已发布结果。访问和设置详情来自各项目的配置来源。

部分选项需要单独的模型提供商;其免费额度和费用不包含在此说明中。 浏览免费 API 提供商

开源并不意味着托管模型 API 免费。

横向滑动表格即可查看所有列。

替代方案的任务、访问、要求和来源比较
选项可用于哪些任务免费访问所需条件重要限制最近检查
Tabby
来源
Self-hosted GitHub Copilot, runs on your own GPU.开源软件来源未列出具体要求请根据来源核实功能
Opencode
来源
Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra. 原文为英语。开源软件
可使用本地模型;需要设备资源
Open-source 终端 和 桌面版 coding agent for many hosted providers 和 本地模型; 模型 使用量 may cost extra.请根据来源核实功能
Twinny
来源
Open-source VS Code coding assistant for completion, chat, edits and reviews with local or hosted models; configure your own backend. 原文为英语。开源软件Open-source VS Code coding assistant for completion, chat, edits 和 reviews with 本地 或 hosted 模型; configure 自有 backend.请根据来源核实功能
SWE Agent
来源
Developer tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users. 原文为英语。开源软件Developer tool that attempts to resolve GitHub issues with a selected language 模型; 设置 和 inference are for technical users. 含英语原文。请根据来源核实功能
Roo Code
来源
Open-source coding-agent extension for VS Code with configurable modes and providers. 原文为英语。请查看来源中的当前条款编辑器扩展 + 模型提供商It does not bundle model access or replace Windsurf's hosted IDE service one-for-one. 原文为英语。
Kilocode
来源
Open-source AI coding agent for VS Code, JetBrains, and CLI; model-provider usage may cost extra. 原文为英语。请查看来源中的当前条款
需自备模型提供商或 API;其条款另行适用
来源未列出具体要求请根据来源核实功能

按工作流程选择

GitHub Copilot 的免费替代方案大多是开源扩展和代理。软件本身免费,但模型用量通常来自你自己的提供商账户或本地模型。

  1. 在现有编辑器中添加助手

    适用于 VS Code、JetBrains 等编辑器的扩展。各来源支持哪些编辑器,请逐一查看。

    • Kilocode

      Open-source AI coding agent for VS Code, JetBrains, and CLI; model-provider usage may cost extra. 原文为英语。

      来源
    • Roo Code

      Open-source coding-agent extension for VS Code with configurable modes and providers. 原文为英语。

      It does not bundle model access or replace Windsurf's hosted IDE service one-for-one. 原文为英语。

      来源
    • Twinny

      Open-source VS Code coding assistant for completion, chat, edits and reviews with local or hosted models; configure your own backend. 原文为英语。

      来源
  2. 使用本地模型运行

    这里只显示来源提到本地模型或自有 GPU 的选项。本地运行需要合适的硬件。

    • Opencode

      Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra. 原文为英语。

      来源
    • Tabby

      Self-hosted GitHub Copilot, runs on your own GPU.

      来源
    • Twinny

      Open-source VS Code coding assistant for completion, chat, edits and reviews with local or hosted models; configure your own backend. 原文为英语。

      来源
  3. 把仓库任务交给代理

    处理 issue 或仓库任务的代理需要配置好的模型和受控的运行环境。

    • SWE Agent

      Developer tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users. 原文为英语。

      来源
  4. 在终端中工作

    终端和 CLI 代理会直接修改项目文件。提交前请先检查改动。

    • Kilocode

      Open-source AI coding agent for VS Code, JetBrains, and CLI; model-provider usage may cost extra. 原文为英语。

      来源
    • Opencode

      Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra. 原文为英语。

      来源

选择前需要了解的问题

这些免费工具包含模型访问吗?

通常不包含。大多数选项是免费软件,需要连接模型提供商或本地模型;提供商的套餐和用量费用另计。各来源的说明见比较表。

它们有像 Copilot 那样的行内自动补全吗?

部分支持。只有少数来源提到自动补全,代理类工具则侧重多步骤修改。选择前请查看每张卡片。

离开 nopaywall

打开外部网站?

你即将访问 nopaywall 之外的网站。继续前请确认你信任这个地址。

外部网站