Home / Gemini 3.5 Flash Lite

How do you call the Gemini 3.5 Flash Lite API?

How do you call the Gemini 3.5 Flash Lite API?

If you already use the official OpenAI SDK, swap base_url and api_key — every other line stays as it is.

  1. Confirm the model ID:Confirm in the console or model list that you are using gemini-3.5-flash-lite, and verify whether the model can be called under the current account group.
  2. Confirm the account group multiplier:The final price equals the benchmark price multiplied by the multiplier for the account's group. Do not estimate the bill using only the benchmark price before confirming the group.
  3. Obtain integration details:Obtain the actual endpoint, authentication credentials, and request format from the proxy console. These details must be based on the console documentation.
  4. Validate with a small request:First use a text or small multimodal request to validate authentication, the model name, response structure, and billing records before connecting it to production workloads.
  5. Scale up after load testing:Test time to first token, throughput, failure retries, and rate-limiting behavior with the actual input types. The relevant performance data is currently pending hands-on testing.

Complete code example

import json
from urllib.request import urlopen

PRICING_URL = "https://api.openlux.ai/api/pricing"
MODEL_ID = "gemini-3.5-flash-lite"

with urlopen(PRICING_URL, timeout=15) as response:
    payload = json.load(response)

print(json.dumps(payload, ensure_ascii=False, indent=2))
print(f"\n请在返回的定价数据中查找模型:{MODEL_ID}")

OpenLux

More on this site

Get started

Confirm the account group and integration documentation first, then validate Gemini 3.5 Flash Lite with a small request

Create an account and generate a key

Official site: OpenLux official site

Last updated 2026-08-05 | Written and maintained by OpenLux.
Latency and pricing figures come from our own measurements. Where they differ from the vendor's site, the vendor's live page wins.