Gemini 3.1 Flash-Lite
Provider list prices: no platform markup, pay-as-you-go. These are official list prices. Logged-in customers may see effective prices including workspace discounts on /console/pricing.
Use Gemini 3.1 Flash-Lite in 30 seconds
OpenAI-compatible: swap the base_url, keep your SDK. POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="gemini-3.1-flash-lite-preview",
messages=[{"role": "user", "content": "Summarize this diff"}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "gemini-3.1-flash-lite-preview",
messages: [{ role: "user", content: "Summarize this diff" }],
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite-preview",
"messages": [{"role": "user", "content": "Hello"}]
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "gemini-3.1-flash-lite-preview",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("gemini-3.1-flash-lite-preview")
.addUserMessage("Summarize this diff")
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));About Gemini 3.1 Flash-Lite
Gemini 3.1 Flash-Lite (preview) is the preview channel of Google's low-latency, cost-effective multimodal model optimized for high-frequency, lightweight tasks, which Google positions as frontier-class performance rivaling larger models at a fraction of the cost.
- It takes text, image, video, audio, and PDF input within a 1,048,576-token context window and 65,536-token output limit, with configurable thinking levels that add internal reasoning compute before answering.
- Recommended uses include translation, transcription, data extraction, summarization, and model routing.
- Synthorai makes it callable through its OpenAI-compatible chat endpoint.
Specs & limits
| Max output (vendor spec) | 65,536 |
| Modalities | text + image + video + audio → text |
| Features | tools · structured_output · streaming · vision · batch · caching · reasoning |
| Notable | DEPRECATED: shut down 2026-05-25; migrate to gemini-3.1-flash-lite; was the first Flash-Lite in the Gemini 3 series. |
FAQ
Is the Gemini 3.1 Flash-Lite API free to try?
Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. At $0.25/M input tokens, that credit alone covers roughly 500 requests of ~8K tokens against Gemini 3.1 Flash-Lite.
What is Gemini 3.1 Flash-Lite best at?
Frontier-class performance at a fraction of cost, plus configurable thinking levels before answering and built for translation, extraction, and routing. See the About section for the full picture from the vendor's own release notes.
How much does Gemini 3.1 Flash-Lite cost?
Gemini 3.1 Flash-Lite costs $0.25 per million input tokens and $1.5 per million output tokens on Synthorai. That is the provider's list price, with no platform markup.
Does Gemini 3.1 Flash-Lite support prompt caching?
Gemini 3.1 Flash-Lite has no cache-read discount on Synthorai today. Prompt caching still applies to other models on the gateway; see the pricing table for cache-enabled alternatives. Provider caching comparison →
How do I get access to Gemini 3.1 Flash-Lite?
Point your existing OpenAI SDK at base_url="https://synthorai.io/v1", set model="gemini-3.1-flash-lite-preview", and you're done. One API key covers every model on the gateway.
What is Gemini 3.1 Flash-Lite's knowledge cutoff?
Gemini 3.1 Flash-Lite's knowledge cutoff is 2025-01, per the vendor's official documentation (as of 2026-07-09).