Skip to main content

Built-in Providers

Vercel AI adapters add Azure, Bedrock, Cohere, DeepSeek, Fireworks, Google, Mistral, Perplexity, Vertex, xAI, and other provider identifiers.

Model Configuration

cost is the configured cost per 1,000 tokens used for cascade ordering. Provider-reported usage and built-in pricing are used when the provider supports detailed cost calculation.

Local Endpoints

Registry

The Provider interface contains generate(), optional stream(), calculateCost(), and isAvailable() methods. Register a custom provider class when the built-in providers do not cover your endpoint. See Providers and Presets for configuration patterns.