Vercel AI SDK
Connect the Vercel AI SDK to Sovereign through an OpenAI-compatible provider instance.
Official docs:
Recommended Surface
Use the OpenAI-compatible surface.
Option 1: Use the OpenAI provider directly
Option 2: Use the OpenAI-compatible provider
Notes
- AI SDK docs explicitly support custom
baseURLfor OpenAI-style providers. - The OpenAI provider in AI SDK 5 uses the Responses API by default; Sovereign supports that route.