Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt

Use this file to discover all available pages before exploring further.

Gemini 3.1 Flash Lite Preview is Google’s lightweight and efficient language model, available through Anyfast via the native Gemini API. Optimized for speed and cost-effectiveness while maintaining strong language understanding.

Key capabilities

  • Native Gemini API — Uses Google’s native API format for full feature access
  • Fast inference — Optimized for low-latency responses
  • Multi-turn conversations — Handles complex dialogue with system instructions
  • Cost-efficient — Lightweight model suitable for high-throughput applications

Quick example

curl "https://www.anyfast.ai/v1beta/models/gemini-3.1-flash-lite-preview:generateContent?key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "role": "user",
        "parts": [{ "text": "Explain quantum computing in simple terms." }]
      }
    ],
    "generationConfig": {
      "temperature": 1,
      "topP": 1
    }
  }'

Parameters

ParameterTypeRequiredDescription
keystringYesAPI key (query parameter)
contentsarrayYesArray of { role, parts } objects
systemInstructionobjectNoSystem instruction with parts array
generationConfig.temperaturefloatNo02. Controls randomness. Default: 1
generationConfig.topPfloatNoNucleus sampling threshold. Default: 1

API Reference

View the interactive API playground for Gemini 3.1 Flash Lite Preview.