Quick Start
Get ANT running in 2 minutes. Choose your preferred method below.
Option 1: Manual Setup
1
Create an account & get your API key
Sign up on antbase.ai (email or Google). Once logged in, go to Dashboard → API Keys and create a new key. Copy the token — it starts with ant_.
2
Configure your client
Point your OpenAI-compatible client at ANT:
# Environment variables
export OPENAI_API_BASE=https://antbase.ai/v1
export OPENAI_API_KEY=ant_your-api-key3
Make your first request
Use ant:auto to let ANT pick the best model:
curl -X POST https://antbase.ai/v1/chat/completions \
-H "Authorization: Bearer ant_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ant:auto",
"messages": [{"role": "user", "content": "Hello!"}]
}'4
Verify it's working
Check the response headers to see what ANT did:
X-Antbase-Model: anthropic/claude-haiku-4-5
X-Antbase-Task-Type: chat
X-Antbase-Complexity: simpleOption 2: One-Line Install (OpenClaw)
If you use OpenClaw, our installer authenticates via a secure browser-based token flow — no passwords are sent over the command line.
curl -fsSL https://antbase.ai/install.sh | bashSecure token flow
The installer opens your browser to sign in, then receives a secure device token. Your API key is generated automatically and saved to your OpenClaw config.