models
Get a model
One model by its cross-host model id (may contain a slash).
get/v1/models/{modelId}
Request
- Base URL: https://modelglass-api.vercel.app
- URL: https://modelglass-api.vercel.app/v1/models/{modelId}
- Auth: HTTP bearer
Path parameters
modelIdstring required
Cross-host model id, e.g. 'bfl/flux-1-schnell'.
Response
The model.
Example response
{
"data": {
"model_id": "bfl/flux-1-schnell",
"offerings": [
{
"model": {
"id": "bfl/flux-1-schnell"
},
"search_context_pricing": {
"low": {
"currency": "USD",
"unit": "per_1m_tokens_input"
},
"medium": {
"currency": "USD",
"unit": "per_1m_tokens_input"
},
"high": {
"currency": "USD",
"unit": "per_1m_tokens_input"
}
},
"tiers": [
{
"pricing": [
{
"currency": "USD",
"unit": "per_1m_tokens_input"
}
]
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.