Skip to main content

回應

string
一律為 list
array
模型物件的陣列。每個模型一律包含:
  • id (string):模型識別碼
  • object (string):model
  • created (integer):建立時間戳
  • owned_by (string):模型提供者
  • tokenlab.aliases (array):同一模型的公開別名
  • tokenlab.pricing (object):公開基礎價格摘要
  • tokenlab.capabilities (array):公開能力標籤
  • tokenlab.max_input_tokens (number 或 null):可用時的輸入上下文上限
  • tokenlab.max_output_tokens (number 或 null):可用時的輸出上限
  • tokenlab.category (string):公開模型分類
  • tokenlab.pricing_unit (string):公開定價單位
  • tokenlab.has_complex_pricing (boolean):價格是否有模型專屬維度
  • tokenlab.lifecycle(object):生命週期狀態、發布日期/棄用日期、替代模型和 latest 標籤來源
  • tokenlab.commercial(object):使用者收費策略、免費原因和可選免費截止時間
  • tokenlab.badges(array):由生命週期和商業策略派生的展示標籤
條件式列表中繼資料:
  • tokenlab.providers (array):可用時的公開提供者
  • tokenlab.cache_pricing (object 或 null):可用時的 prompt cache 價格
  • tokenlab.pricing_summary (object 或 null):僅在複雜價格模型上回傳
  • tokenlab.request_format_summary (object 或 null):輕量級非聊天發現摘要,包含 public_operationsrequest_endpointrequest_endpoint_by_operation
  • tokenlab.agent_preferences (object):僅在存在 recommended_for 時回傳
tokenlab.capability_flagstokenlab.supported_operationstokenlab.pricing_provenancetokenlab.request_format_details 等僅詳情可見的欄位,只會由 GET /v1/models/{model} 回傳。
GET /v1/models 以發現為主。像 capability_flagspricing_provenance 與完整的 request_format_details 這類僅詳情可見的中繼資料都在 GET /v1/models/{model} 中。

查詢參數

string
選填的公開分類篩選。支援 chatimagevideoaudiottssttmusic3dembeddingreranktranslation
選填的非聊天推薦場景。支援 imagevideomusic3dttssttembeddingreranktranslation
string
選填的供應商篩選,例如 openaianthropicgoogledeepseek
string
選填的模型標籤篩選,例如 chatimagevideoembeddingtranslation
recommended_for 存在時,/v1/models 會依據最近快取的 24 小時成功率快照對非聊天模型排序。status = "insufficient_samples" 的模型仍會顯示,但會排在已評分的模型之後。

依提供者篩選

模型類別

模型刪除

DELETE /v1/models/{model} 不受支援。TokenLab 模型是共享公開目錄,不是使用者擁有的微調模型資源。