---
title: "Estimate cost for a generation"
method: POST
path: "/v2/generate/estimate-cost"
tags: ["Generate"]
---

# Estimate cost for a generation

`POST /v2/generate/estimate-cost`

Alias of POST /v2/generations/estimate.

## Request body

- EstimateCostDto
  - `model` string, required
  - `duration` number, required
  - `fps` number
  - `reasoningEnabled` union
    - boolean
    - string

## Response `200`

Estimated cost

- EstimateCostResponseDto
  - `estimatedFrameCount` number, required
  - `estimatedGenerationCost` number, required
  - `estimatedCredits` number, nullable, required

---

[API](https://skmtc.dev/sync/apis/sync-api-v2.md) · [All operations](https://skmtc.dev/sync/apis/sync-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sync/sync-api-v2/revisions/595901a0ee97/schema)
