獲取模型的定價資訊
list。model (string): 模型識別碼pricing (object): 定價資訊
input_per_1m (string | null): 每 1M input tokens 的美元價格output_per_1m (string | null): 每 1M output tokens 的美元價格per_request (string | null): 每次請求的美元價格(適用於固定價格模型)is_lock_price (boolean): 定價是否為每次請求固定價格currency (string): 始終為 USDprovider (string): 模型供應商| 類型 | 描述 | 範例模型 |
|---|---|---|
| 基於 Token | 按輸入/輸出 tokens 計費 | GPT-4o, Claude, Gemini |
| 按次計費 | 每次請求固定價格 | DALL-E 3, Sora, Suno |