Skip to main content
The AI proxy lets your apps call Anthropic, OpenAI, and Gemini APIs through Major’s managed gateway. Instead of managing API keys and billing for each provider separately, your apps authenticate via JWT tokens and usage is tracked automatically.

Supported providers

ProviderEndpoint prefix
Anthropic/anthropic/
OpenAI/openai/
Gemini/genai/
Gemini supports text generation, streaming, token counting, and image generation. Use the /genai/v1beta/models/{model}:generateContent and :streamGenerateContent endpoints the same way you would call the Gemini API directly.
To run agent coding sessions on non-Anthropic models, see Models. Those sessions route through this proxy for billing.

Setup

Enable the AI proxy for your organization in Organization Settings. Once enabled, your apps can make LLM API calls through the proxy.

Spending Limits

Set a monthly spending limit to control costs. When the limit is reached, proxy requests are blocked until the next billing cycle or until you increase the limit.

Usage

AI proxy usage appears in your Usage Dashboard under the “AI Proxy” category alongside coding sessions and app compute.