Google logo
Google
Free Ultra Fast

Gemini 2.5 Flash Lite

Google's ultra-lightweight multimodal model with ultra-fast response, completely free

Category Text Billing Free Tier Model ID gemini-2.5-flash-lite
Context Length1M tokens
Model TypeLightweight Multimodal Model
MultimodalText, images

ๅฎšไปทไธŽ่ง„ๆ ผ

๐Ÿ’ฐ ๅฎšไปท

FreeUnlimited usage at $0
่พ“ๅ…ฅ$0 / M tokens
่พ“ๅ‡บ$0 / M tokens

โš™๏ธ ่ง„ๆ ผ

Context Length1M tokens
Model TypeLightweight Multimodal Model
MultimodalText, images
Cost AdvantageCompletely Free

API ่ฐƒ็”จ็คบไพ‹

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.xairouter.com/v1",
    api_key="your-api-key"
)

response = client.chat.completions.create(
    model="gemini-2.5-flash-lite",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

cURL

curl https://api.xairouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gemini-2.5-flash-lite",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'