Model catalog
Lazu publishes the full set of models a given API key can access. Read this catalog at runtime instead of hardcoding model names — new models get added, old ones get deprecated, and which models a key can reach depends on the key's scope.
GET /api/models/catalog
curl https://api.lazu.ai/api/models/catalog \
-H "Authorization: Bearer $LAZU_API_KEY"Response (abridged):
{
"data": [
{
"model_name": "gpt-4o-mini",
"vendor_id": "openai",
"modality": {
"input": ["text", "image"],
"output": ["text"]
},
"supported_endpoint_types": ["chat", "responses"],
"supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
"default_endpoint_type": "chat",
"parameters": {
"tools": true,
"reasoning": false,
"vision": true
},
"lanes": [
{ "name": "direct", "input_per_mtok": 0.18, "output_per_mtok": 0.72 },
{ "name": "cheap", "input_per_mtok": 0.05, "output_per_mtok": 0.2 }
],
"official_input_price": 0.15,
"official_output_price": 0.6,
"context_length": 128000,
"max_output_tokens": 16384
},
"..."
]
}Picking a model
| You want | Filter on | Common endpoint |
|---|---|---|
| Text chat | modality.output includes text | /v1/chat/completions |
| Multimodal (vision) | modality.input includes image | /v1/chat/completions or /v1/responses |
| Reasoning (o-series) | parameters.reasoning === true | /v1/responses (recommended) |
| Embeddings | supported_endpoint_types includes embeddings | /v1/embeddings |
| Tool / function call | parameters.tools === true | /v1/chat/completions |
Use default_endpoint_type unless your client SDK specifically needs a
native provider endpoint (Anthropic's /v1/messages, Gemini's
/v1beta/models/…:generateContent, etc.).
Listing via /v1/models
If your SDK uses OpenAI-style models.list(), Lazu also serves a flatter
OpenAI-compatible response at /v1/models:
curl https://api.lazu.ai/v1/models \
-H "Authorization: Bearer $LAZU_API_KEY"See Models list for the exact schema.
Pricing detail
Each catalog entry has a lanes array — see Pricing & lanes
for what direct and cheap mean and how to choose between them.