v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2177185.9 KB

Get Model

get/v1/models/{model_id}

Path parameters

model_idstring required

Query parameters

format'default' | 'openrouter' | 'huggingface'

Output format for public models endpoint.

Output format: 'default' (OpenAI-compatible), 'openrouter', or 'huggingface'

Headers

X-Amz-Cf-Idstring nullable
CF-RAYstring nullable

Response

Successful Response

OR
OR
OR

Example response

{
  "pricing": {
    "completion": "0.0000001",
    "prompt": "0.0000001"
  }
}