Skip to content
BYOK Tools

GitHub Copilot alternatives

12 GitHub Copilot alternatives that run on your own key

GitHub's AI pair programmer. BYOK coding tools let you choose the model for completions, chat and agent runs, and pay the provider directly.

  1. 1

    Aider

    ★ 4.7 · Open source · Free & open source

    Aider is a command-line coding assistant that edits files in your local git repo and commits changes with sensible messages. It builds a repository map for context and works with nearly any LLM through your own keys.

    Key Safety 93/100Open sourceCLI, macOS, Windows
  2. 2

    Cline

    ★ 4.7 · Open source · Free & open source

    Cline is an open-source VS Code agent that can plan, edit files, run terminal commands and use a browser, asking for approval at each step. It works with Anthropic, OpenAI, Gemini, OpenRouter, Bedrock and local models via your keys.

    Key Safety 93/100Open sourceVS Code
  3. 3

    Cursor

    ★ 4.6 · Freemium · Free tier; Pro from $20/mo

    Cursor is a VS Code-based editor with deep AI features like multi-file edits, an agent mode and codebase-aware chat. Users can add their own OpenAI, Anthropic, Google or Azure keys for chat models instead of relying solely on Cursor credits.

    Key Safety 28/100macOS, Windows, Linux
  4. 4

    Continue

    ★ 4.5 · Open source · Free & open source

    Continue lets developers build custom AI code assistants in VS Code and JetBrains using any model, including local ones via Ollama. Configuration files define chat, autocomplete and edit models from your preferred providers.

    Key Safety 93/100Open sourceVS Code, JetBrains
  5. 5

    Claude Code

    ★ 4.7 · Freemium · Pay-as-you-go API or Claude plan

    Claude Code is Anthropic command-line coding agent that reads your codebase, edits files, runs commands and handles git workflows. It can be billed through a Claude subscription or directly via your own Anthropic API key, Bedrock or Vertex AI.

    Key Safety 54/100CLI, macOS, Windows
  6. 6

    LLM (Simon Willison)

    ★ 4.6 · Open source · Free & open source

    llm is a command-line tool and Python library by Simon Willison for prompting models, logging every interaction to SQLite and working with embeddings. Plugins add support for virtually every provider and local runtime.

    Key Safety 93/100Open sourceCLI, macOS, Windows
  7. 7

    Roo Code

    ★ 4.6 · Open source · Free & open source

    Roo Code began as a Cline fork and adds custom modes such as Architect, Code, Ask and Debug, plus orchestration of subtasks. It runs on your own provider keys or local models.

    Key Safety 93/100Open sourceVS Code
  8. 8

    Fabric

    ★ 4.5 · Open source · Free & open source

    Fabric by Daniel Miessler organizes reusable AI prompts called patterns, like summarizing articles or extracting wisdom, that you pipe content into from the terminal. It supports many providers via your own keys and local models.

    Key Safety 93/100Open sourceCLI, macOS, Windows
  9. 9

    OpenCode

    ★ 4.5 · Open source · Free & open source

    OpenCode is a terminal-based AI coding agent with a polished TUI, LSP integration and support for dozens of providers via your own keys. It can also run as a client-server setup and integrates with editors.

    Key Safety 93/100Open sourceCLI, macOS, Windows
  10. 10

    Zed

    ★ 4.5 · Freemium · Editor free; hosted AI plans optional

    Zed is a fast, Rust-built code editor with built-in AI features including an agent panel and inline assist. You can configure your own Anthropic, OpenAI, Google, OpenRouter or Ollama credentials instead of using Zed hosted models.

    Key Safety 93/100Open sourcemacOS, Linux, Windows
  11. 11

    AIChat

    ★ 4.4 · Open source · Free & open source

    AIChat is a Rust command-line tool that supports more than 20 providers with your own keys, offering a shell assistant, chat REPL, RAG, function calling and an OpenAI-compatible server. It is a single fast binary.

    Key Safety 93/100Open sourceCLI, macOS, Windows
  12. 12

    Gemini CLI

    ★ 4.4 · Open source · Free & open source; free tier with Google account

    Gemini CLI brings Gemini models into the terminal for coding, research and automation tasks with tools and MCP support. It can authenticate with a Google account or with your own Gemini API key or Vertex AI credentials.

    Key Safety 75/100Open sourceCLI, macOS, Windows