Skip to content
이 페이지는 아직 해당 언어로 제공되지 않아 영어로 표시됩니다.
Google · Gemini

gemini-3.1-flash-lite-preview API

Run Google Gemini text generation on APISea with a lightweight preview model and OpenAI-compatible requests.

채팅채팅 및 텍스트동기 처리
모델 ID
gemini-3.1-flash-lite-preview

gemini-3.1-flash-lite-preview API 가격

모든 가격은 USD 기준입니다. 동일한 단위에 대해 APISea 요금과 공식 가격표를 비교합니다.

token 유형APISea공식절약
입력 토큰 1M개당$0.22$0.25−12%
출력 토큰 1M개당$1.32$1.50−12%

gemini-3.1-flash-lite-preview이란?

Google's gemini-3.1-flash-lite-preview is a 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 rather than a guaranteed performance level. Developers can evaluate it for conversational assistants, document summaries, and drafting tasks. It accepts conversation messages with role and content fields and generates text responses, with maximum input of 1,048,576 tokens and maximum output of 65,536 tokens.

Use APISea's OpenAI-compatible base URL, https://api.apisea.ai/v1, and select the exact model ID in a Chat Completions request. The documented interface offers streaming, output-length controls, and sampling parameters such as temperature and top_p. APISea charges pay-as-you-go rates of $0.22 per 1M input tokens and $1.32 per 1M output tokens, billing only successful requests. The default configuration is about 12% below the provider list price. As a preview model, it may change.

gemini-3.1-flash-lite-preview 주요 특징

Large Input Budget

The model supports up to 1,048,576 input tokens, allowing substantial text context in a request.

Controlled Output Length

Maximum output is 65,536 tokens. Use max_tokens to set a smaller generation budget for your application.

Streaming Chat Responses

The documented Chat Completions interface supports streaming responses in SSE format or a complete response at once.

Below List Pricing

APISea input costs $0.22 per 1M tokens; output costs $1.32 per 1M tokens. The default configuration is about 12% below the provider list price.

gemini-3.1-flash-lite-preview API를 호출하는 4단계

  1. 01

    API 키 발급

    APISea에 로그인하고 $50부터 충전한 다음, 콘솔에서 sk-sea 키를 생성합니다.

  2. 02

    base URL 설정

    SDK 또는 HTTP 클라이언트에서 https://api.apisea.ai/v1를 base URL로 사용합니다.

  3. 03

    요청 전송

    "model": "gemini-3.1-flash-lite-preview"와 아래 매개변수를 지정해 POST /v1/chat/completions를 호출합니다.

  4. 04

    응답 처리

    응답을 읽거나(stream: true로 token을 스트리밍합니다). 사용량과 비용은 콘솔에서 확인할 수 있습니다.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite-preview",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

매개변수

매개변수유형필수 여부기본값설명
modelstring필수 여부gpt-5Model name
messagesarray필수 여부—List of conversation messages
rolestring필수 여부userRole type
contentstring필수 여부—Message content
temperaturenumber선택 사항—Controls output randomness, range 0-2
max_tokensinteger선택 사항—Maximum number of tokens to generate
streamboolean선택 사항—Whether to use streaming output
top_pnumber선택 사항—Nucleus sampling parameter, range 0-1
frequency_penaltynumber선택 사항—Frequency penalty, range -2.0 to 2.0
presence_penaltynumber선택 사항—Presence penalty, range -2.0 to 2.0
stopstring or array선택 사항—Stop sequences
ninteger선택 사항—Number of completions to generate

gemini-3.1-flash-lite-preview으로 만들 수 있는 것

Conversational Assistants

Build text-based assistants using system instructions and user messages. Include previous assistant responses to supply multi-turn conversation context.

Document Summaries

Provide long text inputs and request concise summaries with a defined format and output budget. Validate important details against the source.

Content Drafting

Evaluate this lightweight-positioned tier for drafting emails, support replies, or internal documentation from supplied instructions.

Text Review Workflows

Ask the model to review supplied text for clarity or suggest revisions. Set explicit criteria in the system prompt and review the generated recommendations.

더 나은 결과를 위한 팁

  • 01

    Select the Exact Model

    Set the model parameter to gemini-3.1-flash-lite-preview rather than relying on the API's default model. Authenticate with your APISea key using a Bearer token.

  • 02

    Budget Generated Tokens

    Set max_tokens to the length your task needs, within the 65,536-token output maximum. Input and output tokens have separate prices, so account for both when estimating costs.

  • 03

    Tune One Sampling Control

    Use a lower temperature, such as 0.2, for more deterministic output. The documentation recommends adjusting either temperature or top_p rather than both.

  • 04

    Choose Response Delivery

    Set stream explicitly: true for SSE output or false to receive the complete response at once. This avoids depending on endpoint defaults.

제한 사항 및 알아둘 점

  • Maximum input is 1,048,576 tokens per request.

  • Maximum output is 65,536 tokens per request.

  • The preview name indicates that the model may change.

gemini-3.1-flash-lite-preview API FAQ

How much does gemini-3.1-flash-lite-preview cost on APISea?

APISea charges $0.22 per 1M input tokens and $1.32 per 1M output tokens. Provider list prices are $0.25 per 1M input tokens and $1.50 per 1M output tokens; the default configuration is about 12% below list price. Billing is pay-as-you-go and only for successful requests.

How do I call this model through APISea?

Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions. Set model to gemini-3.1-flash-lite-preview, include a messages array, and authenticate with an APISea 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. Messages contain role and content fields, with user, assistant, and system roles.

What are the input and output token limits?

Maximum input is 1,048,576 tokens and maximum output is 65,536 tokens. Set max_tokens to limit generation to your application's required length.

Can I use this model commercially?

Commercial use is subject to the provider's terms. Review the applicable Google terms and APISea documentation before deploying it in a commercial product.

How does Flash Lite Preview compare with Gemini Pro models?

By naming convention, Flash Lite is positioned as a lighter, faster, lower-cost tier, while Pro is positioned as a higher-capability tier. No comparative benchmarks are provided here, and the preview designation means the model may change.

관련 모델

모델 250개 이상 · 최소 충전 금액 $50

gemini-3.1-flash-lite-preview으로 개발을 시작하세요

하나의 키로 $50부터 사용한 만큼 결제하며, 성공한 요청에만 요금이 청구됩니다.