Models

Share
GET/api/v1/models

List customer-facing models available through KiteRouter. The response is OpenAI-compatible with extra KiteRouter metadata for pricing, capabilities, provider, and status.

Example Request

bash
1curl https://kiterouter.com/api/v1/models \
2  -H "Authorization: Bearer kr-your-api-key"

Response

json
1{
2  "object": "list",
3  "data": [
4    {
5      "id": "gpt-4o-mini",
6      "object": "model",
7      "created": 1708100000,
8      "display_name": "GPT-4o Mini",
9      "owned_by": "openai",
10      "provider": {
11        "slug": "openai",
12        "name": "OpenAI"
13      },
14      "context_length": 128000,
15      "pricing": {
16        "prompt": "0.150000",
17        "completion": "0.600000",
18        "unit": "per_1m_tokens"
19      },
20      "capabilities": {
21        "streaming": true,
22        "vision": true,
23        "functionCalling": true,
24        "json": true
25      },
26      "status": "active",
27      "note": null
28    }
29  ]
30}

Info: id is the value clients should pass as model in chat completion requests.

Ready to start building?

Get your API key and make your first request in under a minute.