Estimate cost
estimate_costCalculates how many credits a generate_content request would cost, per format and in total, and whether the balance and what is left of today's daily credit limit cover it. Use it to answer what a format or a request costs. Free; nothing is charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | Yes | The formats to write, each listed once. | |
| source_url | No | Set when the drafts would be written from a link (adds the link fee). |