Google

Gemini 3.1 Flash Lite API

US Google
In Spielwiese testen → API-Schlüssel erhalten

Gemini 3.1 Flash Lite ist ein schnelles, kosteneffizientes Modell von Google. Es bietet multimodale Vision. Verfügbar über die MeshTok Unified API.

BildVideoAudioSchnellTools

Preise (offiziell, pro 1M Tokens)

Eingabe
$0.25/M
Ausgabe
$1.50/M

Spezifikationen

Kontextfenster1048.576K Tokens EingabemodalitätenBild, Video, Audio StreamingJa APIOpenAI-kompatibel

So verwenden Sie Gemini 3.1 Flash Lite

Direkter OpenAI-Ersatz. Ändern Sie nur base_url und Modell.

# 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-flash-lite",
    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-flash-lite","messages":[{"role":"user","content":"Hello!"}]}'

Ähnliche Modelle

Andere Modelle zum Überlegen.