A free AI coding agent in your terminal.
The best harness, now with batteries included.
Based on the Pi agent harness by Mario Zechner.
Invite a friend: you both get +5,000 credits a day for 30 days. Get your link with /invite in the CLI. Check your referral status.
The CLI is open source (MIT) — read the code on GitHub.
Comparing tools?vs Freebuffvs OpenCodevs Claude Codevs Gemini CLIvs Aidervs OpenAI Codex CLIvs GitHub Copilot CLIvs Cursor CLI
Who it's for
Built for developers who refuse to keep paying more for coding tools. If you're a student, indie developer, or building where standard tool pricing is prohibitive—this is for you. It's also for security work on systems you own or are authorized to test: the opt-in Defense models and the bundled security-audit skill help you find and fix vulnerabilities.
Transparent access.
- 01
Run the CLI
Execute
npx free-pi-cli@latestin your terminal. - 02
Sign in with GitHub
Approve the sign-in on a freepi.ai page that opens from your terminal. No payment details needed.
- 03
Code for free
Get a daily allowance of free coding help. Tasteful terminal ads cover the compute cost.
The deal
Model trainingWe may train on session data to create a better experience and more powerful, lower-cost models.
Early experimentThis is an early experiment. Expect it to evolve.
Model Market: Available models
Models come and go as prices and providers change. This list is live from the free-pi service.
- Particle🔥 Free Unlimited: limited time
- DeepSeek V4.1 Flash🔥 Free Unlimited: limited time
- GLM 5.3 Flash🔥 Free Unlimited: limited time
- DeepSeek V4 FlashDefault🔥 Free Unlimited: limited time
- Claude Haiku 5.5~2.0x usage
- DeepSeek V4 Pro~18x usage
- GPT-6.1 Sol Flexslower · ~41x usage
- GPT-6.1 TerraPremiumuses allowance fast · ~20x usage
- GPT-6.1 Terra Flexslower · ~20x usage
- GPT-6 Luna~2.0x usage
- GPT-6 Luna Flexslower · ~2.0x usage
- GPT-OSS 120B~3.0x usage
- Kimi K3.1 Prodaily limit · ~41x usage
- Laguna S 2.1 (Poolside)free preview, rate-limited · free, then ~1.8x usage
- MiMo V2.6 Flash (Xiaomi)~2.8x usage
- Muse Spark 1.3 Contributortrains on your data (free-pi + Meta) · ~2.0x usage
- Muse Spark Open (Meta)Premiumuses allowance fast · ~25x usage
- Qwen3.5 35B~2.9x usage
- Solar Pro 4~0.6x usage
Defense models
For authorized security work. Sign in to use them.
- Abliterated Large FlashDefense~20x usage
- Abliterated Large V2Defense~60x usage
- DeepSeek V4.1 Flash AbliteratedDefense~20x usage
- Gemma 4 UncensoredDefense~20x usage
- GLM 4.7 Flash HereticDefense~20x usage
- Qwen 3.6 Plus UncensoredDefense~20x usage
- Uncensored 1.2Defense~20x usage
26 models · switch anytime with /model
Opt-in · in /model
Authorized use onlyCyber Defense
Your security work should not stall because a model refused lawful work on your own systems.
Defense is an opt-in section of the /model picker for signed-in GitHub users. It lists models for security work: finding and fixing vulnerabilities, hardening, and auditing code and systems you own or are authorized to test. Defense models are abliterated: open-weight models with their refusal behavior removed, so they help with lawful security work that general models decline.

Defense models
- Abliterated Large Flash~20x usage
- Abliterated Large V2~60x usage
- DeepSeek V4.1 Flash Abliterated~20x usage
- Gemma 4 Uncensored~20x usage
- GLM 4.7 Flash Heretic~20x usage
- Qwen 3.6 Plus Uncensored~20x usage
- Uncensored 1.2~20x usage
Bundled with free-pi
- Bundled security-audit skillfree-pi ships the audit method and reference checklists from Cloudflare's open-source security-audit skill (MIT). free-pi runs it in a single agent, without sub-agents or an OS sandbox, so the agent follows the method itself and you validate each finding yourself.
- Reverse engineering with
/reverse-engineer-anythingAnalyze software you own or may lawfully test, such as native binaries, JS and Electron apps, APKs, .NET assemblies and websites.
For systems you own, employer systems you have permission to test, and in-scope bug bounty targets. Do not use it against anyone else's systems.
Free image generation
Ask for a mockup, icon or illustration and free-pi draws it. No image plan needed.
- Mockups and icons for your app: UI screens, landing heroes, logos, illustrations.
- Saved into your project: every image lands in your
images/folder. - Shows in your terminal: inline in iTerm2, Kitty, Ghostty, WezTerm and Warp. Other terminals get the file path.
Try it
npx free-pi-cli@latest
then ask: make an app icon for my todo app

Made with free-pi. “A SaaS dashboard UI mockup with a sidebar, revenue line chart and three KPI cards”

Made with free-pi. “A mobile app login screen for a fitness app named PulseFit”

Made with free-pi. “A flat app icon of a rocket in a rounded square, purple gradient”

Made with free-pi. “A landing page hero for a coffee subscription called Brewly”

Made with free-pi. “An isometric illustration of a developer at a laptop”
No API key, no card. Each image counts toward your free daily allowance.
Why free-pi
- Free, with no card.Tasteful terminal ads pay for inference, so you do not enter payment details.
- A real coding agent.Built on the Pi agent harness and running in your terminal.
- Your choice of models.Switch models anytime with
/model. - Free image generation.Ask for a mockup, icon or illustration and it lands in your project.
- Built for security work.Opt-in Defense models, the bundled security-audit skill and
/reverse-engineer-anything, for systems you own or are authorized to test. - Open source CLI.Read the code on GitHub.