AI Models/Gemini/Google: Gemini 2.0 Flash
GeminiChat

Google: Gemini 2.0 Flash

google/gemini-2.0-flash-001
1049KContext Window
8KMax Output
Supported Protocols:max_tokenstemperaturetop_pseedresponse_formattoolstool_choicestopstructured_outputs
Normal

Gemini Flash 2.0 offers a significantly faster time to first token (TTFT) compared to [Gemini Flash 1.5](/google/gemini-flash-1.5), while maintaining quality on par with larger models like [Gemini Pro 1.5](/google/gemini-pro-1.5). It introduces notable enhancements in multimodal understanding, coding capabilities, complex instruction following, and function calling. These advancements come together to deliver more seamless and robust agentic experiences.

Capabilities

👁 Vision🔧 Function CallingText GenerationCode GenerationAnalysis & ReasoningReasoning

Technical Specs

Input Modality
Text、Image、Text、Audio、Video
Output Modality
Text
Arch
Default Temperature
0.7
Default Top_P
1

Pricing

Pay per use, no monthly fees
Billing TypeUnitPrice
Text Input$0.1000/M tokens
Text Output$0.4000/M tokens
Cache Read$0.0250/M tokens
Cache Write 1h$0.0833/M tokens
Cache Write$0.0833/M tokens
Audio Cache Read$0.1750/M tokens
Image Input< $0.001/张
Audio Input$0.7000/分钟
Web Search$0.0140/次

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://api.uniontoken.ai/v1",
    api_key="YOUR_UNIONTOKEN_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemini-2.0-flash-001",
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(response.choices[0].message.content)

FAQ

Ready to get started?

Get 1M free tokens on registration, no monthly fees or minimum spend

Register Now →