Haimaker.ai Logo
Google logo

Gemini 3.1 Flash Lite Preview

google/gemini-3.1-flash-lite-preview
Chat
Google|
Function CallingVisionReasoningWeb SearchURL Context

Gemini 3.1 Flash Lite Preview (google/gemini-3.1-flash-lite-preview) is an AI model from Google with a 1,048,576-token context window and 65,536 max output tokens, priced at $0.25/1M input and $1.50/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Context Window
1M
tokens
Max Output
66K
tokens
Input Price
$0.25
/1M tokens
Output Price
$1.50
/1M tokens

Overview

Gemini 3.1 Flash Lite Preview is a chat model by Google. It supports a 1.0M token context window. Supports function calling, vision, reasoning, web search, URL context.

Features & Capabilities

Modechat
Context Window1,048,576 tokens
Max Output65,536 tokens
Function CallingSupported
VisionSupported
ReasoningSupported
Web SearchSupported
Url ContextSupported

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemini-3.1-flash-lite-preview",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Frequently Asked Questions

What is the context window of Gemini 3.1 Flash Lite Preview?

Gemini 3.1 Flash Lite Preview (google/gemini-3.1-flash-lite-preview) has a 1,048,576-token context window and supports up to 65,536 output tokens per request.

How much does Gemini 3.1 Flash Lite Preview cost?

Gemini 3.1 Flash Lite Preview is priced at $0.25 per 1M input tokens and $1.50 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does Gemini 3.1 Flash Lite Preview support?

Gemini 3.1 Flash Lite Preview supports function calling, vision, reasoning, web search, url context.

How do I use Gemini 3.1 Flash Lite Preview via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "google/gemini-3.1-flash-lite-preview" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Use Gemini 3.1 Flash Lite Preview with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Google