O Gemini 3.1 Pro é o modelo principal do Google, com compreensão multimodal nativa em texto, imagens, áudio e vídeo. Ele oferece uma janela de contexto muito longa e raciocínio robusto, tornando-se versátil para cargas de trabalho multimodais complexas.
Substituição direta do OpenAI. Mude apenas base_url e modelo.
# 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!"}]}'
Outros modelos que você pode considerar.
Fast, cheap Gemini for high volume.
Fast and cost-efficient.
Fast and cost-efficient.
Fast and cost-efficient.