Skip to main content
Use PowerTokens models in the Vercel AI SDK through the OpenAI Compatible provider.

Install

Configure

Create a key on the API keys page.
  • Base URL: https://api.powertokens.ai/v1
  • Auth: Authorization: Bearer <key>
  • Model IDs: see the models page or GET https://api.powertokens.ai/v1/models (requires a key).