---
title: "Estimate request cost"
method: POST
path: "/estimate"
---

# Estimate request cost

`POST /estimate`

## Request

- Base URL: `https://www.ninjachat.ai/api/v1`
- URL: `https://www.ninjachat.ai/api/v1/estimate`
- Auth: none required

Public pre-flight estimate; does not deduct credits.

## Request body

- object

## Response `200`

Estimated typical and maximum cost.

- object

## Other responses

- `400`: Invalid or unsupported request parameter.
- `429`: Rate limit exceeded.

---

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