Overview
Key takeaways
AVIS works with the AI tools you already use: coding agents, AI assistants, editors and chat interfaces. Because AVIS exposes OpenAI-, Anthropic- and Gemini-compatible APIs, most tools only need a new base URL and API key to reach the 300+ models in the AVIS catalog. No code changes are required.
How it works
Each tool speaks a particular API protocol. Point it at the AVIS surface that matches:
OpenAI-compatible
https://api.avis.net/api/openai/v1
Codex CLI, Copilot CLI, OpenCode, Hermes Agent, OpenClaw
Anthropic-compatible
https://api.avis.net/api/anthropic
Claude Code, OpenClaw, Copilot CLI (optional)
Gemini-compatible
https://api.avis.net/api/gemini
Gemini CLI
Every surface accepts every model in the AVIS catalog, and the same API key works on all three. See Introduction and Authentication.
Available integrations
Agent Coding
Terminal agents that read and edit files and run commands in your project.
Claude Code
Anthropic
ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN env vars, or .claude/settings.local.json
Assistant
Autonomous AI assistants that run on your machine and carry out tasks for you.
IDEs & Editors
Chat & RAG
Steps that apply to every integration
Create an API key at avis.net → Settings → API Keys, and set spend limits on it. See How to get API Key.
Top up your balance so the key has credits to spend. See How to top up your balance.
Point the tool at AVIS using the base URL of the matching surface (table above) and your API key.
Pick a model by querying that surface's own catalog, for example
GET /api/openai/v1/models. Model ID formats can differ between surfaces, so don't copy an ID from one surface to another.Send a test message to confirm the tool is calling AVIS.
Tip: Use a separate API key for each tool. If one key leaks, you revoke only that key without breaking your other integrations.
Common troubleshooting
401 Unauthorized
The key isn't set in the shell the tool runs in, or it's wrong or revoked
Test it directly: curl -H "x-api-key: $AVIS_API_KEY" https://api.avis.net/api/openai/v1/models
403 Forbidden
Your credit balance is used up
Top up your balance
404 / model not found
The model ID doesn't match the catalog of the surface you're using
Query /models on the correct surface again
Requests still go to the original provider instead of AVIS
An old sign-in session in the tool is still active, or the env vars/config weren't loaded
Sign out of the old session and restart the tool after changing its config
Each guide has its own detailed troubleshooting section for that tool. See also Errors.
Last updated
Was this helpful?