Skip to content
masterclass Buddy

AI Tools · Tool

Phoenix

AI Gateway lets AI SDK applications use models from many providers through one interface. Select a model with a provider/model string and keep the same generation code when changing models.

Last updated

Syntax

generateText({ model: 'provider/model', prompt: '...' })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • AI SDK Core
  • Language model specification
  • generateText
  • AI SDK Providers
  • OpenAI Provider
  • Anthropic Provider
  • Google Provider

Source: AI Gateway | AI SDK. Checked 2026-11-03.