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

> Source: https://vivgrid.com/docs/models/gemini-3.1-flash-lite-preview

gemini-3.1-flash-lite-preview on Vivgrid: Google's lightweight multimodal model with a ~1M-token context window at a very low price.

`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

| Field | Value |
| --- | --- |
| Provider | Google |
| Model ID | `gemini-3.1-flash-lite-preview` |
| Best for | General-purpose |
| Available on | Chat Completions |
| 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.

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

### What one request costs

The rates above applied to a 20K-token prompt with a 2K-token reply — a typical single agent turn, small enough that every request is billed at the base rate.

| Request | Cost |
| --- | --- |
| Cold prompt, nothing cached | $0.00800 |


## API surfaces

The Vivgrid Console catalogs `gemini-3.1-flash-lite-preview` on one surface, all behind the same API key. The endpoint shown is the one the Console previews for that surface.

| Surface | Primary endpoint | Use it for |
| --- | --- | --- |
| Chat Completions | `/chat/completions` | Agent projects, where Vivgrid injects the model, system prompt and tools server-side, and Model API calls that name the model per request. |

## Quick start

Get an API key from the Vivgrid Console (https://console.vivgrid.com), then call `gemini-3.1-flash-lite-preview` directly.

```bash
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

- [gpt-6-astra](/docs/models/gpt-6-astra) — OpenAI's frontier gpt-6 coding model
- [gemini-3.5-flash](/docs/models/gemini-3.5-flash) — faster, higher-quality flash
- [gemini-4-argon](/docs/models/gemini-4-argon) — Google's flagship Gemini 4 model
