---
title: "Quote a batch"
description: "Price a whole batch of generations at once. No credits are charged and nothing runs yet. Sending the same batch again returns the same quote; changing or reordering items creates a new one."
url: https://docs.roasos.com/api-reference/generations/quoteGenerationBatch
---

# Quote a batch

Price a whole batch of generations at once. No credits are charged and nothing runs yet. Sending the same batch again returns the same quote; changing or reordering items creates a new one.

## `POST /v1/generation-batches/quotes`

Endpoint: `POST https://api.roasos.com/v1/generation-batches/quotes`

Quote a batch

Price a whole batch of generations at once. No credits are charged and nothing runs yet. Sending the same batch again returns the same quote; changing or reordering items creates a new one.

### Parameters

- `undefined`
- `undefined`
- `undefined`

### Request body

Content type: `application/json`

### Responses

- `200`: Side-effect-free all-items-valid batch quote
- `400`: The batch or one indexed item is invalid; no quote is issued
- `403`: The API key is not authorized for one or more requested models
- `409`: The parent idempotency key was reused for a different ordered batch
- `429`: Write rate limit exceeded
- `503`: Generation preparation, media evidence, pricing, or quote authority is unavailable

Read the full reference at https://docs.roasos.com/api-reference/generations/quoteGenerationBatch.
