查看中文版 →

Deutsche Version ansehen →

Открыть русскую версию →

Ver versión en español →

Log inChoose a plan
Tools · Pi

The coding plan
for Pi.

Keep Pi exactly as it is. Add CodingPass as a provider with baseUrl in models.json and run Claude Sonnet 5.5, Opus 5.5 and Kimi K2.7 Code on a monthly coding plan from one allowance.

$10/mo until you cancel.

  • Setup in 60s
  • No surprise charges
  • Full refund if you've used 5% or less
~/.pi/agent/models.json
{  "providers": {    "codingpass": {      "baseUrl": "https://codingpass.ai/v1",      "api": "openai-completions",      "apiKey": "cp-live-…",      "models": [        { "id": "claude-sonnet-5-5" },        { "id": "kimi-k2.7-code" }      ]    }  }}
Model ID for your plan
Go
claude-sonnet-5-5
Plus
claude-opus-5-5
Pro
claude-fable-5-2
Strengths

A minimal agent that spends few tokens.

The coding agent OpenClaw is built on: four tools, a short system prompt, extensions for everything else. All of it runs on CodingPass.

Token-efficient by design

Four tools (read, write, edit, bash) and a system prompt under about 1,000 tokens, roughly a tenth of what bigger agents send. In users' tests against Claude Code, Pi reached similar results at about half the cost.

Minimal core, add what you need

Pi skips sub-agents and plan mode. Add them with extensions, skills and prompt templates, or ask Pi to build the feature, then share it as a package over npm or git.

The base OpenClaw is built on

OpenClaw runs on Pi. Use the same TypeScript SDK, RPC or JSON mode to build Pi into your own apps, scripts and CI.

Sessions you can branch

Continue a session later, or go back to an earlier message and try another approach. Every branch stays in the session.

Plans

Which plan for Pi?

Every plan works with Pi. Pick the Claude flagship you want as your default; all open-weight models come with every plan and share the same monthly allowance.

Go

Go: Claude Sonnet 5.5

Best forDaily coding, scripts, small extensions

$10/mo

$60 Sonnet allowance a month

Requests / month
≈2,050
Per 5-hour window
≈342req
Each open-weight model
$40/mo
Model ID
claude-sonnet-5-5
Choose Go
Recommended
Plus

Plus: Claude Opus 5.5

Best forLarge refactors, long agent sessions

$30/mo

$200 Opus allowance a month

Requests / month
≈3,420
Per 5-hour window
≈570req
Each open-weight model
$125/mo
Model ID
claude-opus-5-5
Choose Plus
Pro

Pro: Claude Fable 5.2

Best forParallel sessions and the hardest problems

$100/mo

$500 Fable allowance a month

Requests / month
≈5,090
Per 5-hour window
≈848req
Each open-weight model
$300/mo
Model ID
claude-fable-5-2
Choose Pro

Estimates from CodingPass traffic: about 100K tokens per request at roughly 5% input, 1% output and 94% cache read. A single Pi task usually makes several requests. Allowances are metered at official API prices.

Setup

Three steps.
About a minute.

Pi loads custom endpoints from models.json. Add CodingPass once and its models show up under /model.

  1. Create a key

    Sign in with Google, GitHub or email and pick a plan. Then go to Dashboard → Keys → New key. Keys start with cp-live-.

  2. Add the provider

    Paste the block into ~/.pi/agent/models.json with your key. To keep the key out of the file, write "$CODINGPASS_API_KEY" instead and export it in your shell.

    ~/.pi/agent/models.json
  3. Pick a model

    Run pi, type /model and choose a CodingPass model; press Ctrl+S to keep it as the default. On Pro, add claude-fable-5-2 to the models list. Get your request ID.

    pi/model
~/acme-cliExample sessionzsh
$ pi

> /model
  ● codingpass/claude-sonnet-5-5
    codingpass/kimi-k2.7-code

> Add a --json flag to the export command.

● Read src/commands/export.ts
● Edited src/commands/export.ts (+22 −4)
● Ran npm test · 31 passing
  --json prints one object per row; the table output is unchanged.
Sonnet 5.5$2.80 / $60.00resets in 11d
Tips

Get more out of every allowance.

One monthly allowance covers every model, with 5-hour and weekly caps. The right model for the task makes it go further.

Cycle models with Ctrl+P

List a few CodingPass models in models.json, then press Ctrl+P to cycle between them. Open-weight models like Kimi K2.7 Code cost less per request; on Go each of them can use up to $40 a month from the shared allowance.

Go · up to, per model/mo≈ req
Claude Sonnet 5.5$60≈2,050
Kimi K2.7 Code$40≈1,570
DeepSeek V4.1 Flash 1017$40≈13,600
GLM-5.3-Flash$40≈10,100

+ 4 more open-weight models, up to $40 each.

Branch with /tree instead of retrying

When an attempt goes wrong, run /tree and pick the message before it instead of correcting Pi in the same thread. The model only receives the active branch, so the dead end isn't sent again with every request. /compact shortens a long history further.

/tree      back to an earlier message, branch from there/fork      turn that branch into a new session/compact   summarize older history
FAQ

Questions about Pi.

Is this allowed? Could my account get banned?
You use only your CodingPass key. You never log in to, share or relay anyone's account, so your own Claude or ChatGPT account isn't involved. Your requests follow each vendor's usage policy.
Why openai-completions?
https://codingpass.ai/v1 serves every model on your plan over Chat Completions, Claude included, so one provider covers them all. See every model on CodingPass, or use Magpie, a local gateway, to put every agent on one provider.
Can I keep my other providers?
Yes. CodingPass is one more provider in models.json. Models you connected with /login stay in the /model picker next to it.
What happens when I hit the 5-hour cap?
Each 5-hour window allows 1/6 of the monthly allowance (on Go, $10 of Sonnet 5.5, about 342 requests). The cap counts all models together, so CodingPass then returns 429 with the reset time for every model. Wait for the reset, buy a reset card for the current window, or upgrade. How caps and 429s work.
Boarding

Run Pi on a fixed monthly bill.

Sonnet 5.5 and open-weight models from $10 a month. One config file, no surprises, cancel anytime.

  • Request ID on every response
  • Full refund if you've used 5% or less
  • No surprise charges
Choose GoFull plan details

$10/mo until you cancel.