Gemini 3.1 Pro Preview
Google: Gemini 3.1 Pro Preview เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง image understanding, multimodal chat. $0.376 / 1M tokens / $2.26 / 1M tokens. 1M tokens.
Gemini 3.1 Pro Preview ใน NextModel คืออะไร?
Google: Gemini 3.1 Pro Preview เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง image understanding, multimodal chat. $0.376 / 1M tokens / $2.26 / 1M tokens. 1M tokens.
use case ที่เหมาะ
- image understanding
- multimodal chat
ตัวอย่างโค้ดที่เข้ากันได้กับ OpenAI
คงรูปแบบ OpenAI SDK เดิม ชี้ base_url ไปที่ NextModel และใช้ ID จากแคตตาล็อก google--gemini-3.1-pro-preview.
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-3.1-pro-preview",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)ทางเลือกที่คล้ายกัน
Gemini 2.5 Flash is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in "thinking" capabilities, enabling it to provide responses with greater...
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...
เปรียบเทียบ Google: Gemini 3.1 Pro Preview
FAQ