gemini-3.5-flash-antigravitygemini-3.5-flash-preview via AI Gateway: gemini-3.5-flash offers effort tiers (-low/-high) for tuning quality against cost, with the full 1M-token Gemini context.
gemini-3.5-flash offers effort tiers (-low/-high) for tuning quality against cost, with the full 1M-token Gemini context.
在實際工作負載中,gemini-3.5-flash-preview 的表现围绕以下能力展开:
展开来说:
Latency-sensitive products — Realtime interactive scenarios.
Bulk processing — High-throughput content pipelines.
作為其定位的取捨——gemini-3.5-flash-preview 定位为「light」,请按任务复杂度选择合适档位;规格与价格以平台实时目录为准。
建議先以小流量灰度接入,觀察 Token 消耗與任務成功率,再逐步放量。
| 基準 | Tier | |
|---|---|---|
gemini-3.5-flash-high | light | |
gemini-3.5-flash-low | light |
All models on AI Gateway bill per token in credits: input tokens, output tokens and cached tokens are metered separately, with cache hits billed at a steep discount. There is no subscription — top up credits once and spend them on any model on the site. Live per-million-token rates for this model are always available on the Models page, and credit packs are listed on the Pricing page. Because pricing changes as providers adjust their official rates, this page intentionally does not hard-code numbers.
Requests go through the same three endpoints for every provider: chat/completions (OpenAI format), responses (OpenAI Responses format) and, for Claude models, an Anthropic-compatible messages endpoint. Authentication is a single Bearer key issued in your dashboard. Your API key is stored in isolation, traffic is encrypted over TLS, and prompts are forwarded to the selected provider without being used for training. Streaming, function calling and structured output behave exactly as they do against the official APIs.
Because every model on the platform shares one request format, switching is a one-line change: replace the model string and compare outputs. A common pattern is to route easy traffic to a lighter sibling tier and escalate hard tasks to the flagship — measure token spend and task success rate per tier before committing. If you currently call the provider's official API, keep your existing SDK and change only the base URL and API key.
Model IDs follow the provider's own naming: the number indicates the generation, while suffixes indicate capability tiers (pro/high/max) or routing channels. This page always shows the exact model ID to pass in the API request — copy it from the specifications table above.
規格與價格來自平台即時目錄;性能數據來自廠商或第三方公開資料。本頁更新於 2026-10-13。
| API 模型名 | gemini-3.5-flash-antigravity |
| 廠商 | Google Gemini |
| 上下文視窗 | — |
| 類型 | chat |
價格按 Token 點數即時計費,即時單價見 模型價格頁。
Realtime interactive scenarios.
High-throughput content pipelines.
本模型透過全站統一的 OpenAI 相容 API 提供(Bearer 驗證)。端點: POST /api/ai/v1/chat/completions · API 文件 →
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://your-domain.com/api/ai/v1"
)
response = client.chat.completions.create(
model="gemini-3.5-flash-antigravity",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "你好,介绍一下你自己"}
]
)
print(response.choices[0].message.content)stream = client.chat.completions.create(
model="gemini-3.5-flash-antigravity",
messages=[{"role": "user", "content": "写一首关于秋天的小诗"}],
stream=True,
)
for chunk in stream:
print(chunk.choices[0].delta.content or "", end="")curl https://your-domain.com/api/ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.5-flash-antigravity",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'將 your-domain.com 替換為你的站點網域。
音訊等特殊模型,不適用文字上下文視窗。
按 Token 用量以點數計費,快取命中更優。即時單價見模型價格頁。
不需要。一組 AI Gateway API Key 即可呼叫本模型及站內全部其他模型。