---
title: "Estimate Analysis Cost"
method: POST
path: "/api/v1/intelligence/estimate-cost"
tags: ["intelligence-ddd", "Intelligence"]
---

# Estimate Analysis Cost

`POST /api/v1/intelligence/estimate-cost`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/intelligence/estimate-cost`
- Auth: none declared

Estimate the cost of intelligence analysis before running it.

TECH-635: Provides accurate cost estimates using actual LLM model pricing.
Helps users understand costs before committing to expensive operations.

Returns:
    Cost estimate with breakdown, strategy comparison, and recommendations

## Headers

- `Authorization` string

## Request body

- CostEstimationRequest: Request to estimate intelligence analysis cost.
  - `asset_id` string, uuid, required: Asset public ID (UUID) to estimate cost for
  - `strategy` string: Analysis strategy (quick, targeted, bottom_up, comprehensive)
  - `provider` string: LLM provider (anthropic, openai, google)
  - `model_name` string: Model to use for estimation

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
