---
title: "Get the cost estimate for a stored plan"
method: GET
path: "/api/v1/plans/{id}/cost"
tags: ["Cost Management"]
---

# Get the cost estimate for a stored plan

`GET /api/v1/plans/{id}/cost`

## Request

- Base URL: `https://orchestrator.getaxonflow.com`
- URL: `https://orchestrator.getaxonflow.com/api/v1/plans/{id}/cost`
- Auth: none declared. Required headers: `X-Org-ID`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/docs/api/v1/plans/:id/cost/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `X-Org-ID` string, required

## Response `200`

Cost estimate for the plan, with `plan_id` populated

- CostEstimateResponse
  - `plan_id` string: Present only on GET /api/v1/plans/{id}/cost. The estimate endpoint has no plan to name and omits it.
  - `estimated_cost_usd` number, double, required
  - `currency` string, required
  - `breakdown` StepCostEstimate[]: Per-step breakdown. Populated for Evaluation tier and above; omitted on Community, where only the total is returned.
    - `step_name` string
    - `provider` string
    - `model` string
    - `estimated_tokens_in` integer
    - `estimated_tokens_out` integer
    - `estimated_cost_usd` number, double

## Other responses

- `400`: Invalid request
- `404`: Resource not found
- `429`: Daily cost-estimate quota exceeded
- `500`: Internal server error
- `503`: Planning is not enabled on this deployment

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/revisions/f408ef3ec9dd?raw)
