Skip to main content

Overview

VoltAgent accepts AI SDK language models directly. Configure an OpenAI-compatible AI SDK provider with TokenLab’s /v1 base URL and pass the selected model into your agent.
Type: TypeScript agent frameworkPrimary Path: OpenAI-compatible Chat Completions through AI SDKSupport Confidence: Supported OpenAI-compatible path

Environment

Direct AI SDK Provider

Model Router Path

If your VoltAgent registry snapshot includes a TokenLab provider entry from models.dev, configure:
Then use the registry model string, for example tokenlab/claude-sonnet-5.

Endpoint Notes

The direct AI SDK path is the most explicit setup. Use TokenLab native Responses, Anthropic Messages, or Gemini endpoints only when your selected AI SDK provider/client is configured for that protocol.