Home/gemini-3.1-flash-lite
gemini-3.1-flash-lite

gemini-3.1-flash-lite

gemini-3.1-flash-lite
Price
INPUT /MtOUTPUT /Mt
ModalityUncachedCache ReadCache Write (5m)Cache Write (1h)Output
text
$ 0.25
$ 0.025
$ 0.083
$ 1
$ 1.5
image
$ 0.25
----
video
$ 0.25
----
audio
$ 0.5
----

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.highwayapi.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="gemini-3.1-flash-lite",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=65536,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantization
-

Supported Features

Context Length
1M
Maximum Output
65.5K
Function Calling
Supported
Structured Outputs
Supported
Reasoning
Supported
serverless
Supported
Input Capabilities
text, image, video, audio
Output Capabilities
text
Contact Us