budget_cents to automatically select the highest-quality model that fits within your cost limit. This overrides the model parameter.
Request
Response
Parameters
| Parameter | Type | Description |
|---|---|---|
budget_cents | number | Maximum cost in cents for this request. Overrides model. |
include_routing | boolean | Include the routing decision in the response. |
Code examples
model: "auto" and budget_cents, the budget ceiling takes priority.