APIMart
Back to all models

Gemini 3.5 Flash-Lite API

GoogleModel ID gemini-3.5-flash-liteText modelReleased July 21, 2026

Use Gemini 3.5 Flash-Lite to route each support ticket to the right queue, turn invoices into fields and catch totals that don’t add up, or answer a policy question for a main agent.

Max input
1,048,576 tokens
Max output
65,536 tokens
Input → output
Text, Image, Video, Audio, File → Text
Knowledge cutoff
March 2026
  • Image input
  • Streaming
  • Cached input pricing
  • OpenAI SDK compatible

Gemini 3.5 Flash-Lite API use cases

Each use case comes with an illustrative example: source material, a prompt and a hand-written sample answer, not actual model output. Copy the prompt, swap in your own material and try it on Gemini 3.5 Flash-Lite.

Try Gemini 3.5 Flash-Lite with your own material

Ticket and request routing

Send each message with your queue list and a one-line rule per queue, and have Gemini 3.5 Flash-Lite return just the queue name. Keep a labeled sample and rerun it whenever the rules change.

Example: Which queue should this ticket go to?

Material

Rules
Billing: charges, refunds, invoices. Access: login, password, two-factor. Bug: something that used to work is broken.
Ticket
I was charged twice for my October invoice and need one charge refunded.

PromptAssign the ticket to exactly one queue using the rules. Reply with the queue name only.

Sample answer · written by hand to show the reasoning

Billing

About the Gemini 3.5 Flash-Lite API

  • Built for high-volume, low-latency work

    Generally available since July 21, 2026 for classification, translation, document parsing and subagent tasks. Google recommends it, alongside Gemini 4 Hydrogen, for new projects instead of Gemini 2.5 Flash-Lite.

  • Replaces Gemini 2.5 Flash from December 1

    From December 1, 2026, Google routes Gemini API requests for gemini-2.5-flash to Gemini 3.5 Flash-Lite and bills them at its rates. Test your prompts before the switch.

  • Minimal thinking by default

    Thinking starts at minimal, close to off, to keep replies fast and cheap. Raise it to low, medium or high for subagents that plan and call tools.

  • Gemini 3.5 Flash-Lite API key and access

    You don’t need a separate Gemini 3.5 Flash-Lite API key: one APIMart key works for every model. Requests go through an OpenAI Chat Completions-compatible endpoint with the model ID gemini-3.5-flash-lite.

Gemini 3.5 Flash-Lite official benchmark results

Selected results Google published at launch.

  • OSWorld-Verified

    74.0%

    Completing tasks by operating a computer. Top score in Google’s table, ahead of GPT-5.4 mini (72.1%), Gemini 3.1 Flash-Lite (54.3%) and Claude Haiku 4.5 (50.7%).

  • GDM-MRCR v2 (8 needles, 128K)

    72.2%

    Finding and telling apart eight similar items in a long context. Top score in the table, ahead of Gemini 3.1 Flash-Lite (60.1%), GPT-5.4 mini (42.7%) and Claude Haiku 4.5 (35.3%).

  • SWE-Bench Pro (Public)

    54.2%

    Software engineering tasks in real repositories. Up from 38.3% for Gemini 3.1 Flash-Lite and ahead of Claude Haiku 4.5 (39.5%); GPT-5.4 mini scores 54.4%.

  • Terminal-bench 2.1

    54.0%

    Coding and ops tasks in a terminal, with the Terminus-2 harness. Up from 31.0% for Gemini 3.1 Flash-Lite and ahead of Claude Haiku 4.5 (44.2%); GPT-5.4 mini scores 59.2%.

  • GDPval-AA v2

    1,140 Elo

    Knowledge work across occupations, rated in Elo. Up from 642 for Gemini 3.1 Flash-Lite and ahead of Claude Haiku 4.5 (907); GPT-5.4 mini rates 1,171.

  • CharXiv Reasoning (no tools)

    74.5%

    Reasoning about charts from scientific papers. Ahead of Gemini 3.1 Flash-Lite (73.2%) and Claude Haiku 4.5 (61.7%); GPT-5.4 mini scores 80.3%.

How to call the Gemini 3.5 Flash-Lite API

To call Gemini 3.5 Flash-Lite, you only need an APIMart API key and your existing OpenAI SDK, or send plain HTTP requests.

POST /v1/chat/completions
curl https://api.apimart.ai/v1/chat/completions \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-3.5-flash-lite",
  "messages": [
    {
      "role": "user",
      "content": "Describe how to design a clear API in three sentences."
    }
  ],
  "stream": false
}'

Gemini 3.5 Flash-Lite access details

Model IDgemini-3.5-flash-lite
Base URLhttps://api.apimart.ai/v1
Endpoint/chat/completions

Common parameters

model
Required
messages
Required
stream
Optional
max_tokens
Optional
temperature
Optional
All request parameters, response fields and error codes

Gemini 3.5 Flash-Lite API request parameters

Gemini 3.5 Flash-Lite uses the general chat endpoint, POST /v1/chat/completions, with a JSON body. model and messages are required; every other parameter is optional.

ParameterTypeRequiredDescription
modelstringYesModel ID. Use gemini-3.5-flash-lite for this model.
messagesarrayYesConversation messages. Each message has a role (system, user, or assistant) and content. Include earlier messages for multi-turn conversations.
streambooleanNoWhether to stream the output. true returns chunks over SSE, false returns the full response at once. Default: true.
temperaturenumberNoOutput randomness, 0–2. Default: 1.0. Lower values give more deterministic output.
top_pnumberNoNucleus sampling, 0–1. Default: 1.0. Adjust this or temperature, not both.
max_tokensintegerNoMaximum number of tokens to generate for the reply.
frequency_penaltynumberNoFrequency penalty, -2.0 to 2.0. Default: 0. Positive values reduce repeated wording.
presence_penaltynumberNoPresence penalty, -2.0 to 2.0. Default: 0. Positive values encourage new topics.
stopstring | arrayNoUp to 4 stop sequences. Generation stops when any of them appears.
nintegerNoNumber of replies to generate. Default: 1.

Response fields

The response contains the fields below. Token usage is returned in usage, which you can use to check costs.

FieldTypeDescription
idstringUnique identifier for the request.
modelstringThe model that handled the request.
choicesarrayList of replies. Each item contains message (role and content) and finish_reason.
usageobjectToken usage: prompt_tokens, completion_tokens, and total_tokens.

Error codes

Failed requests return an error object with code, message, and type.

StatusTypeMeaning
400invalid_request_errorInvalid request parameters.
401authentication_errorThe API key is invalid or missing.
402payment_requiredInsufficient account balance.
403permission_errorNo permission to access this resource.
429rate_limit_errorToo many requests. Retry later.
500server_errorInternal server error.
502bad_gatewayGateway error. The service is temporarily unavailable.

Gemini 3.5 Flash-Lite API pricing

The Gemini 3.5 Flash-Lite API is billed by token usage, and prices depend on your membership tier. Prices below are per million tokens; 1 US dollar = 10 credits.

ItemGoldCurrent pricePlatinumDiamondOfficial priceYou save
Input2.4Credits~$0.242.28Credits~$0.2282.16Credits~$0.2163Credits~$0.320%
Cached input0.24Credits~$0.0240.228Credits~$0.02280.216Credits~$0.02160.3Credits~$0.0320%
Output20Credits~$219Credits~$1.918Credits~$1.825Credits~$2.520%

Prices are for reference only. View full pricing

Why call Gemini 3.5 Flash-Lite API through APIMart

  • 20% below official pricing

    Gemini 3.5 Flash-Lite API pricing is billed by token usage. Gold to Diamond member prices are 20%–28% below Google's official prices, and cached input costs just $0.024 per 1M tokens.

    See membership prices
  • One API key for 500+ models

    Gemini 3.5 Flash-Lite, the rest of its family and 500+ models from GPT, Claude, Gemini and more share one API key and one account balance. Switching models is just a change to the model parameter.

  • Change two lines of existing code

    If you already use the OpenAI SDK, point base_url at https://api.apimart.ai/v1 and swap in your APIMart API key. Requests and responses keep the same format.

  • Try it online before you code

    Try Gemini 3.5 Flash-Lite with your own material in the Playground, no code or setup needed, and integrate once you like the results.

    Open Playground

Which Google model should you choose?

Base prices per 1M tokens (USD). Your Gemini 3.5 Flash-Lite API key works for every model in the table; just change the model parameter.

Differences between Google models
ComparisonGemini 3.5 Flash-Lite CurrentGemini 3 Pro PreviewGemini 3 Flash PreviewGemini 3.1 Pro PreviewGemini 3.6 FlashGemini 3.8 FlashGemini 4 HydrogenGemini 4 ArgonGemini 4 CarbonGemini 4 Neon
Best forHigh-volume tasks, Data extraction, SubagentsMultimodal reasoning, Video and audio input, Two thinking levelsFast multimodal tasks, Agentic coding, Four thinking levelsAgentic coding, Long multimodal inputs, Three thinking levelsAgentic tasks, Chart and screen reading, Long documentsLong-horizon coding, Video, audio & PDF input, Enterprise workflowsEveryday coding, Agentic tasks, Chat & questionsSoftware engineering, Knowledge work, Long video and documentsLong-horizon agents, Software engineering, Scientific reasoningComplex coding, Long-running agents, Analytical reasoning
Input typesText, Image, Video, Audio, FileText, Image, Video, Audio, FileText, Image, Video, Audio, FileText, Image, Video, Audio, FileText, Image, Video, Audio, FileText, Image, Video, Audio, FileText, Image, Audio, VideoText, Image, Audio, VideoText, Image, Audio, VideoText, Image, Audio, Video
Knowledge cutoffMarch 2026———March 2026March 2026March 2026March 2026March 2026March 2026
Input price$0.24$1.6$0.4$1.6$0.6$0.6$1.2$1.6$3.2$2.4
Output price$2$9.6$2.4$9.6$3$3$6$8$16$12

Gemini 3.5 Flash-Lite FAQ

Should I use Gemini 3.5 Flash-Lite or a Gemini Flash model?

Use Gemini 3.5 Flash-Lite for high-volume, latency-sensitive work such as routing, extraction and translation: the official Gemini 3.5 Flash-Lite price is lower than that of Gemini 3.6 Flash and Gemini 3.8 Flash. For harder coding, long agent tasks or multimodal reasoning, use Gemini 3.8 Flash. On APIMart they share one endpoint and API key, so you can test both by changing the model parameter.

What happens to gemini-2.5-flash on December 1, 2026?

Google will route all Gemini API requests for gemini-2.5-flash to gemini-3.5-flash-lite from December 1, 2026, billed at Gemini 3.5 Flash-Lite rates. If you use Gemini 2.5 Flash today, rerun your prompts on Gemini 3.5 Flash-Lite before then, or move to a Flash model if the results fall short.

Is there a Gemini 3.6 Flash-Lite?

No. Google’s model list has no Gemini 3.6 Flash-Lite text model; Gemini 3.5 Flash-Lite is the newest Flash-Lite, and Gemini 3.6 Flash is a separate, larger Flash model. (Gemini 3.8 Flash-Lite TTS is a text-to-speech model, not a text model.)

How is it different from Gemini 3.1 Flash-Lite?

Gemini 3.5 Flash-Lite builds on 3.1 Flash-Lite, and Google’s model card shows large gains, for example 54.2% vs. 38.3% on SWE-Bench Pro and 74.0% vs. 54.3% on OSWorld-Verified. Google lists 3.5 Flash-Lite as the replacement for gemini-3.1-flash-lite, which may be shut down as early as May 7, 2027.

Should I raise the thinking level?

Only when a task needs it. Gemini 3.5 Flash-Lite defaults to minimal thinking, which Google recommends keeping for extraction, routing and classification; for subagents that plan and call tools, Google suggests medium or high. Google bills thinking tokens as output, so higher levels cost more.

How can I try this model online?

Click Start chatting or Open Playground to visit the existing APIMart Playground. Select Gemini 3.5 Flash-Lite in the text category to start exploring.

Which model ID does the Gemini 3.5 Flash-Lite API use?

Set model to gemini-3.5-flash-lite. Copy the exact ID from the page heading or the integration details panel.

Is it compatible with the OpenAI SDK?

You can keep the OpenAI SDK. Set base_url to https://api.apimart.ai/v1, provide your APIMart API key, and use the model ID on this page.

What is the context window of Gemini 3.5 Flash-Lite?

On APIMart, Gemini 3.5 Flash-Lite accepts up to 1,048,576 input tokens per request. Your prompt, earlier messages, and file content all count toward it.

How many tokens can it output at once?

Gemini 3.5 Flash-Lite can output up to 65,536 tokens in a single reply. Use the max_tokens parameter to set a lower limit.

How much does the Gemini 3.5 Flash-Lite API cost?

The Gemini 3.5 Flash-Lite API on APIMart is billed by token, and prices depend on your membership tier. Gold: $0.24 per million input tokens and $2 per million output tokens. Diamond: $0.216 per million input tokens and $1.8 per million output tokens. Prices may change; the pricing page has the current rates.

Does it support streaming?

Yes. The general chat endpoint streams over SSE by default. Set stream to false to receive the complete response at once.

How do I get an API key?

Sign in to APIMart and create a key on the API Keys page, then send it in the Authorization: Bearer header. The same key also works for other models on the platform.