Getting Started
Deploy CodeVector and connect Claude Code, Cursor, or any OpenAI-compatible tool in under 10 minutes. Self-hosted AI gateway for teams.
Your gateway URL
Pin your own gateway hostname and we'll rewrite the routes and curl examples on every docs page so you can click straight through to the live console. Stored locally in your browser.
What is CodeVector?
CodeVector is a self-hosted proxy that sits between your AI coding tools and their upstream providers. It handles authentication, spend tracking, and access control in one place so you don’t have to manage API keys across your team.
Quick start
- Deploy - Run the container stack on any cloud or on-prem host
- Configure providers - Add your OpenAI/Anthropic/etc API keys
- Create users - Add your team and grant them access to models
- Connect tools - Point Claude Code, Cursor, or any OpenAI-compatible tool at your gateway
Connect your coding tool
Use the codevector CLI - install it globally, sign in once, then run codevector configure per tool:
pnpm add -g @codevector/cli
codevector auth login --gateway-url https://your-gateway.example.com
codevector configure --all --scope local
If you prefer manual setup, point each tool at the gateway URL:
# Claude Code (Anthropic-compatible)
ANTHROPIC_BASE_URL=https://your-gateway.example.com/gateway/anthropic
ANTHROPIC_AUTH_TOKEN=your-api-key
# Cursor
# Settings > Models > Override OpenAI Base URL = https://your-gateway.example.com/gateway/openai/v1
# OpenAI API Key = your-api-key
Next steps
- codevector CLI - Wires Claude Code, opencode, qwen-code, and codex to the gateway
- API Keys - Create and manage API keys for your team
- Providers - Configure upstream providers
- Access Grants - Control who can use which models
Get in touch
and we’ll set it up against your providers and coding tools.