Quick Start
Welcome to AGIPower! This guide walks you through everything from signing up to making your first API request, step by step.-
Sign in to AGIPower: Visit the AGIPower login page and sign in using any of the following:
- GitHub account
- Google account
- Choose a usage plan: Based on your use case, select Pay As You Go or Builder Plan.
- Get an API key: After signing in, create an API key from the corresponding management page.
- Make your first request: Pick the API protocol youโre most familiar with, copy the code example below, replace your API key, and run it.
Choose a Usage Plan
AGIPower offers two usage plans to fit different scenarios:Pay As You Go
Best for: Production environments, commercial products, high-concurrency applications Pay As You Go uses a prepaid balance + usage-based billing model, purpose-built for production workloads:- No rate limits โ supports high-concurrency calls
- Per-token billing โ transparent and predictable costs
For complete instructions, see the Pay As You Go Guide.
Builder Plan (Subscription)
Best for: Personal development, learning and exploration, Vibe Coding, rapid prototyping Builder Plan provides a fixed monthly fee with predictable AI model access:- Fixed monthly fee starting at $20/month
- All-star model lineup โ one subscription unlocks 100+ top models worldwide
- Full-scenario coverage โ Coding + image generation + video generation + chat, all in one place
For complete instructions, see the Subscription Plans Guide.
Plan Comparison
Each model on the AGIPower platform has a unique slug. You can find model slugs on the Models page:
Or on a modelโs detail page:

Or on a modelโs detail page:

Supported API Protocols
AGIPower supports four major API protocols, letting you use your preferred SDK to call any model on the platform:Protocol 1: OpenAI Chat Completions
AGIPowerโs API endpoint is fully compatible with the OpenAI Chat Completions API. Just change
base_url and api_key to switch seamlessly.Python
TypeScript
cURL
Protocol 2: OpenAI Responses
AGIPower is also compatible with OpenAIโs next-gen Responses API. The base URL is the same as Chat Completions, with a more streamlined calling convention.
Python
TypeScript
cURL
Protocol 3: Anthropic Messages
AGIPower fully supports the Anthropic Messages protocol and integrates seamlessly with tools like Claude Code and Cursor.Note that the Anthropic protocol uses
base_url https://agipower.ai, which differs from the OpenAI protocol.Models compatible with the Anthropic protocol are being adapted in batches. You can view currently supported models by filtering for Anthropic API Compatible on the official model list:
You can also check on a modelโs detail page:

You can also check on a modelโs detail page:

Python
TypeScript
cURL
Protocol 4: Google Gemini
AGIPower supports the Google Gemini (Vertex AI) protocol, allowing you to call models directly with the Google GenAI SDK.The base URL is
https://api.agipower.ai. You need to set vertexai=True and configure custom http_options.Python
TypeScript
Platform API
AGIPower provides a set of Platform Management APIs that let you programmatically query account usage, balance, subscription status, and more โ making it easy to integrate with your monitoring and management systems.Query Generation Details
Retrieve detailed information about a specific API call, including token usage, latency, and billing breakdown.generation_id. Use that ID to query the full details of the call:
For detailed parameter descriptions, see the Get Generation API docs.
Query PAYG Balance
Retrieve the current Pay As You Go balance for your account.For detailed parameter descriptions, see the Get PAYG Balance API docs.
Query Subscription Details
Retrieve your accountโs subscription information, including plan tier, Flow rate, and quota usage.For detailed parameter descriptions, see the Get Subscription Detail API docs.
Query Flow Rate
Retrieve the current Flow rate information for your account.For detailed parameter descriptions, see the Get Flow Rate API docs.