GET /models/{canonicalId}/providers
Changed onList available providers and pricing for a model that supports provider selection
Request
- Base URLhttps://nano-gpt.com/api
- URLhttps://nano-gpt.com/api/models/{canonicalId}/providers
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
canonicalIdstring required
Canonical model ID
Response
Provider availability and pricing for the model
Example response
{
"canonicalId": "model-id",
"displayName": "Model Name",
"supportsProviderSelection": true,
"defaultPrice": {
"inputPer1kTokens": 0.0004,
"outputPer1kTokens": 0.00175
},
"providers": [
{
"provider": "provider-id",
"pricing": {
"inputPer1kTokens": 0.0004,
"outputPer1kTokens": 0.00175
},
"available": true,
"maxInputTokens": 262144,
"maxOutputTokens": 131072,
"quantization": "fp8",
"uptime": {
"uptimePct": 99.42,
"windowHours": 72
},
"verification": {
"tokenizer": {
"status": "passed",
"checks": 24,
"matches": 24,
"windowDays": 7
}
},
"distillationPolicy": {
"status": "allowed",
"label": "License permits distillation",
"basis": "permissive-open-weights",
"sourceUrl": "https://example.com/license-or-terms",
"note": "Short explanation of the policy signal."
}
}
]
}Changes
- info
endpoint added
- info