月之暗面 Moonshot(Kimi 系列)

目标

  • 完成月之暗面 Moonshot 服务开通
  • 获取调用大模型服务的 API Key
项目 信息
官网 https://platform.moonshot.cn/
文档 https://platform.moonshot.cn/docs/overview
兼容格式 OpenAI 兼容
Base URL https://api.moonshot.cn/v1
代表模型 kimi-k2.5、kimi-k2、kimi-k2-thinking
计费方式 按量付费,缓存命中可享优惠价

操作步骤

1. 注册账号

📸 Kimi 开放平台首页

Moonshot-首页

2. 获取 API Key

📸 API Key 管理页面,标注「新建 API Key」按钮

Moonshot-创建Key

📸 API Key 创建成功(注意遮挡敏感部分)

Moonshot-复制Key

3. 充值(按需)

📸 充值页面

Moonshot-充值

4. 验证调用

curl https://api.moonshot.cn/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kimi-k2.5",
    "messages": [
      {"role": "user", "content": "你好"}
    ]
  }'

results matching ""

    No results matching ""