Skip to content
GoogleChecking

gemini-3.1-flash-lite-preview

google/gemini-3.1-flash-lite-preview

chat completionsContext: 1.05MToolsJSON
Loading price…
Official price$0.25 / $1.5 / 1M tokens

Code examples

Any OpenAI SDK works: set the base URL and your Hermes key.

shell
export HERMES_API_KEY=your_api_key
curl https://api.hermes-ai.net/api/v1/chat/completions \
  -H "Authorization: Bearer $HERMES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-lite-preview",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}],
    "max_tokens": 200
  }'