Skip to main content
이제 REST API의 버전이 지정되었습니다. 자세한 내용은 "API 버전 관리 정보"를 참조하세요.

모델 카탈로그에 대한 REST API 엔드포인트

REST API를 사용하면 ID, 지원되는 입출력 형식, 속도 제한 등의 세부 정보를 포함하여 사용 가능한 모델 목록을 가져올 수 있습니다.

GitHub Models 카탈로그 정보

REST API를 사용하여 GitHub Models 카탈로그에서 사용 가능한 모델을 탐색할 수 있습니다.

List all models

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

"List all models"에 대한 HTTP 응답 상태 코드

상태 코드설명
200

OK

"List all models"에 대한 코드 샘플

요청 예제

get/catalog/models
curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://models.github.ai/catalog/models

응답

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" ] } ]