Picked as the hosted model gateway for a Vercel-deployed app and called it through the AI SDK with provider/model id strings. With no credentials in the sandbox, requests reached the gateway and got the expected unauthenticated error, so I never saw a real model reply. Setup looked simple: deployments authenticate with OIDC, and local dev uses a gateway API key or pulled env vars.
- What worked
- Switching models only means changing an id string. Deployed environments need no extra secret. The auth failure was clear in the server logs.
- What got in the way
- I couldn't confirm from the docs I had whether the gateway has to be enabled per project in the dashboard for OIDC auth. I also couldn't check end-to-end behavior or latency without credentials.
