gemini-3.5-flash-lite API
gemini-3.5-flash-lite provides Google Gemini text generation through APISea's OpenAI-compatible chat API.
gemini-3.5-flash-litegemini-3.5-flash-lite API-ის ფასები
ყველა ფასი USD-შია. APISea-ის ტარიფები შედარებულია იმავე ერთეულისთვის დადგენილ ოფიციალურ ფასებთან.
| Token-ის ტიპი | APISea | ოფიციალური | დაზოგვა |
|---|---|---|---|
| შეყვანა 1M token-ზე | $0.264 | $0.30 | −12% |
| ქეშირებული შეყვანა 1M token-ზე | $0.0264 | $0.03 | −12% |
| გამოტანა 1M token-ზე | $2.20 | $2.50 | −12% |
რა არის gemini-3.5-flash-lite?
gemini-3.5-flash-lite is a Google Gemini chat model available through APISea. Its Flash Lite name positions it as a lighter, faster, lower-cost tier, suited to everyday text-generation workflows such as conversational assistants, document summaries, and drafting. It accepts conversation messages with role and content fields and returns generated text. The model supports up to 1,048,576 input tokens and 65,536 output tokens, plus prompt-cache reads.
Call it through APISea's OpenAI-compatible Chat Completions interface using one API key and the base URL https://api.apisea.ai/v1. The interface offers streaming or complete responses and controls including temperature, top_p, max_tokens, and stop sequences. Pay-as-you-go pricing is $0.264 per 1M tokens for input, $0.0264 per 1M tokens for cached input reads, and $2.20 per 1M tokens for output. The default configuration is about 12% below the provider list price, and APISea bills only successful requests.
gemini-3.5-flash-lite-ის მთავარი მახასიათებლები
Large Input Allowance
Supply up to 1,048,576 input tokens for text-heavy conversations and document workflows.
Prompt Cache Reads
The model supports prompt-cache reads, priced at $0.0264 per 1M tokens on APISea.
Flexible Response Delivery
Choose streaming responses in SSE format or receive the complete response at once using the stream parameter.
Text Generation Controls
Use temperature and top_p to adjust generation behavior. Set max_tokens and stop sequences to control response length and stopping points.
როგორ გამოვიძახოთ gemini-3.5-flash-lite API 4 ნაბიჯში
- 01
მიიღეთ API გასაღები
შედით APISea-ში, შეავსეთ ბალანსი $50-დან და კონსოლში შექმენით sk-sea გასაღები.
- 02
დააყენეთ საბაზისო URL
თქვენს SDK-ში ან HTTP კლიენტში საბაზისო URL-ად გამოიყენეთ https://api.apisea.ai/v1.
- 03
გაგზავნეთ მოთხოვნა
გამოიძახეთ POST /v1/chat/completions პარამეტრებით "model": "gemini-3.5-flash-lite" და ქვემოთ ჩამოთვლილი პარამეტრებით.
- 04
დაამუშავეთ პასუხი
წაიკითხეთ პასუხი (ან მიიღეთ token-ები ნაკადურად stream: true-ის გამოყენებით). გამოყენების მონაცემები და ღირებულება თქვენს კონსოლში გამოჩნდება.
მოთხოვნის მაგალითები
დოკუმენტაცია: General Chat API (Default Streaming)curl https://api.apisea.ai/v1/chat/completions \
-H "Authorization: Bearer $APISEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.5-flash-lite",
"messages": [
{"role": "system", "content": "You are a concise assistant."},
{"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
],
"stream": false
}'პარამეტრები
| პარამეტრი | ტიპი | სავალდებულო | ნაგულისხმევი | აღწერა |
|---|---|---|---|---|
model | string | სავალდებულო | gpt-5 | Model name |
messages | array | სავალდებულო | — | List of conversation messages |
role | string | სავალდებულო | user | Role type |
content | string | სავალდებულო | — | Message content |
temperature | number | არასავალდებულო | — | Controls output randomness, range 0-2 |
max_tokens | integer | არასავალდებულო | — | Maximum number of tokens to generate |
stream | boolean | არასავალდებულო | — | Whether to use streaming output |
top_p | number | არასავალდებულო | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | არასავალდებულო | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | არასავალდებულო | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | არასავალდებულო | — | Stop sequences |
n | integer | არასავალდებულო | — | Number of completions to generate |
რისი შექმნა შეგიძლიათ gemini-3.5-flash-lite-ით
Conversational assistants
Build text-based assistants that receive user messages, system instructions, and prior assistant responses as conversation context.
Document summaries
Use the large input allowance to provide lengthy source text and request summaries tailored to a specific audience or format.
Drafting workflows
Generate first drafts of emails, help content, or internal communications with system instructions defining tone and scope.
Repeated-context workflows
Build text-generation jobs around shared instructions or reference material, using supported prompt-cache reads to reduce cached-input costs.
რჩევები უკეთესი შედეგებისთვის
- 01
Set the model explicitly
Set the model field to
gemini-3.5-flash-liteand provide a messages array containing role and content fields. - 02
Budget output tokens
Set max_tokens to match the response length your application needs, within the 65,536-token output limit. Output is priced at $2.20 per 1M tokens.
- 03
Tune one sampling control
Use a lower temperature, such as 0.2, for more deterministic output. The chat documentation recommends adjusting either temperature or top_p rather than both.
- 04
Check cache-read usage
For workflows with repeated context, consult the caching documentation before relying on cache reads. Cached input reads cost $0.0264 per 1M tokens; regular input costs $0.264 per 1M tokens.
შეზღუდვები და გასათვალისწინებელი საკითხები
Maximum input is 1,048,576 tokens.
Maximum output is 65,536 tokens.
The supplied native-format examples do not explicitly list this model; confirm native-route support before using that interface.
gemini-3.5-flash-lite API-ის ხშირად დასმული კითხვები
How much does gemini-3.5-flash-lite cost on APISea?
Input costs $0.264 per 1M tokens, cached input reads cost $0.0264 per 1M tokens, and output costs $2.20 per 1M tokens. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.
How do I call gemini-3.5-flash-lite through the API?
Use the OpenAI-compatible base URL https://api.apisea.ai/v1 and send a POST request to /chat/completions with model set to gemini-3.5-flash-lite and a messages array. Authenticate with your APISea API key using a Bearer token.
Which generation parameters can I use?
The documented chat interface includes temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Set stream to true for SSE responses or false for a complete response.
What are the input and output token limits?
The model supports a maximum input of 1,048,576 tokens and a maximum output of 65,536 tokens. It also supports prompt-cache reads.
Can I use gemini-3.5-flash-lite commercially?
Commercial use is subject to the provider's terms and applicable APISea terms. Review those terms for your intended application before deployment.
How does Flash Lite compare with other Gemini tiers?
The Flash Lite naming positions this model as a lighter, faster, lower-cost tier, while Pro naming generally indicates a higher-capability tier. The supplied facts do not include comparative benchmarks or measured latency results.
მსგავსი მოდელები
gemini-3-flash-preview
gemini-3-flash-preview-nothinking
gemini-3-flash-preview-thinking
gemini-3-pro-preview
gemini-3-pro-preview-thinking
gemini-3.1-flash-lite-preview
gemini-3.1-pro-preview
gemini-3.1-pro-preview-thinking
დაიწყეთ gemini-3.5-flash-lite-ით შექმნა
ერთი გასაღები, გამოყენების მიხედვით გადახდა $50-დან; თანხა ჩამოგეჭრებათ მხოლოდ წარმატებული მოთხოვნებისთვის.