Skip to content

AI coding · Local models

Local AI coding tools for private code

Tools that run open models on your own machine (Ollama, LM Studio) and agents that can use them, so prompts and code do not leave your computer. Local models are free to run but need a capable GPU or Apple Silicon, and they trail the best hosted models on hard tasks. Several commercial tools also offer self-hosted enterprise deployments; see the "Self-hosting" row on each profile.

35 tools · updated 27 Nov 2026

Compare 35 tools

Local AI coding tools for private code: free tier, starting price, open source, own key, MCP and where they run
Tool Free tier Paid from Open source Own key MCP Runs in
Ollama Open-source runtime that downloads and serves open models on your own machine or on Ollama's cloud, with a CLI, desktop app, REST API and launchers for coding agents. Free plan $20/mo Yes – – Desktop app, CLI
Jan Free open-source desktop app that runs local LLMs or connects to cloud providers, with MCP connectors and a local API server; a separate Jan Agent CLI is in preview. Free (your key) – Yes Yes Yes Desktop app, CLI
LM Studio Desktop app and CLI that runs open LLMs locally (llama.cpp, MLX) with a built-in agent called Bionic; optional paid cloud inference. Free plan $20/mo Partly – Yes Desktop app, CLI
OpenAI Codex OpenAI's coding agent: open-source CLI, IDE extension, desktop app and cloud agent that edit code, run tasks in parallel and review pull requests, tied to a ChatGPT plan or API key. Free plan $8/mo full models $20/mo Partly Yes Yes VS Code, JetBrains, Xcode, Desktop app, CLI, Web, Mobile, Slack, GitHub app
OpenCode Open-source coding agent for terminal, desktop and mobile that works with 200+ model providers, including local models and OpenCode's own free and subscription models. Free (your key) $10/mo Yes Yes Yes Desktop app, CLI, Web, Mobile
Cline Open-source coding agent that runs in VS Code, JetBrains, other editors, a CLI and a desktop app, using your own API keys or Cline's provider. Free (your key) $9.99/mo Yes Yes Yes VS Code, JetBrains, Neovim, Desktop app, CLI
Zed Open-source native code editor with multiplayer collaboration, a built-in agent panel, edit prediction and support for external ACP agents. Free (your key) $10/mo Yes Yes Yes Desktop app
Qwen Code Open-source terminal coding agent from the Qwen team that also runs as a desktop app, web UI, IDE plugin, headless mode and SDK. Free (your key) Usage-based Yes Yes Yes VS Code, JetBrains, Desktop app, CLI, Web
Mistral AI API (Studio) and Vibe Mistral's model API (Codestral, Devstral and general models, priced per token) plus Vibe, its coding agent for CLI, VS Code and web. Free plan $14.99/mo Partly – Yes VS Code, JetBrains, Desktop app, CLI, Web, Mobile, Slack
Kilo Code Open-source coding agent for VS Code, JetBrains, CLI and a desktop app, with a pay-at-provider-rates model gateway and cloud agents. Free (your key) $19/mo Yes Yes Yes VS Code, JetBrains, Desktop app, CLI, Slack
Open Interpreter Open-source terminal coding agent (a Codex fork) tuned for low-cost open-weight models, plus a desktop agent app for documents and browser work. Free (your key) – Yes Yes Yes Desktop app, CLI
Roomote formerly Roo Code Open-source, self-hosted cloud coding agent that runs tasks in sandboxes and returns reviewable pull requests; successor to the archived Roo Code VS Code extension. Free (your key) – Yes Yes Yes Web, Mobile, Slack
goose Open-source general-purpose AI agent with a desktop app and CLI that works with 85+ model providers or local models and MCP extensions; now under the Agentic AI Foundation. Free (your key) – Yes Yes Yes VS Code, JetBrains, Desktop app, CLI
Aider Open-source terminal tool for pair programming with LLMs on a local git repo, with codebase map and automatic commits. Free (your key) – Yes Yes – CLI
Crush formerly Crush (Charm) Open-source terminal coding agent from Charm that works with many LLM providers, LSPs and MCP servers. Free (your key) – Partly Yes Yes CLI
CodeGeeX Multilingual AI coding assistant from Zhipu AI: VS Code and JetBrains extensions, plus an open 9B code model you can run locally. – – Partly – – VS Code, JetBrains
Dyad Free, open-source desktop app that turns a prompt into a web app on your machine, using your own API keys, local models or Dyad Pro credits. Free (your key) $20/mo Partly Yes Yes Desktop app
Wave Terminal Open-source terminal for macOS, Linux and Windows with file previews, remote file editing, a built-in browser and an AI assistant that reads your terminal output. Free (your key) – Yes Yes – Desktop app, CLI
SWE-agent Maintenance only Open-source research agent from Princeton and Stanford that lets a language model fix GitHub issues using tools, driven from the command line with a yaml config. Free (your key) – Yes Yes – CLI
Refact Maintenance only Open-source, local-first AI coding agent for VS Code and JetBrains that runs on your own API keys or local models; hosted Refact Cloud is retired. Free (your key) – Yes Yes Yes VS Code, JetBrains
gptme Open-source (MIT) terminal AI agent with shell, Python, browser and patch tools; works with cloud or local models, has a desktop app, web UI, MCP and ACP. Free (your key) – Yes Yes Yes JetBrains, Desktop app, CLI, Web, Mobile, GitHub app
Omnara Open-source managed agent platform: run durable AI agents on any model and any machine through one API, CLI and dashboard, hosted or self-hosted. Free (your key) Usage-based Yes Yes Yes CLI, Web, Slack, GitHub app
Alysis Code Open-source agent as desktop app and CLI: Code mode edits and tests repos in a sandbox, Work mode handles documents and everyday tasks; any model. Free plan EUR 1/mo Yes Yes Yes VS Code, JetBrains, Desktop app, CLI
Pixee Security agent that triages findings from your existing scanners and opens pull requests with fixes; it is not a scanner itself. – Usage-based Partly Yes – GitHub app
GitHub Copilot AI coding assistant from GitHub: inline completions, chat and agent mode in IDEs, cloud agent, code review, CLI and desktop app, billed in AI credits. Free plan $10/mo – Yes Yes VS Code, JetBrains, Neovim, Visual Studio, Xcode, Desktop app, CLI, Web, Mobile, Slack
GitHub Copilot CLI Terminal agent from GitHub: chat, plan and edit code, run commands and use GitHub issues and PRs from the command line, with MCP and sandboxes. Free plan $10/mo No Yes Yes CLI
IBM Bob formerly IBM watsonx Code Assistant IBM's AI coding agent for enterprises: its own IDE plus Bob Shell CLI, with Ask, Plan and Agent modes, MCP, and add-on packages for Java, IBM i, Z and DevSecOps. Trial only $20/mo – – Yes Desktop app, CLI
JetBrains AI AI chat, completion, in-editor generation and coding agents built into JetBrains IDEs, using JetBrains-hosted models or your own provider keys and local models. Free plan Usage-based – Yes Yes JetBrains
Junie JetBrains coding agent that plans, edits and tests code with IDE tools; runs in Air inside JetBrains IDEs, in a terminal CLI, and in GitHub and GitLab CI. Free plan Usage-based – Yes Yes JetBrains, CLI, GitHub app
GitLab Duo Agent Platform GitLab's AI layer for planning, coding, code review, security and CI/CD pipeline fixes, with agents, flows, chat and editor extensions, billed through GitLab Credits. No $29/mo – Yes Yes VS Code, JetBrains, Neovim, Visual Studio, Web
AI in Android Studio (Gemini in Android Studio) formerly Gemini in Android Studio Built-in AI agent in Android Studio for Android development: Gemini by default, plus your own API keys, ACP agents or local Gemma models. Free plan Usage-based – Yes Yes Desktop app
Visual Studio with GitHub Copilot Microsoft's Visual Studio IDE with GitHub Copilot built in: inline completions, chat, agent mode and MCP servers inside the editor. Free plan $10/mo – Yes Yes Visual Studio, Desktop app
CodeGPT AI coding agent extension for VS Code and JetBrains with plan-first agent mode, MCP, bring-your-own-key and local models. Free plan $10/mo – Yes Yes VS Code, JetBrains
Pieces On-device memory layer that records your work across apps, lets you search it by chat and serves it to AI tools over MCP. Trial only $18.99/mo – Yes Yes Desktop app
WorkBuddy Tencent's desktop and web AI agent workspace that plans and runs office tasks (documents, spreadsheets, slides, research) and can complete code. Free plan $10/mo – Yes Yes Desktop app, Web, Mobile, Slack

A dash means the tool's website does not say. "Paid from" is the cheapest regular individual plan; "full models" is the cheapest plan with the tool's main models when that costs more. Sale prices are not used.

What to check before you pay

  • "Local models" means the tool can call a model running on your machine. "Self-hosting" means the whole product can run on your infrastructure, often on enterprise plans only.
  • Hardware: larger local models need a lot of GPU or unified memory; check the model size before you plan around it.
  • Some tools still send telemetry; check the privacy settings.

Most used here

Going by GitHub stars, installs and followers. Not a ranking.

  • Ollama

    Developers who want to run open models locally for free, or point Claude Code, Codex or OpenCode at open models via `ollama launch`.

    Watch out: Not a coding assistant itself: no editor plugin or agent of its own. Local quality depends on your GPU and RAM; cloud models are metered by tokens with concurrency caps.

  • Jan

    Privacy-minded users who want to chat with local Llama, Gemma or Qwen models offline, or serve them to other tools via a localhost OpenAI-compatible API.

    Watch out: Not a code editor plugin. The coding-agent CLI, Jan Agent, is nightly-quality preview and cannot run models itself; local model quality depends on your hardware.

  • LM Studio

    Developers and teams who want to run open models on their own hardware with a free desktop app, local server and agent, and optionally rent open-model cloud inference.

    Watch out: Free tier is local only; hosted frontier models (GPT, Claude Opus) need the $100 Pro plan. Download shown is x64 Bionic; app has been rebranded to Bionic.

Common questions

Can I use an AI coding assistant without sending code to the cloud?

Yes. Run a model locally with Ollama or LM Studio and point an open-source agent (Cline, OpenCode, Aider, Goose) at it. Several commercial tools also offer self-hosted enterprise deployments.

Where the information comes from: how we build the list. Out of date? Send a correction.

Type to search. Esc closes.