The AI APIs let you call multiple AI providers, such as OpenAI, Anthropic, and Runware, from site or app code. Wix handles provider authentication and billing. You choose a provider and model, send a prompt, and get a result, without holding your own provider credentials or setting up billing.
Developer Preview: The AI APIs are in developer preview and subject to change.
You can call the AI APIs 2 ways:
@wix/ai package, built on the Vercel AI SDK, so you work with a familiar interface and swap models with a one-line change.Each call draws on your Wix AI credits.
The AI APIs cover 3 kinds of model tasks:
Wix brokers access to multiple providers, each suited to different tasks:
You select a model by name when you make a call, and Wix adds support for new models from these providers over time. For the current provider list and the suggested and supported models, see About the AI APIs in the API Reference.
Because Wix handles provider authentication, you don't manage provider accounts or keys. Wix bills usage as AI credits instead of charging each provider separately. Who Wix bills depends on your development path, covered next.
Wix meters AI usage as AI credits. Who Wix bills depends on your development path:
INVOKE AI MODELS permission scope. See About App Permissions in Build Apps.@wix/ai SDK.Last updated: 2 August 2026