Skip to Content

Models API

OfoxAI 플랫폼에서 사용 가능한 모든 모델을 조회합니다. 반환 데이터는 OpenRouter 표준을 따르며, 모델의 전체 메타데이터(아키텍처, 가격, 지원 파라미터 등)를 포함합니다.

Models API는 공개 인터페이스로 API Key 없이 호출할 수 있습니다. 응답의 각 필드에 대한 자세한 설명은 모델 카탈로그 — Models API 표준을 참조하세요.

모든 모델 목록

GET https://api.ofox.ai/v1/models

요청 예시

Terminal
curl https://api.ofox.ai/v1/models

응답 형식

{ "object": "list", "data": [ { "id": "anthropic/claude-sonnet-4.5", "object": "model", "created": 1759104000, "owned_by": "bedrock", "canonical_slug": "claude-sonnet-4-5-20250929", "name": "Claude Sonnet 4.5", "description": "Anthropic's balanced model with state-of-the-art performance...", "context_length": 200000, "architecture": { "modality": "text+image+file->text", "input_modalities": ["text", "image", "file"], "output_modalities": ["text"], "tokenizer": "claude", "instruct_type": null }, "pricing": { "prompt": "0.000003", "completion": "0.000015", "input_cache_read": "0.0000003", "input_cache_write_5m": "0.00000375", "input_cache_write_1h": "0.000006" }, "top_provider": { "context_length": 200000, "max_completion_tokens": 16384, "is_moderated": false }, "per_request_limits": null, "supported_parameters": [ "temperature", "top_p", "max_tokens", "stop", "tools", "tool_choice", "response_format", "reasoning" ], "default_parameters": null, "expiration_date": null } ] }

응답 필드 설명

필드타입설명
idstring모델 식별자, 예: "anthropic/claude-sonnet-4.5"
canonical_slugstring영구 식별자, 변경되지 않음
namestring모델 표시 이름
creatednumber추가 시간 (Unix 타임스탬프)
descriptionstring모델 기능 설명
context_lengthnumber최대 컨텍스트 윈도우 (토큰)
architectureobject입력/출력 모달리티, 토크나이저 정보
pricingobject가격 (달러/토큰)
top_providerobject공급자 설정 (컨텍스트 제한, 최대 출력 등)
supported_parametersstring[]지원하는 API 파라미터

공급자별 모델 필터링

GET https://api.ofox.ai/v1/models/{provider}

지정한 공급자의 모델 목록만 반환합니다.

경로 파라미터

파라미터타입설명
providerstring공급자 식별자, 예: anthropic, openai, google, bailian, volcengine

요청 예시

Terminal
# 모든 Anthropic 모델 조회 curl https://api.ofox.ai/v1/models/anthropic # 모든 OpenAI 모델 조회 curl https://api.ofox.ai/v1/models/openai

응답 형식

반환 형식은 전체 모델 목록과 동일하며, data 배열에 지정한 공급자의 모델만 포함됩니다.

모델 상세 정보

GET https://api.ofox.ai/v1/models/{provider}/{model_id}

경로 파라미터

파라미터타입설명
providerstring공급자 식별자, 예: anthropic
model_idstring모델 이름, 예: claude-sonnet-4.5

요청 예시

Terminal
curl https://api.ofox.ai/v1/models/anthropic/claude-sonnet-4.5

응답 형식

단일 Model 객체를 반환하며, 구조는 목록 인터페이스의 객체와 동일합니다.

Last updated on