GA
Global API
文档开始使用

5分钟快速设置

Global API兼容OpenAI。只需更改base URL — 无需重写代码。

1

获取API密钥

注册免费账户,从控制面板获取API密钥。

获取API密钥 →

从免费套餐开始 — 无需信用卡。

2

选择模型

ga-economyNEW ✨

GA-Economy — Outperforms 95% of models at half the price

ga-standardNEW ✨

GA-Standard — Rivals top-tier models at a fraction of the cost

ga-expressNEW ✨

GA-Express — Sub-second intelligence for real-time apps

deepseek-chatPopular

DeepSeek V4 Flash — Best overall value

deepseek-reasonerPopular

DeepSeek R1 — Advanced reasoning

deepseek-v4-pro

DeepSeek V4 Pro — Premium reasoning

Qwen/Qwen3.6-35B-A3BFlagship

Qwen 3.6 — Latest Alibaba flagship

Qwen/Qwen3.5-397B-A17B

Qwen 3.5 — 397B MoE, max intelligence

QwQ-32B

QwQ-32B — Qwen reasoning model

kimi-k2.5Flagship

Kimi K2.5 — Moonshot flagship

kimi-k2.6New

Kimi K2.6 — Latest Moonshot upgrade

THUDM/GLM-4-32B-0414Flagship

GLM-4 32B — Zhipu AI flagship

doubao-seed-2-0-pro-260215

Doubao Seed 2.0 — ByteDance premium

MiniMaxAI/MiniMax-M2.5

MiniMax-M2.5 — Ultra-long 1M context

Qwen/Qwen3-8BFree

Qwen3-8B — Free tier, general purpose

3

更改一行代码

import openai

client = openai.OpenAI(
    api_key="your-global-api-key",
    base_url="https://global-apis.com/v1"  # Just add this line!
)

# Everything else stays the same
response = client.chat.completions.create(
    model="deepseek-chat",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

唯一更改:在OpenAI客户端初始化中添加base_url。

文档

Getting Started

API Reference

SDKs & Examples

Best Practices

API参考

基础URL

https://global-apis.com/v1

身份验证

Authorization: Bearer YOUR_API_KEY

端点

POST /chat/completions

聊天补全

POST /embeddings

文本嵌入

GET /models

获取可用模型列表

请求头

Content-Type: application/jsonAuthorization: Bearer YOUR_API_KEY

常见问题

真的与OpenAI API兼容吗?

是的!Global API完全兼容OpenAI。只需更改代码中的基础URL。

哪些模型可用?

我们支持来自DeepSeek、Qwen、Kimi、GLM、Doubao、MiniMax、Hunyuan等180+模型。

达到速率限制怎么办?

速率限制因套餐而异。免费版:30次/分钟,专业版:500次/分钟,商业版:2000次/分钟,规模版:5000+次/分钟。

Can I use my existing OpenAI API key?

No — Global API uses its own API keys. However, the migration is simple: just change your base URL and add your new API key.

Do you support streaming?

Yes! All our endpoints support Server-Sent Events (SSE) streaming. Set stream: true in your request.

What about function calling?

DeepSeek supports function calling (tool use). Other features like image input vary by model.

准备好开始了吗?

立即开始构建。免费套餐无需信用卡。

获取API密钥 →

© 2026 Global API。保留所有权利。