Best AI coding tools that use your own API keys

Updated 16 Oct 2026 · Prices from vendor pages only · How we rank →

The short answer

Each of these tools lets you bring your own model API keys. Cline comes first: free, open-source (Apache-2.0) agent with no subscription or seat fees: you pay for inference only, at cost or with your own keys, from many providers. The cheapest verified paid plan here is Zed Pro ($10/month). 9 of the 10 have a free plan we could confirm. Every price below is from the vendor’s own page, checked 16 Oct 2026.

Ranked shortlist

  1. Cline: Free, open-source (Apache-2.0) agent with no subscription or seat fees: you pay for inference only, at cost or with your own keys, from many providers. Plan: Open Source: Free
    VS Code, CLI, MCP
  2. Zed: A very fast native editor that's free forever with your own keys or external agents like Claude Agent and Codex CLI. Pro is a low $10/month. Plan: Personal: $0
    Own keys or external agents
  3. Amp: A frontier coding agent that is free to start with your own keys or subscriptions, and has no Amp token fees on BYOK. It became an independent company after spinning out of Sourcegraph in Dec 2025. Plan: Hobby: Free
    Pay-as-you-go orbs or own runners
  4. OpenHands: MIT-licensed, model-agnostic agent with a web GUI, CLI and SDK. It runs free locally with unlimited conversations, there's a free cloud Individual tier, and the GitHub community is large (about 91K stars). Plan: Local (open source): Free
    Unlimited conversations
  5. Aider: Free and open source (Apache-2.0). Works with almost any LLM, including local ones, maps your whole codebase and commits each change to git so it's easy to undo. Plan: Free, open source: you pay only your LLM provider
  6. JetBrains AI (Junie): Built into IntelliJ IDEA, PyCharm and the other JetBrains IDEs. JetBrains Air runs Junie, Claude Agent, Codex and other agents, and lets you bring your own keys. Plan: Not yet verified
  7. Kilo Code: Open-source coding agent for VS Code and JetBrains. Plan: Free & Open Source: Free
  8. Warp: Agentic terminal and development environment. Plan: Free: $0/month
  9. Continue: Ranked low because it is discontinued. Continue was acquired by Cursor, its repo is read-only, and 2.0.0 was the last release. The open-source extension still runs with your own keys or local models. Plan: Open-source extension (Apache-2.0), self-run with your own model keys
  10. Roo Code: Ranked last because it's discontinued: the extension shut down on 15 May 2026 and the GitHub repo is archived. The project itself points users to Cline or the community fork ZooCode. Plan: Was free and open source (Apache-2.0); no longer maintained

Order follows ToolRank’s editorial ranking in Coding & App Building, filtered to tools that fit this page. Anything we couldn’t confirm on a vendor page says “Not yet verified”.

Side by side

RankToolRelevant planStarting priceFree planBest forMain limitationLast checked
#1ClineOpen Source: Free
VS Code, CLI, MCP
Not yet verifiedFree for individuals: pay only for AI inference (BYOK or at cost)Developers who want a transparent, model-agnostic agent in VS Code and control over spendCosts scale directly with tokens, so long agent runs on frontier models get expensive. The JetBrains extension is listed under Enterprise.16 Oct 2026
#2ZedPersonal: $0
Own keys or external agents
$10/month (Pro)Personal: free forever, unlimited with your own API keys or external agentsDevelopers who want a fast native editor and a choice of AI (Zed-hosted, own keys or external agents)Hosted AI beyond Pro's $5 of included tokens is billed at API list price plus 10%. SSO/SAML isn't available yet on Business.16 Oct 2026
#3AmpHobby: Free
Pay-as-you-go orbs or own runners
$20/month (Individual)Hobby: free, all features, BYOK, pay-as-you-go orb runtimeDevelopers who want a cutting-edge agent and to reuse existing ChatGPT/Claude subscriptionsCloud 'orb' runtime is pay-as-you-go on the free tier, and the pricing model is unusual, so read the orb-minute details.16 Oct 2026
#4OpenHandsLocal (open source): Free
Unlimited conversations
Not yet verifiedOpen source: free, unlimited local use. Cloud Individual: free, 10 conversations/day, BYOK or at-cost modelsTeams that want an autonomous agent they can self-host and auditThe free cloud tier caps you at 10 conversations a day, and you pay your own LLM costs (BYOK, or OpenHands' provider at cost).16 Oct 2026
#5AiderFree, open source: you pay only your LLM providerNot yet verifiedFree, open source: you pay only your LLM providerTerminal users who want a free, model-agnostic pair programmer with clean git historyYou bring and pay for your own model API, and there's no GUI. The GitHub repo had its last push on 22 May 2026, so check the release cadence before you rely on it.16 Oct 2026
#6JetBrains AI (Junie)Not yet verified$10/month (AI Pro, personal)Not yet verifiedDevelopers already living in JetBrains IDEsThe product line is in flux: Junie is now part of JetBrains Air and cloud runs are rolling out gradually. We could not verify free-tier limits.16 Oct 2026
#7Kilo CodeFree & Open Source: Free$15/user/month (Teams)Free and open source; AI usage billed separatelyOpen-source coding agent with any modelModel usage costs extra16 Oct 2026
#8WarpFree: $0/month$20/month (Build)Free: $0/month, bring your own AIAn AI terminal and agentAgent usage beyond the included amount is billed16 Oct 2026
#9ContinueOpen-source extension (Apache-2.0), self-run with your own model keysNot yet verifiedOpen-source extension (Apache-2.0), self-run with your own model keysExisting users who want a frozen, self-run open-source assistant with their own modelsDiscontinued: no further updates or fixes and the hosted services are gone. Treat it as frozen software.16 Oct 2026
#10Roo CodeWas free and open source (Apache-2.0); no longer maintainedNot yet verifiedWas free and open source (Apache-2.0); no longer maintainedNobody new. Existing users should migrateShut down: no updates, no support, archived repository.16 Oct 2026

Prices as listed by each vendor on the last-checked date, USD, before tax. Plans and limits change, so follow the sources below.

Who should pick which

Pick Cline for developers who want a transparent, model-agnostic agent in VS Code and control over spend (Open Source: Free); think twice if you want one flat monthly price. Pick Zed for developers who want a fast native editor and a choice of AI (Zed-hosted, own keys or external agents) (Personal: $0); think twice if you depend on the VS Code or JetBrains extension ecosystems. Pick Amp for developers who want a cutting-edge agent and to reuse existing ChatGPT/Claude subscriptions (Hobby: Free); think twice if you need a conventional IDE assistant with autocomplete. Pick OpenHands for teams that want an autonomous agent they can self-host and audit (Local: open source) (Free); think twice if you want an inline autocomplete assistant inside your editor. Pick Aider for terminal users who want a free, model-agnostic pair programmer with clean git history (free plan: Free, open source: you pay only your LLM provider); think twice if you want a polished IDE, a hosted service, or one bundled subscription. Pick JetBrains AI (Junie) for developers already living in JetBrains IDEs ($10/month (AI Pro, personal)); think twice if you don't use JetBrains IDEs. Pick Kilo Code for open-source coding agent with any model (Free & Open Source: Free). Watch out: model usage costs extra.

FAQ

Which of these is cheapest?

Zed Pro ($10/month) is the lowest paid price we verified on this list (https://zed.dev/pricing, checked 16 Oct 2026). Check the vendor page for tax, billing period and usage limits.

Which of these have a free plan?

Cline: Free for individuals: pay only for AI inference (BYOK or at cost); Zed: Personal: free forever, unlimited with your own API keys or external agents; Amp: Hobby: free, all features, BYOK, pay-as-you-go orb runtime; OpenHands: Open source: free, unlimited local use. Cloud Individual: free, 10 conversations/day, BYOK or at-cost models; Aider: Free, open source: you pay only your LLM provider; Kilo Code: Free and open source; AI usage billed separately; Warp: Free: $0/month, bring your own AI; Continue: Open-source extension (Apache-2.0), self-run with your own model keys; Roo Code: Was free and open source (Apache-2.0); no longer maintained.

How were these tools chosen?

They are the tools in ToolRank's rankings with bring-your-own-key support stated by the vendor, confirmed on the vendor's own website on 16 Oct 2026. Tools we could not verify are left out rather than guessed, and anything unconfirmed is marked Not yet verified.

Sources

Related comparisons

Profiles: Cline · Zed · Amp · OpenHands · Aider · JetBrains AI (Junie) · Kilo Code · Warp · Continue · Roo Code

More best-of lists

Some links may be affiliate links. They never affect rank.

Get the weekly ToolRank brief

New AI tools, verified price changes and fresh comparisons. One email a week. Unsubscribe anytime.