Gemini 2.5 Flash 在 NextModel 中是什麼?
台灣團隊可用的 NextModel 目錄中的 Google 模型,常用於 圖像理解、multimodal chat 工作負載。當前展示價格為輸入 $0.043 / 1M tokens、輸出 $0.362 / 1M tokens 每 100 萬 token,上下文視窗為 1M token。
適用場景
- 圖像理解
- multimodal chat
OpenAI 相容呼叫範例
保持 OpenAI SDK 呼叫方式不變,把 base_url 改為 NextModel,並使用模型目錄 ID google--gemini-2.5-flash。
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="google/gemini-2.5-flash",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代項
Gemini 2.5 Flash-Lite is a lightweight reasoning model in the Gemini 2.5 family, optimized for ultra-low latency and cost efficiency. It offers improved throughput, faster token generation, and better performance...
Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy...
Gemini 2.5 Pro is Google’s state-of-the-art AI model designed for advanced reasoning, coding, mathematics, and scientific tasks. It employs “thinking” capabilities, enabling it to reason through responses with enhanced accuracy...
對比 Google: Gemini 2.5 Flash
常見問題