google/gemini-3.1-flash-lite
Google's cheapest GA model in the 3.x series. Matches Gemini 2.5 Flash quality at a fraction of the cost. Optimized for low-latency, high-volume workloads: classification, summarization, simple generation, and RAG at scale.
來源:gemini_x0.5 · 核驗於 2026-06-05
快取讀取 $0.013/M · 快取寫入 $—/M
API 呼叫時用任一 ID 都可以。
google/gemini-3.1-flash-lite把 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.1-flash-lite",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)最近 30 天 0 次請求