GeminiSpecial Offer

Gemini 3.5 Flash Lite

Model ID:gemini-3.5-flash-lite

gemini-3.5-flash-lite

BalancedStreamingLong Context
Context window1 m
Input (CNY / Million Tokens)¥1.4
Output (CNY / million tokens)¥10
Cache read (CNY / million tokens)¥0
Cache write (1h, yuan / million tokens)¥0

Prices by channel

ChannelInputOutputRead CacheCache hitCache Write (1h)Cache write (5m)Multiplier
聚合/反代节点1¥1.4¥10¥0¥0.15¥0¥01.00x

Call example

This model belongs to theGeminigroup, calling protocol:Google Gemini native protocol (generateContent, model name in URL)Enter your API Key to use; groups determine the entry point and cannot be mixed (e.g., models in the Gemini group cannot use /v1/messages).

Request examplecurl
curl https://www.relay-api.com/v1beta/models/gemini-3.5-flash-lite:generateContent \
  -H "x-goog-api-key: sk-你的Key" \
  -H "content-type: application/json" \
  -d '{
    "contents": [
      { "role": "user", "parts": [{ "text": "你好,请简单介绍一下自己" }] }
    ],
    "generationConfig": { "maxOutputTokens": 1024 }
  }'
Back to examplesJSON
{
  "candidates": [
    {
      "content": { "role": "model", "parts": [{ "text": "你好!我是 Gemini 3.5 Flash Lite,很高兴为你服务。" }] },
      "finishReason": "STOP"
    }
  ],
  "usageMetadata": { "promptTokenCount": 12, "candidatesTokenCount": 34, "totalTokenCount": 46 }
}

Tool Integration Tutorial

Use this model with your usual AI coding tool, billed per token.