Estimate a cost and a time
estimatePreview a prompt's cost and response time before sending, including the model Auto would choose, why it fits, and a cost-effective or quick option at equal quality. No model call is made.
Instructions
Estimate what a prompt would cost and how long it would take before sending it: the model Auto would pick, why, and at the same quality the cheapest and the fastest choice. Nothing is sent to a model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | auto (the default) or a model id. | |
| speed | No | For auto: "cheapest", "fastest", or a number of seconds to answer within, like "30". Default: the user's choice in Leanfare. | |
| prompt | Yes | The prompt to price. |