# gemini-3.1-flash-lite-preview — API, Pricing & Context Window

`gemini-3.1-flash-lite-preview` is Google's lightweight, low-cost Gemini model, tuned for high-volume multimodal workloads. It keeps a **~1.05M-token context window** and accepts **text, image, video, audio, and PDF** inputs.

On Vivgrid it is served as a globally centralized model through the same unified, OpenAI-compatible API used across the catalog.

## Specifications

|     |     |
| --- | --- |
| **Provider** | Google |
| **Model ID** | `gemini-3.1-flash-lite-preview` |
| **Best for** | General-purpose |
| **Context window** | 1,048,576 tokens |
| **Max output** | 65,536 tokens |
| **Modalities** | Text, Image, Video, Audio, Pdf |
| **Tool / function calling** | Yes |
| **Knowledge cutoff** | 2025-01 |
| **Acceleration** | 🌐 Global (Centralized) |

## Pricing

Pricing in USD per 1M tokens, matching the provider's rates.

| Input | Cached input | Output |
| --- | --- | --- |
| $0.25 | — | $1.50 |

## Quick start

Call `gemini-3.1-flash-lite-preview` through Vivgrid's unified, OpenAI-compatible endpoint. Get an API key from the [Vivgrid Console](https://console.vivgrid.com/).

```
curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite-preview",
    "messages": [\
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }\
    ],
    "stream": true
  }'
```

## Ideal use cases

- Very high-volume multimodal classification and extraction
- Cost-sensitive media ingestion pipelines
- Lightweight assistants needing large context
- Bulk PDF, image, and audio triage

## Related models

- [gemini-3.5-flash](/content/docs/models/gemini-3.5-flash/index.html) — faster, higher-quality flash
- [gemini-3.1-pro-preview](/content/docs/models/gemini-3.1-pro-preview/index.html) — the pro-tier model
- [gpt-5.4-nano](/content/docs/models/gpt-5.4-nano/index.html) — comparable ultra-low-cost option
