AceDataCloud 플랫폼 모델 목록 조회

플랫폼에서 공개하는 대화 모델 카탈로그를 반환하며, 응답은 OpenAI 스타일의 { "object": "list", "data": [...] } 구조를 사용합니다. 이 카탈로그는 모델 선택 및 기능 탐색에 사용되며, 현재 계정에서 해당 서비스를 이미 신청했음을 의미하지는 않습니다. 이미지, 오디오, 비디오 등의 전체 유형별 카탈로그는 GET /api/v1/models/catalog/를 사용합니다.

인터페이스 개요

항목 내용
메서드 GET
URL https://platform.acedata.cloud/api/v1/models/
인증 공개, 계정 토큰 불필요
페이지네이션 페이지네이션 없음, 모든 일치 항목은 data에 포함

쿼리 매개변수

매개변수 유형 필수 여부 설명
owned_by string 아니요 카탈로그에 있는 모델 제공업체 식별자로 정확하게 필터링
type string 아니요 모델 유형으로 정확하게 필터링, 예: chat
capability string 아니요 capabilities에 해당 기능이 포함된 모델만 반환, 예: vision
with_pricing boolean 아니요 1, true 또는 yes일 경우 공개 가격 정보 추가

service_id, tag, limit, offset 및 ordering은 현재 지원되지 않습니다. 해당 매개변수를 전달해도 이에 따른 필터링이나 페이지네이션 효과는 발생하지 않습니다.

요청 예시

# 모든 공개 모델
curl 'https://platform.acedata.cloud/api/v1/models/' \
  -H 'Accept: application/json'

# 비전을 지원하는 chat 모델 및 가격 정보 포함
curl --get 'https://platform.acedata.cloud/api/v1/models/' \
  --data-urlencode 'type=chat' \
  --data-urlencode 'capability=vision' \
  --data-urlencode 'with_pricing=true' \
  -H 'Accept: application/json'
import requests

response = requests.get(
    "https://platform.acedata.cloud/api/v1/models/",
    params={"type": "chat", "capability": "vision", "with_pricing": "true"},
    timeout=10,
)
response.raise_for_status()
payload = response.json()
for model in payload["data"]:
    print(model["id"], model["capabilities"], model.get("pricing"))

실제 응답 구조

{
  "object": "list",
  "data": [
    {
      "id": "example-model",
      "label": "Example Model",
      "owned_by": "example",
      "service_prefix": "acedatacloud-example",
      "group_label": "Example",
      "type": "chat",
      "capabilities": ["vision"],
      "object": "model",
      "endpoints": [
        {
          "api_id": "example-api-id",
          "path": "/v1/chat/completions",
          "protocol": "chat_completions",
          "base_url": "https://api.acedata.cloud/v1",
          "auth": "bearer",
          "unit": "1M tokens",
          "pricing": {
            "kind": "tokens",
            "input_credits": 10,
            "output_credits": 20,
            "source": {"kind": "api", "id": "example-api-id"}
          }
        }
      ],
      "pricing": {
        "currency": "USD",
        "kind": "tokens",
        "unit": "1M_tokens",
        "input_usd": 1,
        "output_usd": 2,
        "basis": "lowest_public_package_rate",
        "source": {"kind": "service", "id": "example-service-id"},
        "credit_usd_rate": 0.1
      },
      "rates": [{"id": "example-package", "amount": 100, "price": 10, "rate": 0.1}]
    }
  ],
  "credit_usd_rate": 0.1
}

예시에 포함된 모델, 패키지 및 가격은 구조를 설명하기 위한 것입니다. 최상위 모델의 pricing, rates 및 응답의 credit_usd_rate는 with_pricing=true일 때만 표시됩니다. 모델 목록은 게시된 API 바인딩 및 요청 모델 열거형을 기반으로 하며, 클라이언트는 새로 추가되는 필드를 무시해야 합니다.

endpoints는 두 종류의 카탈로그에서 항상 반환됩니다. 클라이언트는 각 모델의 protocol에 따라 chat_completions, responses 또는 messages 인터페이스를 선택해야 하며, type=chat이라는 이유만으로 Chat Completions를 지원한다고 가정해서는 안 됩니다. base_url은 해당 SDK의 기본 주소입니다. Messages는 사이트 루트 주소를 사용하고, 나머지 두 프로토콜은 /v1을 사용합니다. 이 모든 인터페이스는 Authorization: Bearer <token>을 사용합니다. Anthropic SDK를 사용할 때는 x-api-key만 전송하는 것이 아니라 auth_token을 설정해야 합니다.

각 endpoint의 pricing은 해당 API의 과금 규칙을 기반으로 하며, 금액 단위는 Credits입니다. pricing=null은 가격을 표시할 수 없음을 의미하며, 무료라는 뜻은 아닙니다. 선택한 rates[].rate를 곱하면 달러로 환산할 수 있습니다. 요청 단위로 과금되는 모델은 kind=unit을 유지하며, 토큰 단가로 변환할 수 없습니다. 토큰 가격은 일반 컨텍스트를 기준으로 투영한 값이며, 캐시 및 긴 컨텍스트 등의 조건은 여전히 API 규칙을 따릅니다.

모델 최상위의 pricing은 카탈로그 표시 가격으로, 최저 공개 패키지 환율을 기준으로 환산됩니다. official_*가 표시되는 경우 이는 참고 가격이며 AceDataCloud의 판매 가격이 아닙니다. 명시되지 않은 컨텍스트 한도나 기능은 알 수 없는 상태로 유지해야 하며, 이름이 같은 제조업체 모델을 근거로 추론해서는 안 됩니다.

가격 필드는 카탈로그 표시 데이터입니다. 실제 비즈니스 호출 시에는 해당 API/Service의 과금 규칙과 최종 사용량 기록을 기준으로 합니다.

관련 인터페이스