Quote a request
quoteThe hold the chat tool places before running a request, in USDF and USD (output capped at 4096 tokens). It is an estimate, not a ceiling: a completed request is billed the provider's reported usage, normally less. Pass prompt or messages. No key needed; a request for attested hardware (a :private model id or provider.private), and any request from a Private-tier key, is quoted on its attested routes, at the model's price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id from list_models | |
| prompt | No | Prompt text, sent as one user message | |
| messages | No | Chat messages in the OpenAI format: objects with a role (system, user, assistant or tool) and content (text, or an array of content parts) | |
| provider | No | Routing asks as on the REST API, for example {"private": true} for attested hardware this gateway verified, at the model's price | |
| max_tokens | No | Output token budget, a positive integer; defaults to the model's default_max_output, capped at max_output |