Pi
Last tested:
Pi is open-source AI agent toolkit (unified LLM API, agent loop, TUI, coding agent CLI); the CLI runs headless on your own model API key (category: Coding Agents (CLI & Cloud)). VibeToolRank agent test score: 8.2/10 (tested 2026-11-25, 3 runs, headless CLI, free API key, gemini-3.5-flash-lite), #22 of 27 tested Coding Agents (CLI & Cloud) tools. Pricing: Free open source (MIT); you pay your model provider. Free tier: Yes: free tool; bring your own API key.
Key facts
Verdict: Headline 8.2 is the mean of T3 9.6, T4 7.5, and T5 7.4 (rubric v0.3).
- VibeToolRank score
- 8.2/10
- Cost per run
- $0.059 / run
- Rank
- #22 of 27 tested Coding Agents (CLI & Cloud)
- Category
- Coding Agents (CLI & Cloud)
- Last tested
- 2026-11-25
- Runs
- 3 runs
- Outcome score
- 7.8/10
- Edition tested
- Pi coding agent 1.6.0 headless (pi --offline -p --mode json --provider google --model gemini-3.5-flash-lite, default thinking level), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3).
- Free plan, as measured
- All nine T3/T4/T5 runs used a free Google AI Studio key on 25 Nov 2026 ($0 billed); $0.059 per run at paid rates. Two runs stopped on free-tier 429s.
- Free plan
- Yes: free tool; bring your own API key
- Price
- Free open source (MIT); you pay your model provider
- Pricing checked
- 2026-11-30
- Sources
- github.com/earendil-works/pi · test log in our repo
Pricing and free tier
Current official pricing (checked ): Free open source (MIT); you pay your model provider
Is Pi free? Yes: free tool; bring your own API key
Pi is free and open source (MIT); you pay for the model. A free Google AI Studio key (no card) ran all nine of our T3/T4/T5 runs on 25 Nov 2026, but T4 run 2 and T5 run 2 stopped on the free-tier per-minute caps.
verified-official official source · unknown method. Official plan limits can change; re-check the vendor page before paying. Figures from our tests are recorded observations, not a current-capacity promise.
What we measured in our test (2026-11-25, 3 runs): All nine T3/T4/T5 runs used a free Google AI Studio key on 25 Nov 2026 ($0 billed); $0.059 per run at paid rates. Two runs stopped on free-tier 429s. Pi free tier: how far you get
Agent test verdict
Edition tested Pi coding agent 1.6.0 headless (pi --offline -p --mode json --provider google --model gemini-3.5-flash-lite, default thinking level), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3).. Results may differ for the hosted product.
Tested 2026-11-25 · 3 runs · rubric v0.3 (provisional thresholds). Headline 8.2 is the mean of T3 9.6, T4 7.5, and T5 7.4 (rubric v0.3). T3 was 4/4 on all three runs. T4 was 12/12, 0/12 and 12/12; T5 was 20/20, 1/20 and 20/20. The two failed runs stopped on free-tier 429s (15 requests/minute on T4 run 2; 250,000 input tokens/minute on T5 run 2) and Pi did not wait the retryDelay, but still exited 0. Cost per run is $0.058570, the mean of all nine runs (shown as $0.059 / run).
T3+T4+T5 The headline below is the mean of the T3, T4, and T5 task overalls (rubric v0.3). Speed uses fine wall-time bands (10 at ≤30s, then −1 per 120s), including a retroactive Speed on earlier T3 and T4 times. The previous v0.2 headline stays in labelled history and is not silently replaced.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 7.8 |
| Speed (15%) | 9.8 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 6.7 |
| Overall | 8.2 |
Cost per run: $0.059 / run
Task results
These are the sittings that make up the headline. T4 Outcome is 10 times the mean fraction of 12 held-out tests, and T5 Outcome is 10 times the mean fraction of 20 held-out tests, that the agent did not see during the run. Task tables on a v0.3 page use the v0.3 Speed bands.
T3 · 2026-11-25 · headless CLI, free API key, gemini-3.5-flash-lite · 3runs · overall 9.6 · held-out 4/4, 4/4, 4/4
Pi coding agent 1.6.0 headless (pi --offline -p --mode json --provider google --model gemini-3.5-flash-lite), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
Pi fixed the seeded cart bug in 3/3 T3 runs (8.37s / 12.8s / 10.16s) on 2026-11-25. Test file unchanged. Mean cost $0.011311 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 10 |
| Speed (15%) | 10 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 10 |
| Overall | 9.6 |
Cost per run: $0.011 / run
T4 · 2026-11-25 · headless CLI, free API key, gemini-3.5-flash-lite · 3runs · overall 7.5 · held-out 12/12, 0/12, 12/12
Pi coding agent 1.6.0 headless (pi --offline -p --mode json --provider google --model gemini-3.5-flash-lite), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
T4 held-out 12/12, 0/12, 12/12 (49.25s / 36.13s / 51.51s) on 2026-11-25. Run 2 stopped on a free-tier 429 after writing only src/promos.js. Test files unchanged. Mean cost $0.057021 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 6.7 |
| Speed (15%) | 9.9 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 5 |
| Overall | 7.5 |
Cost per run: $0.057 / run
T5 · 2026-11-25 · headless CLI, free API key, gemini-3.5-flash-lite · 3runs · overall 7.4 · held-out 20/20, 1/20, 20/20
Pi coding agent 1.6.0 headless (pi --offline -p --mode json --provider google --model gemini-3.5-flash-lite), free-tier Google AI Studio API key, gemini-3.5-flash-lite. Task score uses v0.3 Speed bands; the v0.3 headline is T3+T4+T5.
T5 held-out 20/20, 1/20, 20/20 (104.04s / 58.56s / 159.31s) on 2026-11-25. Run 2 stopped on a free-tier 429 right after the first rewrite of lib/variant.js. Mean cost $0.107378 per run.
| Dimension | Score /10 |
|---|---|
| Outcome (40%) | 6.8 |
| Speed (15%) | 9.4 |
| Cost (15%) | 10 |
| Developer experience (15%) | 7 |
| Reliability (15%) | 5 |
| Overall | 7.4 |
Cost per run: $0.11 / run
How we tested
- Pi coding agent 1.6.0 (npm @earendil-works/pi-coding-agent, installed with --ignore-scripts into a scratch prefix) headless (pi --offline -p --mode json --provider google --model gemini-3.5-flash-lite, default thinking level) with a free-tier Google AI Studio API key, official v0.3 harness with bubblewrap as in docs/tests/amp/run.py.
- Task T3 (25 Nov): seeded cart.js bug, 4/4 on all three runs (8.37s, 12.8s, 10.16s). Test file unchanged.
- Task T4 (25 Nov): promo checkout, 12 held-out tests copied in after each run: 12/12, 0/12, 12/12 (49.25s, 36.13s, 51.51s). Run 2 wrote only src/promos.js, then stopped on a 15 requests/minute 429; visible tests 3/8. Test files unchanged.
- Task T5 (25 Nov): vendored negotiator, 20 held-out tests: 20/20, 1/20, 20/20 (104.04s, 58.56s, 159.31s). Run 2 stopped on a 250,000 input-tokens-per-minute 429 right after the first rewrite of lib/variant.js; visible tests 2/9. Test files unchanged.
- The sitting ran alone on the key with 90s cooldowns after T3 and 150s after T4/T5. 503 'high demand' errors on T3 run 2, T4 runs 2–3 and T5 runs 1 and 3 were retried automatically.









Pros, cons and who it's for
Pros
- Fixed the seeded T3 bug in 3 of 3 runs (8–13s) and passed 20/20 held-out T5 tests on two of three runs
- Headless --mode json reports split input, cached and output tokens plus the model id on every message
- Retried 503 'high demand' errors automatically and continued (2s backoff, up to 3 attempts)
Cons
- Does not wait out the free-tier 429 retryDelay: T4 run 2 and T5 run 2 stopped mid-task and still exited 0
- A single T5 run can send ~250k input tokens, close to the free tier's whole per-minute budget
- No built-in sandbox or permission gate (by design)
Who it's for: Developers who want a fast terminal agent on their own Gemini API key and can live with free-tier rate limits stopping long tasks.
Free-tier limits: Pi is free and open source (MIT); you pay for the model. A free Google AI Studio key (no card) ran all nine of our T3/T4/T5 runs on 25 Nov 2026, but T4 run 2 and T5 run 2 stopped on the free-tier per-minute caps.
FAQ
Can Pi run on a free Gemini API key?
Yes. On 25 Nov 2026 a free Google AI Studio key (no card) ran all nine of our T3/T4/T5 runs on gemini-3.5-flash-lite. T4 run 2 and T5 run 2 stopped on free-tier 429s; Pi retried 503s automatically but did not wait the 429 retryDelay. At paid rates those runs average $0.058570 each (shown as $0.059 / run).
How well did Pi do on our coding tasks?
T3 bug fix 4/4 on all three runs (25 Nov). T4 promo checkout 12/12, 0/12, 12/12. T5 20/20, 1/20, 20/20. The v0.3 headline is 8.2.
Does Pi retry when the API rate-limits it?
It retries 503 'high demand' errors automatically (2s backoff, up to 3 attempts) and continued on every run that hit one. It does not wait out a 429 retryDelay: the two runs that hit a free-tier 429 stopped where they were, and the process still exited 0.
What was the cost per run for Pi in VibeToolRank's test?
$0.059 / run.
How much does Pi cost?
Free open source (MIT); you pay your model provider (from the official pricing page, checked 2026-11-30).
Related
Other Coding Agents (CLI & Cloud)
- OpenAI Codex — 9.7/10
- psi — 9.7/10
- Aider — 9.5/10
- Mirror (Reflection) — 9.4/10
- Claude Code — 9.3/10
- Gemini CLI — 9.3/10
- GitHub Copilot CLI — 9.2/10
- OpenCode — 9.2/10
- Memdoor — 9.1/10
- Zerg Client — 9.1/10
- Amp — 9/10
- OpenHands — 8.9/10
- Qwen Code — 8.8/10
- Goose — 8.7/10
- turri — 8.7/10
- Agent Manager — 8.6/10
- Reason — 8.6/10
- Alysis Code — 8.4/10
- Crush — 8.4/10
- Harness (Autonomous) — 8.4/10
- Parallax (Conifer) — 8.4/10
- Jules — 8/10
- Cline — 7.9/10
- Kilo Code — 7.7/10
- Wonder — 6.4/10
- Crewplane — 5.5/10
- ClawDOS — not yet tested
- Conducted — not yet tested
- Devin — not yet tested
- Roomote (formerly Roo Code) — not yet tested
- Ski — not yet tested
Best Coding Agents (CLI & Cloud) · Best free Coding Agents (CLI & Cloud) · All tools · How we test
Sources
Scores come from our own tests and are never for sale; sponsored placements are always labelled. Some links are affiliate links (currently Railway). Disclosure
