Antbase/Documentation

Integration Guides

ANT is OpenAI-compatible, so it works with any client that supports custom base URLs. Choose your framework below for specific instructions.

The Pattern

For any OpenAI-compatible client, set these values:

  • Base URL: https://antbase.ai/v1
  • API Key: your-ant-api-key
  • Model: ant:auto (or any virtual/real model)

Environment Variables

Many SDKs read from environment variables automatically:

# For OpenAI SDK
export OPENAI_API_BASE=https://antbase.ai/v1
export OPENAI_API_KEY=your-ant-api-key

# For Anthropic SDK (no /v1 suffix)
export ANTHROPIC_BASE_URL=https://antbase.ai
export ANTHROPIC_API_KEY=your-ant-api-key