Google AI Studio supports two API formats:
- Native: https://generativelanguage.googleapis.com/v1beta/models
- OpenAI compat: https://generativelanguage.googleapis.com/v1beta/openai/
Endpoint
Model
API Keys
Detect paid key (Uses Cache API to detect paid tier; consumes a small amount of extra quota)
DeepSeek
Endpoint
Model
API Keys
Query balance
SiliconFlow
Endpoint
Model
API Keys
Query balance
Moonshot (Kimi)
Endpoint
Model
API Keys
Query balance
Aliyun
Endpoint
Model
API Keys
Volcengine
Endpoint
Model
API Keys
Grok (xAI)
Endpoint
Model
API Keys
Query balance
GLM (Zhipu AI)
General API: https://open.bigmodel.cn/api/paas/v4/chat/completions
Coding Plan: https://open.bigmodel.cn/api/coding/paas/v4/chat/completions (change Endpoint if your key uses Coding Plan).