google/gemini-3-flash-preview
Preview of Google's Gemini 3 Flash. Near-flagship reasoning and coding at Flash latency and price, with 1M-token context and text, image, audio, and video input. Access it early through OneHop before GA. Best for high-volume agentic workflows and long-document tasks on a budget.
來源:gemini_x0.5 · 核驗於 2026-07-21
快取讀取 $0.025/M · 快取寫入 —/M
API 呼叫時用任一 ID 都可以。
google/gemini-3-flash-preview請求中的 model 可以直接使用這些名稱。
把 ONEHOP_KEY 佔位符替換為你的 API Key。 建立 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="google/gemini-3-flash-preview",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)最近 30 天 2 次請求