内测准备中账户与双协议模型接口已接通。私有内测中,广告奖励尚未开放。了解进度

从第一行代码开始

熟悉的请求格式,更轻松的接入方式。

预览文档
验证邮箱并登录,即可获得一次 1,000,000 Token 注册赠额。激励广告尚未开放。

领取账户额度

领取额度中查看余额与奖励规则。所有模型共用额度,输入和输出都计入消耗。

创建你的 API Key

前往 API Keys 为你的应用创建专用 Key。正式 Key 应只存放在服务端或可信客户端,不要提交到公开代码库。

发起第一次请求

选择协议并复制示例。OpenAI 地址包含 /v1,Anthropic 地址使用站点根地址;两者共用同一个 Key。

curl "https://token-faucet.top/v1/chat/completions" \
  -H "Authorization: Bearer $TOKEN_FAUCET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kimi-k2.6","messages":[{"role":"user","content":"Hello, world!"}]}'

在编程助手中使用

配置参考 · 客户端完整流程待验证

先确认账户有至少 116,000 可用 Tokens。预留余额足够才能开始请求,最终按实际用量结算。完成邮箱验证并登录后,一次性赠送 1,000,000 Tokens;广告奖励尚未开放。

OpenCode:一个提供商,全部 16 个模型

先运行 opencode --version 确认版本。把对应配置合并到项目的 opencode.json,保留已有提供商。在启动 OpenCode 的终端设置 TOKEN_FAUCET_API_KEY。v1 也可通过 /connect → Other 添加 token-faucet 并输入本站 Key。然后通过 /models 选择 Token Faucet 分组中的模型。

v1 使用 provider/npm/options;v2 使用 providers/package/settings。两套配置不能混用。配置中的 token-faucet 是提供商 ID,斜线后的部分才是模型 ID。

export TOKEN_FAUCET_API_KEY="YOUR_TOKEN_FAUCET_KEY"
opencode run --model token-faucet/kimi-k2.6 "Reply only OK"
OpenCode v1 · 查看全部模型配置
{
  "$schema": "https://opencode.ai/config.json",
  "model": "token-faucet/kimi-k2.6",
  "provider": {
    "token-faucet": {
      "name": "Token Faucet",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://token-faucet.top/v1",
        "apiKey": "{env:TOKEN_FAUCET_API_KEY}"
      },
      "models": {
        "kimi-k2.6": {
          "name": "Kimi K2.6",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "kimi-k2": {
          "name": "Kimi K2",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "DeepSeek-V4-Pro": {
          "name": "DeepSeek V4 Pro",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "DeepSeek-V4-Flash": {
          "name": "DeepSeek V4 Flash",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "glm-5.1": {
          "name": "GLM 5.1",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "glm-5": {
          "name": "GLM 5",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "glm-5v-turbo": {
          "name": "GLM 5V Turbo",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "qwen-3.6-plus": {
          "name": "Qwen 3.6 Plus",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "qwen-3.5": {
          "name": "Qwen 3.5",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "minimax-m2.7": {
          "name": "MiniMax M2.7",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "minimax-m2.5": {
          "name": "MiniMax M2.5",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "Doubao-Seed-2.0-Code": {
          "name": "Doubao Seed 2.0 Code",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "Doubao_1_6": {
          "name": "Doubao 1.6",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "Doubao-Seed-Code": {
          "name": "Doubao Seed Code",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "gemini-2.5-pro-latest": {
          "name": "Gemini 2.5 Pro",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "gemini_2.5_flash": {
          "name": "Gemini 2.5 Flash",
          "attachment": false,
          "reasoning": false,
          "temperature": false,
          "tool_call": true,
          "modalities": {
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        }
      }
    }
  }
}
OpenCode v2 · 查看全部模型配置
{
  "$schema": "https://opencode.ai/config.json",
  "model": "token-faucet/kimi-k2.6",
  "providers": {
    "token-faucet": {
      "name": "Token Faucet",
      "package": "@opencode/ai/providers/openai-compatible",
      "env": [
        "TOKEN_FAUCET_API_KEY"
      ],
      "settings": {
        "baseURL": "https://token-faucet.top/v1"
      },
      "models": {
        "kimi-k2.6": {
          "name": "Kimi K2.6",
          "family": "Kimi",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "kimi-k2": {
          "name": "Kimi K2",
          "family": "Kimi",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "DeepSeek-V4-Pro": {
          "name": "DeepSeek V4 Pro",
          "family": "DeepSeek",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "DeepSeek-V4-Flash": {
          "name": "DeepSeek V4 Flash",
          "family": "DeepSeek",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "glm-5.1": {
          "name": "GLM 5.1",
          "family": "GLM",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "glm-5": {
          "name": "GLM 5",
          "family": "GLM",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "glm-5v-turbo": {
          "name": "GLM 5V Turbo",
          "family": "GLM",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "qwen-3.6-plus": {
          "name": "Qwen 3.6 Plus",
          "family": "Qwen",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "qwen-3.5": {
          "name": "Qwen 3.5",
          "family": "Qwen",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "minimax-m2.7": {
          "name": "MiniMax M2.7",
          "family": "MiniMax",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "minimax-m2.5": {
          "name": "MiniMax M2.5",
          "family": "MiniMax",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "Doubao-Seed-2.0-Code": {
          "name": "Doubao Seed 2.0 Code",
          "family": "Doubao",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "Doubao_1_6": {
          "name": "Doubao 1.6",
          "family": "Doubao",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "Doubao-Seed-Code": {
          "name": "Doubao Seed Code",
          "family": "Doubao",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "gemini-2.5-pro-latest": {
          "name": "Gemini 2.5 Pro",
          "family": "Gemini",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        },
        "gemini_2.5_flash": {
          "name": "Gemini 2.5 Flash",
          "family": "Gemini",
          "capabilities": {
            "tools": true,
            "input": [
              "text"
            ],
            "output": [
              "text"
            ]
          },
          "limit": {
            "context": 100000,
            "output": 16000
          }
        }
      }
    }
  }
}

官方配置说明 (v1) · v2

Cline:OpenAI Compatible

在设置中选择 OpenAI Compatible,填入下面的 Base URL、本站 Key 和模型 ID。上下文填 100000,输出上限填 16000。图片支持、Computer Use、扩展思考和提示缓存保持关闭。若当前版本无法省略不支持的参数,请先使用基础 API 示例;该客户端尚未完成端到端认证。

Base URL: https://token-faucet.top/v1
API Key: YOUR_TOKEN_FAUCET_KEY
Model ID: kimi-k2.6
Context: 100000
Max output: 16000
Images: OFF
官方配置说明

Aider:自定义 OpenAI 入口

仅在启动 Aider 的终端设置下面的环境变量,模型名前加 openai/。未知模型的上下文与输出上限需要按本站限制配置。Aider 可能附带采样参数;遇到 400 请核对报错,不要反复重试。

export OPENAI_API_BASE="https://token-faucet.top/v1"
export OPENAI_API_KEY="YOUR_TOKEN_FAUCET_KEY"
aider --model openai/kimi-k2.6
官方配置说明

当前兼容边界

使用 Chat Completions,不要选 Responses。模型均按文本输入配置:模型原生图片能力不代表本站已接入。max_tokens 可省略或设 16000(Anthropic 必须设 16000)。temperature、top_p、stop、扩展思考等参数暂不支持。OpenAI/Anthropic SDK 的文本、流式和工具流程已验证;这里的 Agent 教程是配置参考,不代表每个客户端的所有功能均可用。

常见问题

看不到模型:检查配置版本、提供商 ID 和 models 列表。401:检查本站 Key;402:可用余额不足;400:参数或图片不支持;429:降低并发;503:服务维护或暂未开放。未知用量的断流可能保留预留余额,请先核对用量,避免盲目重试。

你可能想知道

Token 是什么?和加密货币有关系吗?

这里的 Token 是模型处理文本的计量单位,不是加密货币。积分与额度只用于服务内的个人使用,不能转让、交易或提现。

现在能观看广告和调用 API 吗?

验证邮箱并登录后可领取一次 1,000,000 Token 并调用模型。激励广告仍未开放。

支持多少上下文?

上游上下文上限为 100K,由上游校验。历史、系统提示和工具定义也占用上下文;超限会报错,不会自动截断。单次请求正文最多 2 MiB。

并发和奖励额度是多少?

每账户最多 20 个并发,全站内测暂限 40 个。每次预留 116,000 Tokens,结束后仅扣实际输入与输出,释放剩余额度;奖励规则待广告接入后公布。

兼容所有 OpenAI 参数吗?

支持模型列表、Chat Completions 和 Messages 的文本、流式与工具调用。采样、图片、扩展思考和强制工具选择暂不支持。输出上限固定为 16,000,Anthropic 的 max_tokens 必须设为 16000;不支持的参数会明确报错。