Quote
Same body as creating a generation. Returns every available provider sorted by price, plus the ones that cannot serve the request and why.
/api/v1/quotePublic · No API keyRequest
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"
}
}'Input parameters
JSON bodymodelstringRequiredModel slug from the catalog. Project keys may use a project-specific model slug.
inputobjectRequiredModel-specific input object. See the selected model reference for required fields, defaults and limits.
providerstringOptionalOptional provider slug. Omit for automatic routing; project settings may pin the provider.
projectstringOptionalOptional project ID. Use its published model catalog and routing configuration.
Response example
{
"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": []
}Responses are illustrative. IDs, usage, prices and results depend on the actual request.
Response fields
modelstringModel slug from the catalog. Project keys may use a project-specific model slug.
inputobjectModel-specific input object. See the selected model reference for required fields, defaults and limits.
providersarrayAvailable providers sorted by price, with unit, quantity, price_usd, original_price_usd and credits.
unavailablearrayRejected providers and the reason each cannot serve the request.
Use with AI
Give your coding assistant the documentation index or the full API reference, including live model parameters.