← The general playbook

Cut Oh My Pi's API Costs

omp ships 32 tools, and every enabled tool's definition rides along in context — the quiet fixed cost per request. Trim the tool surface to what you use, exploit its intent slots (smol for routine steps), and lean on hashline edits, which exist precisely to cut edit-token waste.

Where omp's money actually goes

·Big tool surface = big standing context: LSP, DAP, browser, and Python-cell definitions cost tokens even when unused.
·Its intent-based routing (default/smol/slow/plan) is a built-in cost lever most users never configure.
·Hashline edits are a token optimization by design — anchors instead of retyped file content.

The omp-specific tactics

01

Trim the enabled tool set

If you never use the browser or DAP tools, disabling them removes their definitions from every request. On a 32-tool surface this is a real per-call saving.

02

Configure the smol slot and actually route to it

omp's intent routing lets routine steps run on a cheap model automatically. Set smol to a value model and let default escalate only when needed.

03

Let hashline edits do their job

Hash-anchored edits mean the model references content instead of retyping it — fewer output tokens and fewer corrupted-edit retries. Prefer them over full-file rewrites in your workflow.

The provider-agnostic tactics (prompt caching, retry budgets, batch APIs) are in the general playbook.

Oh My Pi costs — common questions

Why are omp requests token-heavy even for small tasks?

The tool surface: every enabled tool's definition is part of the request context. Disabling unused tools and caching the stable preamble cuts the fixed overhead per call.

Do omp's intent slots really save money?

Yes, if configured: routing routine steps to a cheap model in the smol slot while keeping default/plan on stronger models is exactly the route-by-task-size tactic, built into the agent.

The structural version of all of this: run Oh My Pi on a flat monthly price with unlimited tokens, and the bill stops being a variable to manage. 2-minute omp setup → · Best models for omp