Compare models on cost
compare_modelsCost of the same call on several models, per call and per month: tokens for text, embedding and realtime models, units (images, seconds, characters, queries or pages) for the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Images, seconds of audio or video, characters, queries or pages per call | |
| models | Yes | ||
| variant | No | Image quality and size (high/1024x1024) or video resolution (1080p) | |
| input_tokens | No | Uncached input tokens per call | |
| cached_tokens | No | Cache-read input tokens per call | |
| output_tokens | No | Output tokens per call, including reasoning | |
| calls_per_month | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||