Skip to main content
Core.Today
|
GoogleFastHigh

Gemini 3.1 Flash Lite Image

Lightweight, lower-cost sibling of Gemini 3.1 Flash Image with native image generation. Generates images directly in chat responses alongside text, with separate pricing for text and image output tokens: $0.25 input, $1.50 text output and $30 image output per million tokens.

465/2,787credits
input / output ยท per 1M tokens
Native image generation in chat at Lite-tier pricing
65,536 token input limit
65,536 max output tokens
Multimodal input: text and image
Output modalities: image + text
Image output at half the Gemini 3.1 Flash Image rate ($30/M vs $60/M)
Thinking and Batch API

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Model Specifications

Context Window
66K
tokens
Max Output
66K
tokens
Training Cutoff
Not published
Compatible SDK
OpenAI, Google AI

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt
Image Generation

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens465$0.31
Output Tokens2,787$1.86
๐Ÿ–ผImage Output Tokens55,740$37.16

* 1,500 credits โ‰ˆ $1 (actual charges may vary based on usage)

Quick Start

curl -X POST "https://api.core.today/llm/gemini/v1beta/openai/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "gemini-3.1-flash-lite-image",
  "messages": [
    {
      "role": "user",
      "content": "Explain the concept of neural style transfer in simple terms."
    }
  ],
  "max_tokens": 1000,
  "temperature": 0.7
}'

Parameters

ParameterTypeRequiredDefaultDescription
messagesarrayYes-Array of message objects (OpenAI format)
temperaturefloatNo1Sampling temperature (0-2)
top_pfloatNo0.95Nucleus sampling parameter
max_tokensintegerNo-Maximum output tokens. Max: 65,536. Input limit: 65,536 tokens.
streambooleanNofalseEnable Server-Sent Events streaming

Examples

Text Chat

Standard text conversation

curl -X POST "https://api.core.today/llm/gemini/v1beta/openai/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "gemini-3.1-flash-lite-image",
  "messages": [
    {
      "role": "user",
      "content": "Explain the concept of neural style transfer in simple terms."
    }
  ],
  "max_tokens": 1000,
  "temperature": 0.7
}'

Image Generation

Generate an image through natural language conversation

curl -X POST "https://api.core.today/llm/gemini/v1beta/openai/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "gemini-3.1-flash-lite-image",
  "messages": [
    {
      "role": "user",
      "content": "Generate an image of a serene Japanese garden with a koi pond, cherry blossoms, and a small wooden bridge at sunset."
    }
  ],
  "max_tokens": 4096
}'

Tips & Best Practices

1Lowest-cost Gemini image model - $0.25/M input, $1.50/M text output, $30/M image output
2Image output tokens are priced separately at $30.00/M (55,740 credits/M), half of Gemini 3.1 Flash Image
3Text-only responses use standard text output pricing ($1.50/M)
4Input limit is 65,536 tokens - keep reference images and prompts compact
5Step up to gemini-3.1-flash-image or gemini-3-pro-image when image fidelity matters more than cost

Use Cases

Conversational image generation
Visual content creation with text descriptions
Image editing via natural language instructions
Creative design brainstorming
Multimodal content production

Model Info

ProviderGoogle
Version3.1
CategoryLLM
Price250 credits

API Endpoint

POST /llm/gemini/v1beta/openai/chat/completions
Try in ConsoleBack to Docs