Use any SDK

Point an OpenAI, Anthropic, Google or Vercel AI SDK, or Veryfront Code, at the AI Gateway.

Before you start

You need an API key with Write ticked, in your shell: export VERYFRONT_API_KEY=<your key>.

Point your SDK at the gateway

Pick a model

Every call names a model as vendor/model. List what your key can call:

Shell
curl https://api.veryfront.com/ai/models -H "Authorization: Bearer $VERYFRONT_API_KEY"

Each entry in deployments names its model in model.id and its route in routing.surface.

Or browse them on the AI Gateway page, or in Studio's Building blocks > Models.

Troubleshooting

If you see "No deployment of model … speaks the openai chat-completions protocol natively", the model is on another route. Call Claude with the Anthropic SDK, Gemini with Google's.

Next steps