Gemini 2.0 Flash
Google logo

Gemini 2.0 Flash

gemini-2.0-flash
Google
Gemini 2.0 Flash is Google's latest lightweight model featuring extremely low hallucination rates while maintaining fast response times, offering developers high-precision and efficient AI solutions particularly suited for applications requiring high factual accuracy.

Pricing

PricingCache ReadInput AudioInput Audio Cached Web SearchImage GenerationCache Storage
$0.1$0.4
$0.25/M tokens$0.7/M tokens$0.175/M tokens$0.035/request$0.039/image$1/h/M tokens

Input Modalities

  • Text
  • Vision
  • Audio
  • Video

Output Modalities

  • Text

Capabilities

  • Tools
  • Tool calling
  • Structured outputs
  • Long context

Providers

VertexAI gemini-2.0-flash
Pricing$0.1$0.4
Cache Read$0.25/M tokens
Input Audio$0.7/M tokens
Input Audio Cached $0.175/M tokens
Web Search$0.035/request
Image Generation$0.039/image
Cache Storage$1/h/M tokens
Context1M
Max output8K
Latency0.7S
Throughput131.2TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
Google AI Studio gemini-2.0-flash
Pricing$0.1$0.4
Cache Read$0.25/M tokens
Input Audio$0.7/M tokens
Input Audio Cached $0.175/M tokens
Web Search$0.035/request
Image Generation$0.039/image
Cache Storage$1/h/M tokens
Context1M
Max output8K
Latency0.6S
Throughput140.3TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today

Performance for gemini-2.0-flash

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://shkq.org/v1",
)

response = client.chat.completions.create(
    model="gemini-2.0-flash",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

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

Frequently asked questions

What is Gemini 2.0 Flash?

Gemini 2.0 Flash is Google's latest lightweight model featuring extremely low hallucination rates while maintaining fast response times, offering developers high-precision and efficient AI solutions particularly suited for applications requiring high factual accuracy.