Skip to content
Alternivo
Sign in

AI Coding

AI code editors with local LLM support (2026)

Running a model on your own machine keeps code off third-party servers and removes per-request costs, but only some AI coding tools let you point them at a local runtime such as Ollama or LM Studio. Others only work with their own cloud models, or do not say either way.

Last verified Oct 28, 2026

Short answer

Zed, Cline and JetBrains AI Assistant all document connecting Ollama or LM Studio. Zed is a free standalone editor, Cline is a free extension for VS Code and JetBrains, and JetBrains AI works inside JetBrains IDEs, though its agents and MCP tools do not work with local models. Continue also supports Ollama but is no longer maintained.

What we checked

  • Can use a local model (Ollama or LM Studio)
  • Actively maintained
  • Can be used for free (preferred)

A product is recommended only when its official pages confirm every required item. Missing information is shown as "not verified", never as yes. Paid placements do not affect this page.

Comparison

ProviderLocal modelsMaintainedFree optionJetBrains IDEsFees
ZedYesYesYesNoPersonal free; Pro $10/month with $5 of tokens then usage-based; Business $30/seat/month
ClineYesYesYesYesFree for individuals; you pay your model provider (or nothing with a local model). Enterprise on request.
JetBrains AI AssistantYesYesYesYesAI Free tier; paid AI Pro and AI Ultimate plans add more cloud credits (see JetBrains for current prices)
GitHub CopilotNot verifiedYesYesYesFree (2,000 completions/month); Pro $10/month; Pro+ $39/month; Max $100/month
CursorNot verifiedYesYesNot verifiedFree (limited); Plus $8/month; Premium $30/month; Super $100/month; Ultra $200/month
ContinueYesNoYesYesNot verified

Recommended options

1.Zed

Meets your requirements

AI code editor

  • Can use a local model (Ollama or LM Studio)Ollama and LM Studio are listed among bring-your-own providers.
  • Actively maintained
  • Can be used for freePersonal plan is free, with unlimited use of your own API keys.

Fees: Personal free; Pro $10/month with $5 of tokens then usage-based; Business $30/seat/month source

Pros

  • Free editor that works with Ollama and LM Studio
  • Unlimited edit predictions on Pro

Cons

  • You switch editors; it does not plug into JetBrains or VS Code

Visit Zed

2.Cline

Meets your requirements

Open-source coding agent

  • Can use a local model (Ollama or LM Studio)Ollama and LM Studio are listed as providers.
  • Actively maintained
  • Can be used for freeThe open-source extension is free for individuals; you pay only for model usage.

Fees: Free for individuals; you pay your model provider (or nothing with a local model). Enterprise on request. source

Pros

  • Free and Apache 2.0 licensed (VS Code extension)
  • Bring your own API key or run a local model

Cons

  • Costs depend entirely on the model you connect
  • Agent-focused; not a replacement for fast inline completion

Visit Cline

3.JetBrains AI Assistant

Meets your requirements

AI coding assistant

  • Can use a local model (Ollama or LM Studio)Connects to Ollama or LM Studio; agents and MCP tool calling do not work with local models.
  • Actively maintained
  • Can be used for freeAI Free tier with a small monthly allowance of AI credits for cloud features.

Fees: AI Free tier; paid AI Pro and AI Ultimate plans add more cloud credits (see JetBrains for current prices) source

Pros

  • Native to JetBrains IDEs
  • Local models through Ollama or LM Studio

Cons

  • Free tier allowance is small
  • Only for JetBrains IDEs

Visit JetBrains AI Assistant

Checked but not recommended

GitHub Copilot

Not verified for your requirements

AI coding assistant

  • Can use a local model (Ollama or LM Studio) — not verifiedThe plans page does not mention running local models.
  • Actively maintained
  • Can be used for freeFree plan with 2,000 inline completions a month and limited chat.

Fees: Free (2,000 completions/month); Pro $10/month; Pro+ $39/month; Max $100/month source

Pros

  • Works in almost every major editor, including all JetBrains IDEs
  • Unlimited inline completions on paid plans

Cons

  • Free plan caps inline completions at 2,000 a month
  • Chat and agent use is metered in AI credits

Visit GitHub Copilot

Cursor

Not verified for your requirements

AI code editor

  • Can use a local model (Ollama or LM Studio) — not verifiedNot documented on the pricing page.
  • Actively maintained
  • Can be used for freeFree plan with limited agent and chat requests (no figures published).

Fees: Free (limited); Plus $8/month; Premium $30/month; Super $100/month; Ultra $200/month source

Pros

  • Full AI editor with several usage tiers

Cons

  • Usage limits are published only as multipliers, not numbers

Visit Cursor

Continue

Does not meet your requirements

Open-source coding assistant

  • Can use a local model (Ollama or LM Studio)Ollama is a documented provider.
  • Actively maintainedThe repository says it is no longer actively maintained and is read-only.
  • Can be used for freeApache 2.0 licensed.

Pros

  • Open source with Ollama support

Cons

  • No longer actively maintained

Visit Continue

Limitations to know

  • Local models are usually much weaker than frontier cloud models for agent-style tasks, and need a capable GPU or Apple Silicon machine.
  • Supporting local models does not make a tool fully offline: sign-in, updates and some features may still need the internet.
  • Some features are cloud-only even when a local model is connected (for example JetBrains AI agents and MCP tool calling).

Frequently asked questions

Which AI code editor works with Ollama?

Zed, Cline and JetBrains AI Assistant document Ollama as a provider. Continue does too, but is no longer maintained.

Does GitHub Copilot or Cursor support local models?

Their pricing pages do not say, so we mark it as not verified rather than supported.

Is using a local model free?

The model itself runs on your hardware, so there is no per-request fee. Zed's Personal plan and Cline's extension are free; JetBrains AI's paid plans only matter for its cloud features.

Sources