Skip to content
Comparisons

free-pi alternatives in 2026: free coding agents with and without the Pi harness

free-pi gives the Pi harness free models, paid for by ads and training. Here are the other ways to get a free coding agent, with each limit and data term checked against its source.

In short

  • To keep the Pi harness: run Pi itself with your own key, with OpenRouter’s free models (50 requests a day) or with a local model through Ollama.
  • Free, with models included: Freebuff, OpenCode, Kilo Code, freecode, Google Antigravity and GitHub Copilot Free.
  • Data terms differ a lot. free-pi trains on every session and says it may sell it. OpenCode’s DeepSeek V4.1 Flash Free runs with zero retention, and Freebuff trains only through models labeled for it.

free-pi takes Mario Zechner’s Pi harness and adds free models, paid for by terminal ads and by training on your sessions. Its daily allowance is unpublished and its desktop app is Mac-only. If any of that is a problem, here are the alternatives, starting with the agents that include free models and then the harnesses, including Pi itself, that you run on your own key.

Every limit below comes from the product’s own pages, checked on November 23, 2026. Free tiers in this market change often, so each one links to its source.

At a glance

  • free-pi: Free and ad-supported, daily allowance size unpublished; CLI and a Mac app; trains on sessions.
  • Freebuff: Free with no card or API key; up to 30 hours a day in the US in hour-long sessions with unlimited messages; terminal, desktop, browser, iOS and Android; agents Apache-2.0.
  • OpenCode: MIT; 11 free models "for a limited time", no account needed, no published limit; terminal, desktop and mobile.
  • Kilo Code: MIT; Auto Free routes to a few free models, 200 requests an hour per IP when signed out; VS Code, JetBrains, CLI and desktop.
  • freecode: Free and sponsor-funded, daily limit size unpublished; web, desktop and CLI on Apple silicon Macs and Windows x64.
  • Google Antigravity: Free plan with a weekly quota, no published number; app, CLI (agy) and IDE extensions.
  • GitHub Copilot Free: 2,000 completions a month plus limited chat and agent use; editors, CLI, GitHub.com and mobile.
  • Pi: MIT; free harness, bring a key or subscription from 15+ providers; terminal.
  • Goose: Apache-2.0; free, bring a key or run a local model; desktop app and CLI.
  • OpenRouter free models: :free models at 20 requests a minute and 50 a day (1,000 after $10 of credits); works with Pi, Goose, Aider, Cline and Crush.

Free agents with models included

Freebuff

Freebuff is a free, ad-supported coding agent, live since February 2026 and backed by Y Combinator. A free account gets a daily allowance of hours that depends on the country: up to 30 a day in the US, 21 in countries such as Canada, the UK and Germany, 12 in France, Spain and Italy, and 5 elsewhere. Each session lasts an hour with unlimited messages inside it.

The free picker recommends DeepSeek V4.1 Flash, and right now Solar Mini 4 and Solar Pro 4 don’t use the allowance. It runs in the terminal (npm install -g freebuff), as desktop apps for Mac, Windows and Linux, in the browser with the web workspace, and on iOS and Android. Work is split across 9 specialized subagents, including a code reviewer, and the agents are Apache-2.0 on GitHub. Only models labeled "May use data for AI training" are used for training, and messages are used to personalize ads (privacy policy).

OpenCode

OpenCode is an MIT-licensed agent with a terminal interface, desktop apps for macOS, Windows and Linux, and a mobile app. Its homepage says to "use the free models. No account needed." Its Zen docs list 11 free models, each free "for a limited time", with no published daily limit. Data terms differ by model: DeepSeek V4.1 Flash Free runs with zero retention, while Big Pickle, Tidepool and Iceman may use your data to improve the model.

Beyond that, you bring one of 200+ providers or pay for OpenCode Go, from $10 a month. OpenCode 2 is the current version, and it can run several agents in parallel on one project. Install with curl -fsSL https://opencode.ai/v2/install | bash.

Kilo Code

Kilo Code is MIT-licensed and runs as a VS Code extension, a JetBrains plugin, a CLI (npm install -g @kilocode/cli) and Kilo Desktop for macOS, Windows and Linux. Its Auto Free option "routes to free models through Kilo Gateway where available" (pricing); three free models were listed on November 23, 2026. Signed-out users are limited to 200 requests an hour per IP address, and Kilo notes that Auto Free may route to providers that "log prompts and outputs".

With your own key, Kilo charges no markup on inference, and Kilo Pass starts at $19 a month. It can also run tasks in parallel, isolated worktrees.

freecode

freecode (freecode.sh) is a sponsor-funded agent with a web app, desktop apps for Apple silicon Macs and Windows x64, and a terminal CLI (npm install -g freecode-sh) on the same two platforms. It needs no key or card, and its daily limit resets at midnight UTC, with the size unpublished. Its default model is DeepSeek 4.1, alongside Gemini 3.8 Flash. Its terms let it license eligible coding sessions to partners for AI training, on by default in some locations once you accept (how it’s free). The CLI is not open source.

Google Antigravity

Google’s Antigravity has a $0 plan that covers its app, its CLI (agy), IDE extensions and SDK, with a "baseline agent quota refreshed weekly" and no published number (pricing). Its free models are Gemini 3.8 Flash plus Claude Sonnet 4.6, Claude Opus 4.6 and GPT-OSS-120b, and Google lists the last three as removed on November 30, 2026. Gemini CLI no longer has a free tier: free use moved to Antigravity CLI on June 18, 2026.

GitHub Copilot Free

GitHub Copilot Free includes 2,000 code completions a month and "limited chat and agent usage" (plans), in editors, the Copilot CLI, GitHub.com and mobile. Models are chosen automatically, and the cloud agent and code review are paid features.

Pi and other harnesses on your own key

Pi

Pi is a minimal, MIT-licensed terminal agent, now maintained by Earendil at pi.dev, and Pi 1.0 has shipped. It has no hosted models of its own: you connect an API key or a subscription from more than 15 providers, including OpenRouter, and Ollama for local models. By design it "skips features like sub-agents and plan mode", and you extend it with TypeScript.

Pi is the harness that free-pi is built on. Install with curl -fsSL https://pi.dev/install.sh | sh.

Goose

Goose is an Apache-2.0 agent with a desktop app for macOS, Linux and Windows and a full CLI. It is now part of the Agentic AI Foundation at the Linux Foundation (docs). It ships no hosted models, but supports more than 85 providers and can run local models itself, with no separate server. Recipes save a workflow as a reusable YAML file.

OpenRouter free models

OpenRouter’s :free models work with any bring-your-own-key agent, including Pi, Goose, Aider, Cline and Crush. They allow 20 requests a minute and 50 a day, or 1,000 a day once you have bought $10 of credits (limits). Check each free endpoint’s data policy, because some providers may store prompts and train on them.

How to pick

  • The Pi harness without the ads or training: Pi with your own key.
  • Free models and a published daily allowance, with no key: Freebuff.
  • Free models with zero retention: OpenCode’s DeepSeek V4.1 Flash Free.
  • Windows or Linux desktop apps: Freebuff, OpenCode, Kilo Code or Goose.
  • Gemini models for free: Google Antigravity.

Try Freebuff for free

No card, no API key. `npm install -g freebuff`

Get Freebuff

Questions

What is the best free alternative to free-pi?
For a free agent with models included and a published allowance, Freebuff: up to 30 hours a day in the US in hour-long sessions with unlimited messages, and only models labeled for it are used for training. To keep the Pi harness itself, run Pi with your own key.
Can I use Pi for free?
The Pi harness is free and MIT-licensed, but it has no hosted models. You bring a key or subscription, use OpenRouter’s free models, or run a local model through Ollama.
Does free-pi train on my code?
Yes. Its consent text says sessions are used to train models and may be shared or sold to third parties, with no opt-out yet.
Which free-pi alternatives run on Windows and Linux?
Freebuff, OpenCode, Kilo Code and Goose all have desktop apps for Windows and Linux, and Pi’s CLI runs on both.