Anthropic Models

GET /anthropic/v1/models — 获取 UloveGPT 支持的 Claude 模型列表。

请求

cURLBash
curl https://www.ulovegpt.com/anthropic/v1/models \
  -H "x-api-key: <你的 API_KEY>" \
  -H "anthropic-version: 2023-06-01"

响应

响应示例Json
{
  "data": [
    {
      "id": "anthropic/claude-sonnet-4.6",
      "type": "model"
    },
    {
      "id": "anthropic/claude-opus-4.6",
      "type": "model"
    },
    {
      "id": "anthropic/claude-sonnet-4-20250514",
      "type": "model"
    }
  ],
  "has_more": false,
  "first_id": "anthropic/claude-sonnet-4.6",
  "last_id": "anthropic/claude-sonnet-4-20250514"
}

可用模型

模型定位上下文窗口
claude-opus-4.6最高质量,复杂推理200K tokens
claude-sonnet-4.6性价比最佳,编程/分析200K tokens
claude-sonnet-4-20250514上一代 Sonnet 版本200K tokens