NEW🎬 New: MAGI 2 1080p video with native audio, 4–30 s · only 4.15 credits/sec (5 s clip = 20.75)Try it →

Gemini 3.1 Flash Lite

💬 Chat & Text google/gemini-3.1-flash-lite ⧉ Input 17.50 · Output 105 credits per 1M tokens
💬

Sign in to try Gemini 3.1 Flash Lite

Sign in with your Google account and top up credits to get started.

Sign in with Google

API Key

Sign in to select or create a key

Connect an AI agent with OAuth

Other agents

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY

curl https://adverraai.com/hub/api/v1/chat/completions \
  -H "Authorization: Bearer $ADVERRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-lite",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": false
  }'

Fully compatible with OpenAI Chat Completions: stream, temperature, max_tokens, tools, image messages, etc. The response includes usage.credits showing the credits used.

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — google/gemini-3.1-flash-lite
messages * array – – Conversation messages, each with role (system / user / assistant) and content
max_tokens integer – – Maximum tokens in the answer
temperature number 0 – 2 1 Randomness of the answer; lower is steadier
top_p number 0 – 1 1 Nucleus sampling threshold
stream boolean true, false false Stream the answer back in chunks (SSE)
stop string | array – – Sequences where generation stops
tools array – – Tools (functions) the model may call
tool_choice string | object – – Controls how tools are chosen
response_format object – – Forces an answer format such as JSON

🤖 ต่อกับ AI Agent

เชื่อมผ่าน MCP

คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก

# Adverra AI Hub — Gemini 3.1 Flash Lite (`google/gemini-3.1-flash-lite`)

You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.

## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/chat/completions`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).

## Example request body
```json
{
    "model": "google/gemini-3.1-flash-lite",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี"
        }
    ]
}
```

## Parameters
- `model` (string, required) — ID of the model to call — google/gemini-3.1-flash-lite
- `messages` (array, required) — Conversation messages, each with role (system / user / assistant) and content
- `max_tokens` (integer, optional) — Maximum tokens in the answer
- `temperature` (number, optional) — Randomness of the answer; lower is steadier · allowed: 0 – 2 · default: 1
- `top_p` (number, optional) — Nucleus sampling threshold · allowed: 0 – 1 · default: 1
- `stream` (boolean, optional) — Stream the answer back in chunks (SSE) · allowed: true, false · default: false
- `stop` (string | array, optional) — Sequences where generation stops
- `tools` (array, optional) — Tools (functions) the model may call
- `tool_choice` (string | object, optional) — Controls how tools are chosen
- `response_format` (object, optional) — Forces an answer format such as JSON


## Result
OpenAI-compatible chat completion response. Set `"stream": true` for server-sent events.

## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at https://adverraai.com/hub/topup.php) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).

## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).

About this model

Gemini 3.1 Flash Lite is a Chat & Text model by Adverra AI Hub

Input📝 Text🖼️ Image🎬 Video🔊 Audio📎 File
PriceInput 17.50 · Output 105 credits per 1M tokens

Gemini 3.1 Flash Lite is Google's high-efficiency multimodal model, optimized for low-latency and high-volume workloads. It excels at processing diverse inputs including text, images, video, audio, and PDF files. This model is designed for lightweight agentic applications, making it ideal for tasks requiring quick responses and efficient processing.

Key features

  • Multimodal input support (text, image, video, audio, PDF)
  • Optimized for low-latency applications
  • Designed for high-volume workloads
  • Efficient processing capabilities
  • Supports lightweight agentic functions
  • Developed by Google

What you can do

  • Quick content summarization from various media
  • Real-time data extraction from documents and media
  • Automated customer support responses
  • Generating concise descriptions for images and videos
  • Processing large batches of diverse inputs efficiently
  • Building responsive AI agents

Specs

  • Context window: 1,048,576 tokens
  • Input modalities: text, image, video, audio, PDF

Prompt tips

  • For multimodal inputs, clearly specify what information you need from each modality.
  • When processing video or audio, indicate key timestamps or segments if relevant.
  • For PDF inputs, specify the exact sections or data points you want to extract.
  • Keep prompts concise to leverage its low-latency optimization.
  • If using for agentic tasks, define the desired output format and constraints clearly.