Gemini 3.1 Pro 是 Google 的旗艦模型,具備跨文字、圖像、音訊和影片的原生多模態理解能力。它提供極長的上下文視窗和強大的推理能力,使其成為複雜多模態工作負載的多功能選擇。
可直接取代 OpenAI。只需變更 base_url 和 model。
# Python - pip install openai from openai import OpenAI client = OpenAI( base_url="https://meshtok.com/v1", api_key="sk-your-MeshTok-key", ) resp = client.chat.completions.create( model="google/gemini-3.1-pro-preview", messages=[{"role":"user","content":"Hello!"}], ) print(resp.choices[0].message.content)
# cURL curl https://meshtok.com/v1/chat/completions \ -H "Authorization: Bearer sk-your-MeshTok-key" \ -H "Content-Type: application/json" \ -d '{"model":"google/gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello!"}]}'
其他您可能考慮的模型。
Fast, cheap Gemini for high volume.
Fast and cost-efficient.
Fast and cost-efficient.
Fast and cost-efficient.