---
title: Google: Gemini 3.1 Flash Lite | Text Generation | ModelsLab
description: Build with Google: Gemini 3.1 Flash Lite API by Google. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/google/google-gemini-3.1-flash-lite.md
canonical: https://modelslab.com/models/google/google-gemini-3.1-flash-lite.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-18T12:18:53.139139Z
---

Google: Gemini 3.1 Flash Lite
---

 [LLMs.txt](https://modelslab.com/models/open_router/google-gemini-3.1-flash-lite/llms.txt) [.md](https://modelslab.com/models/google/google-gemini-3.1-flash-lite.md)

google-gemini-3.1-flash-lite google Closed Source Model $0.875000 / call

Google: Gemini 3.1 Flash Lite
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Google: Gemini 3.1 Flash Lite

google google-gemini-3.1-flash-lite

Copy model ID

PricingInput $0.25 / 1M tokens

Output $1.50 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.6v)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.6V

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.6v)

[MD](https://modelslab.com/models/open_router/mistralai-devstral-medium)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Devstral Medium

Closed Source Model](https://modelslab.com/models/open_router/mistralai-devstral-medium)

[![Llama 4 Scout Instruct (17Bx16E)](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/854d06dd-0138-45dc-8fca-0139390e8be4.png)](https://modelslab.com/models/together_ai/meta-llama-Llama-4-Scout-17B-16E-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 4 Scout Instruct (17Bx16E)

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-4-Scout-17B-16E-Instruct)

[![Gemini 2.5 Flash Image Preview ](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/97c6f065-57f9-45b0-a190-08e5f97f70a8.png)](https://modelslab.com/models/google/gemini-2.5-flash-image-preview)[Google](https://modelslab.com/models/google)

 [Gemini 2.5 Flash Image Preview

Closed Source Model](https://modelslab.com/models/google/gemini-2.5-flash-image-preview)

[ML](https://modelslab.com/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/meta)

 [Meta Llama 3.2 11B Vision Instruct Turbo

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Llama-3.2-11B-Vision-Instruct-Turbo)

[![Gemini 2.5 Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ede9a278-de62-47fb-a53d-99ee4c7b7abc.png)](https://modelslab.com/models/google/gemini-2.5-pro)[Google](https://modelslab.com/models/google)

 [Gemini 2.5 Pro

Closed Source Model](https://modelslab.com/models/google/gemini-2.5-pro)

[![Qwen3 30B A3b Base](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/70d79b0a-6c00-4990-b943-2ef2c640124a.png)](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 30B A3b Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-30B-A3B-Base)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.6-plus)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.6 Plus

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.6-plus)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2.5-free)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2.5 (free)

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2.5-free)

[OO](https://modelslab.com/models/open_router/openai-o4-mini-deep-research)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o4 Mini Deep Research

Closed Source Model](https://modelslab.com/models/open_router/openai-o4-mini-deep-research)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5-air-free)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5 Air (free)

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5-air-free)

[![Kwaipilot: KAT-Coder-Pro V2](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b27da6d2-be67-49bd-943c-d977e90d8d02.png)](https://modelslab.com/models/open_router/kwaipilot-kat-coder-pro-v2)[Open Router](https://modelslab.com/models/open_router)

 [Kwaipilot: KAT-Coder-Pro V2

Closed Source Model](https://modelslab.com/models/open_router/kwaipilot-kat-coder-pro-v2)

[AC](https://modelslab.com/models/open_router/alfredpros-codellama-7b-instruct-solidity)[Open Router](https://modelslab.com/models/open_router)

 [AlfredPros: CodeLLaMa 7B Instruct Solidity

Closed Source Model](https://modelslab.com/models/open_router/alfredpros-codellama-7b-instruct-solidity)

[![Mistral: Mistral Small 4](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/6fd4b227-5584-4cb6-9dae-e83155b18904.png)](https://modelslab.com/models/open_router/mistralai-mistral-small-2603)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small 4

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-2603)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-small-3.2-24b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small 3.2 24B

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-3.2-24b-instruct)

[![Mistral (7B) Instruct v0.3](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0d292e07-60e8-4917-99eb-6a891246c023.png)](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.3)[Together AI](https://modelslab.com/models/together_ai)

 [Mistral (7B) Instruct v0.3

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.3)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-vl-235b-a22b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 VL 235B A22B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-vl-235b-a22b-instruct)

[Q3](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-32B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 32B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-32B-Instruct)

About Google: Gemini 3.1 Flash Lite
---

Gemini 3.1 Flash Lite is Google’s GA high-efficiency multimodal model optimized for low-latency, high-volume workloads. It supports text, image, video, audio, and PDF inputs, and is designed for lightweight agentic...

### Technical Specifications

Model IDgoogle-gemini-3.1-flash-liteCategoryLLM ModelsTaskText GenerationPrice$0.875000 per million tokensAddedMay 7, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Google: Gemini 3.1 Flash Lite into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "google-gemini-3.1-flash-lite",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Google: Gemini 3.1 Flash Lite API costs $0.875000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Google](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Google: Gemini 3.1 Flash Lite FAQ
---

### What is Google: Gemini 3.1 Flash Lite?

Gemini 3.1 Flash Lite is Google’s GA high-efficiency multimodal model optimized for low-latency, high-volume workloads. It supports text, image, video, audio, and PDF inputs, and is designed for lightweight agentic...

### How do I use the Google: Gemini 3.1 Flash Lite API?

You can integrate Google: Gemini 3.1 Flash Lite into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "google-gemini-3.1-flash-lite" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Google: Gemini 3.1 Flash Lite cost?

Google: Gemini 3.1 Flash Lite costs $0.875000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Google: Gemini 3.1 Flash Lite model ID?

The model ID for Google: Gemini 3.1 Flash Lite is "google-gemini-3.1-flash-lite". Use this ID in your API requests to specify this model.

### Does Google: Gemini 3.1 Flash Lite have a free tier?

Yes, ModelsLab offers a free tier that lets you try Google: Gemini 3.1 Flash Lite and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-18*