Spend on leverage
Planning gets the reasoning budget because a good plan shapes every later token.
Open source · local first · budget native
LEA plans with capable models, implements with efficient or local models, and reviews with an independent provider—inside a budget you set before the run.
No API key. No model call. The calculator uses the repository's versioned price catalog.
$ lea benchmark
Interactive catalog estimate
Choose a fixed scenario and a single-model baseline. Both sides use identical stage-level token assumptions. The budget counts affordable runs of this fixed route; it does not reroute the models.
lea benchmark.Different optimization target
Planning gets the reasoning budget because a good plan shapes every later token.
Implementation can move to an efficient hosted model—or Ollama with zero hosted API token cost.
Review prefers another provider, reducing the chance that one model grades its own blind spots.
Queue a follow-up or interrupt the HTTP call, retry wait, local command, or trusted MCP tool.
Illustrated feature walkthrough
Preview the exact stage route as JSON, reproduce the benchmark without credentials, then decide whether the run is worth its cap.
The animation is a drawn illustration, not a captured live run. Its 55.7% figure refers to the separate hosted-model benchmark above, not the illustrated local-model route.
lea route --budget 10cny --json "Add OAuth"
lea benchmark --json
lea run --budget 1usd "Ship the change"
Read the fine print
This is a deterministic catalog-price estimate—not a claim that different models produce equal-quality work and not a prediction of your invoice.
Budget the run. Route the work. Keep the steering wheel.