# AstraCode **An AI code editor that checks its own work.** It plans a change across your whole repository, writes it, runs your tests, and only then hands you a diff to approve. The first thing you see is a change that already passed. ## What it does - **Agent mode.** Describe the outcome. It reads the repository, plans, edits across as many files as the change needs, and runs your tests. - **Every model in one picker.** Anthropic, OpenAI and xAI, metered against one allowance whoever serves the request. Auto routes each step to the model measured best for it. - **The cost, while it works.** Every step is priced at the rate that actually applied — including long-context repricing, where some models charge the higher rate on the *entire* request past a token line. One agent run clears that line, and most meters miss it. - **Inline edit, chat, and codebase context**, in the sidebar. ## Pricing Free tier: 25 agent runs a month, no card. Paid plans add the model picker and bring-your-own-key. [Full pricing](https://astracode.io/pricing/) · [What a run actually costs](https://astracode.io/cost/) Usage past your plan's budget bills as overage, and there is a hard cap at five times the budget where requests are refused — because runaway spend is a bug, not a billing tier. We say that plainly rather than claiming there are no surprises. ## Signing in Sign in from the command palette: **AstraCode: Sign In**. It uses a loopback listener, so nothing has to be registered with your operating system. ## Also available as a standalone editor macOS and Linux builds at [astracode.io/download](https://astracode.io/download/). The editor and this extension share the same agent. ## Comparisons Written around billing rather than feature grids, and they concede where the other product wins: - [vs Cursor](https://astracode.io/vs/cursor/) - [vs GitHub Copilot](https://astracode.io/vs/github-copilot/) - [vs Windsurf](https://astracode.io/vs/windsurf/)