English
Get a list of available AI models.
curl --request GET \ --url https://geekai.dev/api/v1/models \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "gpt-4", "name": "GPT-4", "type": "chat", "status": "active", "created": 1689127080, "owned_by": "openai", "context_window": 8192, "pricing": { "input": 0.15, "output": 0.2 }, "capabilities": [ "function_call", "vision", "streaming" ], "limitations": { "max_tokens": 4096, "max_requests_per_min": 60 }, "platform": { "name": "openai", "alias": "OpenAI", "website": "https://openai.com" } } ], "total": 42, "page": 1, "page_size": 20 }
curl --location 'https://geekai.dev/api/v1/models' --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}'
token
successful response
model list
Show child attributes
total model count
42
current page number
1
page size
20