POST /v2/generations and agent sessions answer 403 plan_required. The API never pays: it gives you a link, and a person pays or confirms on it.
List the plans
pro family, or, for a workspace on a family Argil no longer sells on its own, that family. Enterprise plans are sold by Argil’s team. amount is in cents, and null when the price is not known: the page shows it. current marks the plan and interval the workspace is on: there is nothing to buy there.
Get the link
403 admin_required. A price that is not in GET /v2/plans, or the plan the workspace is already on, is 400 parameter_invalid on /price.
Over MCP
Thelist_plans and create_checkout tools do the same. When a generation is refused for the plan, the assistant shows the plans, lets the user choose, and gives them the link: it never asks for card details.
In clients that show Argil’s cards (claude.ai, for example), the plans show as Argil’s plans page does: the user picks a billing cycle and a number of credits, and the payment page opens. Nothing is charged in the card.