Google Google 旗舰
Gemini 4 Carbon
gemini-4-carbon Google 顶级多模态深度推理与多步 Agent 旗舰,原生支持 /v1beta 与超大上下文仓库分析。
CTX 2M
OUT 64K /v1beta /v1/chat/completions
0.3x · $1.20/$6
$4/$20
详情与代码 → 按客户端切换 Tab 并一键复制,将 sk-your-aiozium-key 替换为控制台创建的 API Key 即可跑通。
curl -sS "https://www.aiozium.com/v1beta/models/gemini-3.1-flash-lite:generateContent" \
-H "x-goog-api-key: $AIOZIUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Summarize key trade-offs of Astro SSG + Go API gateway."}]}]
}' export GOOGLE_GEMINI_BASE_URL="https://www.aiozium.com"
export GEMINI_API_KEY="sk-your-aiozium-key"
gemini --model gemini-3.1-flash-lite from openai import OpenAI
client = OpenAI(
base_url="https://www.aiozium.com/v1",
api_key="sk-your-aiozium-key",
)
resp = client.chat.completions.create(
model="gemini-3.1-flash-lite",
messages=[{"role": "user", "content": "Review this architecture for bottlenecks."}],
stream=True,
)
for chunk in resp:
print(chunk.choices[0].delta.content or "", end="") gemini-4-neon 或 gemini-4-carbon。gemini-3.8-flash 相比如何选择?3.1-flash-lite 单价只有 3.8-flash 的五分之一,适合纯清洗/分类;需要更强推理和稳定工具调用选 3.8-flash。
gemini-4-carbon Google 顶级多模态深度推理与多步 Agent 旗舰,原生支持 /v1beta 与超大上下文仓库分析。