Skip to main content
通过 OpenAI 兼容接口,在 Vercel AI SDK 里使用 PowerTokens 的模型。

安装

配置

在 API Key 页面 创建密钥。
  • 接口地址:https://api.powertokens.ai/v1
  • 鉴权:Authorization: Bearer <key>
  • 模型 ID:见 模型页,或调用 GET https://api.powertokens.ai/v1/models(需要 key)。