get_price
Get the exact cost for a single model call, including optional inputs like duration or text, to know your spend upfront. Free.
Instructions
Quote the exact cost of one call for a model (optionally with input that affects price, e.g. video duration or TTS character count). Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Optional model input that affects price (e.g. { duration: 8 } or { text: "..." }). | |
| model | Yes | Model id from list_models, e.g. "nano-banana-2" or "veo-3.1-fast". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| model | Yes | ||
| units | Yes | ||
| costUsd | Yes | ||
| costMicroUsd | Yes |