FreePi CLI
A free AI coding agent in your terminal.
Sign in with GitHub, no card. Tasteful terminal ads pay for the inference.
Needs Node.js 22.15 or newer.
How it works
Three steps.
Run the CLI
Execute
npx free-pi-cli@latestin your terminal.Sign in with GitHub
Approve the sign-in on a freepi.ai page that opens from your terminal. No payment details needed.
Code for free
Get a daily allowance of free coding help. Tasteful terminal ads cover the compute cost.
What you get
Everything in the box.
Your choice of models
Switch models anytime with /model. The list loads from the server, so it can change without a new release. A few of the models listed today:
- Particle-1
- DeepSeek V4.1 Flash
- GLM 5.3 Flash
- DeepSeek V4 Flash
- DeepSeek V4.1 Flash 600tps
- DeepSeek V4 Pro
- Gemini 4 Carbon
- Gemini 4 Hydrogen
Free image generation
Ask for a mockup, icon or illustration and it lands in your project's images/ folder. No API key, no card. Each image counts toward your free daily allowance.

A SaaS dashboard UI mockup with a sidebar, revenue line chart and three KPI cards 
A flat app icon of a rocket in a rounded square, purple gradient 
A landing page hero for a coffee subscription called Brewly
Cyber Defense
An opt-in section of the /model picker for security work on systems you own or are authorized to test, plus a bundled security-audit skill.
Open source
The CLI is open source under the MIT licence. Read the code on GitHub.
View on GitHubBased on Pi
Built on the Pi agent harness by Mario Zechner.
Pi on GitHubInvite a friend
Run /invite in the CLI to get your link.
CompareFreebuffOpenCodeClaude CodeGemini CLIAiderOpenAI Codex CLIGitHub Copilot CLICursor CLI
Questions
Good to know.
- Is it really free?
- Yes. You get a free daily allowance, and tasteful terminal ads cover the compute cost, so you never enter payment details.
- What do I need to run it?
- A terminal, Node.js 22.15 or newer, and a GitHub account. No install is needed first:
npxdownloads and runs the CLI. - Does it use my sessions for training?
- We may train on session data to create a better experience and more powerful, lower-cost models. Do not put secrets or code you are not allowed to share into a session.
- What happens when I reach the daily limit?
- Past the free allowance, requests run on a slower lane of spare capacity, and the server may ask you to try again in a little while. Credits spend after the free allowance, so bought or earned credits keep you going at full speed β
/buy-creditsopens the buy page. Slash commands such as/usagestill work. - Who is it 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.
Other FreePi products
- FreePi DesktopThe same free agent as a Mac app. Pick a folder and start building.Live
- FreePi BotsFriendly agents in the cloud that get stuff done for you.Live
- Free Web SearchFree web search for your agents. No sign-in, no API key.Live
- SandboxesIsolated cloud environments where your agents can run code.Coming soon
- StorageA place for your agents to keep files.Coming soon
- ToolsReady-made tools your agents can call.Coming soon