Quote a chat request across markets
carpe_quoteEstimate the input-token cost of a text request before running it, comparing TEE-only /v1 billing against best-price /router market picks with availability and TEE status, at no charge.
Instructions
Price a text request BEFORE running it, on both surfaces: what /v1 (Carpe alone, in its TEE) would bill, and what /router (best price) would pick among the markets — with each market's price, availability and whether it is a TEE. Give messages (or a prompt) so the input size is estimated, or input_tokens directly. Costs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id (default deepseek-v4-flash). | |
| prompt | No | Alternative to messages for a single user prompt. | |
| privacy | No | Router privacy filter: true = TEE markets only; "private" = no-retention markets for private models. | |
| messages | No | OpenAI-style messages, used only to estimate input tokens. | |
| max_tokens | No | Expected output tokens (default 1000). | |
| input_tokens | No | Override the input-token estimate. |