VOOZH about

URL: https://docs.github.com/en/rest/models/catalog

⇱ REST API endpoints for models catalog - GitHub Docs


Skip to main content
The REST API is now versioned. For more information, see "About API versioning."

REST API endpoints for models catalog

Use the REST API to get a list of models available for use, including details like ID, supported input/output modalities, and rate limits.

About GitHub Models catalog

You can use the REST API to explore available models in the GitHub Models catalog.

List all models

Get a list of models available for use, including details like supported input/output modalities, publisher, and rate limits.

HTTP response status codes for "List all models"

Status codeDescription
200

OK

Code samples for "List all models"

Request example

get/catalog/models
Copy to clipboard curl request example
curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2026-03-10" \ https://models.github.ai/catalog/models

Response

Status: 200
[ { "id": "openai/gpt-4.1", "name": "OpenAI GPT-4.1", "publisher": "OpenAI", "registry": "azure-openai", "summary": "gpt-4.1 outperforms gpt-4o across the board, with major gains in coding, instruction following, and long-context understanding", "html_url": "https://github.com/marketplace/models/azure-openai/gpt-4-1", "version": "2025-04-14", "capabilities": [ "streaming", "tool-calling" ], "limits": { "max_input_tokens": 1048576, "max_output_tokens": 32768 }, "rate_limit_tier": "high", "supported_input_modalities": [ "text", "image", "audio" ], "supported_output_modalities": [ "text" ], "tags": [ "multipurpose", "multilingual", "multimodal" ] } ]