Source: https://01router.com/docs/quote Base URL: https://01router.com/api/v1 # Quote Same body as creating a generation. Returns every available provider sorted by price, plus the ones that cannot serve the request and why. `POST /api/v1/quote` Public · No API key ## Input parameters | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | model | string | yes | Model slug from the catalog. Project keys may use a project-specific model slug. | | | input | object | yes | Model-specific input object. See the selected model reference for required fields, defaults and limits. | | | provider | string | no | Optional provider slug. Omit for automatic routing; project settings may pin the provider. | | | project | string | no | Optional project ID. Use its published model catalog and routing configuration. | | ## Response fields | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | model | string | — | Model slug from the catalog. Project keys may use a project-specific model slug. | | | input | object | — | Model-specific input object. See the selected model reference for required fields, defaults and limits. | | | providers | array | — | Available providers sorted by price, with unit, quantity, price_usd, original_price_usd and credits. | | | unavailable | array | — | Rejected providers and the reason each cannot serve the request. | | ## cURL ```bash curl 'https://01router.com/api/v1/quote' \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2.5", "input": { "prompt": "A red fox running through fresh snow, cinematic" } }' ``` ## 200 · application/json ```json { "model": "seedance-2.5", "type": "video", "input": { "prompt": "A red fox running through fresh snow, cinematic" }, "providers": [ { "provider": "01router", "provider_name": "01Router", "unit": "second", "quantity": 5, "price_usd": 1, "original_price_usd": null, "credits": 100 } ], "unavailable": [] } ```