# Gemini 2.0 Flash Lite - Core.Today AI API > Ultra-lightweight version of Gemini 2.0 Flash optimized for maximum speed and minimal cost. Perfect for high-volume, latency-sensitive applications. - **Provider**: Google - **Model ID**: gemini-2.0-flash-lite - **Category**: LLM - **Credits**: 0.5 per 1K tokens (avg) - **Speed**: Fast - **Quality**: Standard ## Model Specifications - **Context Window**: 1.0M tokens - **Max Output**: 8K tokens - **Training Cutoff**: August 2024 - **Supported Formats**: text, json, markdown - **Compatible SDK**: OpenAI, Google AI ### Capabilities - Vision (image input) - Function Calling - Streaming - JSON Mode - System Prompt ### Token Pricing (per 1M tokens) - **Input Tokens**: 139 credits ($0.09) - **Output Tokens**: 557 credits ($0.37) ## Features - Ultra-fast inference - Minimal cost per request - 1,048,576 token context window - 8,192 max output tokens - Multimodal input: audio, image, video, text - Function calling, structured outputs, caching, Batch API - Deprecated — migrate to Gemini 3.1 Flash-Lite ## Use Cases - High-volume chatbots - Real-time classification - Content filtering - Simple data extraction - Batch processing ## API Endpoint Base URL: https://api.core.today Endpoint: POST /llm/gemini/v1beta/openai/chat/completions ## Authentication Header: Authorization: Bearer YOUR_API_KEY Note: LLM endpoints use OpenAI-compatible format with Authorization Bearer token. ## Input Parameters ### Required - **messages**: array - Array of message objects (OpenAI format) ### Optional - **temperature**: float (default: 1) - Sampling temperature (0-2) - **max_tokens**: integer - Maximum output tokens. Max: 8,192. Context window (input + output): 1,048,576 tokens. ## Examples ### Quick Classification Fast text classification ```json { "model": "gemini-2.0-flash-lite", "messages": [ { "role": "system", "content": "Classify the sentiment of the text as positive, negative, or neutral. Respond with just the label." }, { "role": "user", "content": "The product works great but the delivery was slow." } ], "max_tokens": 10, "temperature": 0 } ``` ## Response Format ```json { "id": "chatcmpl-abc123", "object": "chat.completion", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Response text here" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 100, "completion_tokens": 50, "total_tokens": 150 } } ``` ## Tips - Deprecated — migrate to Gemini 3.1 Flash-Lite for better performance - Max output tokens: 8,192 — much lower than 3.x Flash-Lite (65,536) - Context window 1,048,576 tokens (input + output) - Best for simple, high-volume tasks - Use temperature 0 for deterministic classification - Ideal for real-time applications requiring low latency ## Documentation https://ai.google.dev/gemini-api/docs