模型
取得單一模型
GET /v1/models 列出「claude-sonnet-4.6」等 id,以及「anthropic/claude-sonnet-4.6」等 canonical alias。請求接受兩種格式;請使用清單中的 id 或 alias。 可使用清單中的 id、canonical alias、既有連字號 slug,或 URL 編碼的 canonical 格式查詢。有效模型不會因識別碼格式而回傳已退役。
GET
/v1/models/:slug路徑參數
slug必填string
可使用清單中的 id、canonical alias、既有連字號 slug,或 URL 編碼的 canonical 格式查詢。有效模型不會因識別碼格式而回傳已退役。
canonical model id with "/" replaced by "-"
Example:
"openai-gpt-4o"回應範例