Introduction
Avis exposes a single generation backend through three drop-in API surfaces: OpenAI, Anthropic, and Google Gemini. Point your existing SDK or integration at the matching Avis base URL — no code changes beyond the base URL and API key.
Every surface accepts any model in the shared Avis model catalog, regardless of which protocol you call it through (e.g. you can call an Anthropic model via the OpenAI-compatible endpoint).
Get started
Create an API key — see Authentication.
Pick a surface below and swap your SDK's base URL.
Send your first request.
Base URL
https://api.avis.netEach surface lives under its own path prefix:
OpenAI-compatible
https://api.avis.net/api/openai/v1
Anthropic-compatible
https://api.avis.net/api/anthropic
Gemini-compatible
https://api.avis.net/api/gemini
Example request
curl https://api.avis.net/api/openai/v1/chat/completions \
-H "x-api-key: $AVIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4-1-nano",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Libraries
Use the official client library for the surface you're calling:
Point the client's baseURL/baseUrl at the matching Avis path and pass your Avis API key — see the per-surface pages for exact client setup:
OpenAI compatibility
Anthropic compatibility
Gemini compatibility
Versioning
Each surface mirrors the path convention of the protocol it's compatible with (openai/v1, anthropic/v1, gemini/v1beta) rather than carrying its own Avis-specific version number. Within a surface, request/response shapes track the corresponding upstream API — see each compatibility page for the fields this proxy actually reads versus forwards untouched.
Last updated
Was this helpful?