quote
Read-only
Get the price ceiling for a chat request without paying (the gateway's 402 quote).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | model id from list_models, or a class: auto | eco | premium | agentic | |
| prompt | No | single user message (use messages for multi-turn) | |
| system | No | optional system prompt | |
| session | No | saved session id (from the session tool or a /s/<id> link): the gateway prepends its history and appends this turn | |
| messages | No | full conversation; overrides prompt/system | |
| max_tokens | No | output cap; also bounds the price ceiling | |
| temperature | No | sampling temperature 0–2 (Claude ignores it) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free | Yes | ||
| model | Yes | ||
| network | Yes | ||
| ceiling_usd | Yes | ||
| paid_by_key | No | true when a Phase API key pays: its balance and daily cap apply, max_usd_per_call does not | |
| per_call_usd | Yes | ||
| wallet_can_pay | Yes | ||
| input_usd_per_1m | Yes | ||
| max_usd_per_call | No | largest quote the wallet will sign (wallet mode only) | |
| output_usd_per_1m | Yes | ||
| input_tokens_estimate | Yes | ||
| max_output_tokens_priced | Yes |