G
GoogleActive

Gemini 2.0 Flash API

The cheapest 1M context model on the market. Excellent for cost-sensitive, high-volume applications.

💰 Save up to 70% vs official Google pricing
INPUT / 1M tokens
$0.10
OUTPUT / 1M tokens
$0.40
CONTEXT WINDOW
1M

Technical Specifications

ProviderGoogle
Model FamilyGemini 2.0 Flash
Release Date2025-02
Context Window1M
Max Output Tokens8,192
Input Price$0.10 / 1M tokens
Output Price$0.40 / 1M tokens
Vision SupportYes ✓
Function CallingNo
JSON ModeNo
StreamingNo
Fine TuningNot Available
StatusActive ✓

Overview

Gemini 2.0 Flash is Google's current gemini-class AI model, released in 2025-02. The cheapest 1M context model on the market. Excellent for cost-sensitive, high-volume applications.

With a 1M context window and maximum output of 8,192 tokens, Gemini 2.0 Flash is well-suited for ultra-low cost and 1m context. At $0.10/1M input and $0.40/1M output, it offers extremely competitive pricing within the Google ecosystem.

Gemini 2.0 Flash supports 3 capabilities: Vision, Audio, Code Execution. Fine-tuning is not available for this model. The model serves as an ultra-low cost solution for developers building multimodal AI applications.

Through AI API Hub, you can access Gemini 2.0 Flash with USDT & USDC payments, no credit card required. All via a fully OpenAI-compatible API — just change your base URL and start building in 30 seconds.

API Examples

Python

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.apiyihe.org/v1"
)

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

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

JavaScript / Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.API_KEY,
  baseURL: "https://api.apiyihe.org/v1"
});

const response = await client.chat.completions.create({
  model: "gemini-2.0-flash",
  messages: [
    { role: "user", content: "Hello" }
  ]
});

console.log(response.choices[0].message.content);

cURL

curl https://api.apiyihe.org/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gemini-2.0-flash",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Compare Alternatives

Frequently Asked Questions

What is Gemini 2.0 Flash?

Gemini 2.0 Flash is Google's current gemini model. The cheapest 1M context model on the market. Excellent for cost-sensitive, high-volume applications.. It features a 1M context window, supports Vision, Audio, Code Execution, and is available through AI API Hub with USDT/USDC payments.

How much does Gemini 2.0 Flash cost?

Gemini 2.0 Flash pricing: $0.10 per 1M input tokens, $0.40 per 1M output tokens. Pay-as-you-go with no minimum commitment. Sign up at AI API Hub and start with as little as $5.

Gemini 2.0 Flash vs GPT-5.5?

Gemini 2.0 Flash: $0.10/$1M input, 1M context. GPT-5.5: $5.00/$1M input, 256K context. Gemini 2.0 Flash is more cost-effective. Ultra-low cost. Compare them at /compare/gemini-2.0-flash-vs-gpt-5.5/.

Gemini 2.0 Flash context window?

Gemini 2.0 Flash has a 1M context window, capable of processing up to 1,048,576 tokens in a single request. Maximum output tokens: 8,192.

Does Gemini 2.0 Flash support function calling?

No, Gemini 2.0 Flash does not natively support function calling. For function calling use cases, consider Google's flagship models.

Is Gemini 2.0 Flash multimodal?

Yes, Gemini 2.0 Flash is fully multimodal — it can process text, images, and audio natively in a single request.

Gemini 2.0 Flash API rate limits?

Gemini 2.0 Flash rate limits: 2K RPM. Higher tier plans offer increased throughput. For high-volume production use, consider Google's faster variant models.

How to access Gemini 2.0 Flash API?

Access Gemini 2.0 Flash through AI API Hub: (1) Register at api.apiyihe.org/register?aff=8JZC, (2) Deposit USDT/USDC, (3) Get your API key instantly, (4) Use the OpenAI-compatible endpoint https://api.apiyihe.org/v1 with model name "gemini-2.0-flash". Start building in under 30 seconds.

Get Gemini 2.0 Flash API Access

Pay with USDT & USDC. Same model, up to 70% less.

Crea Account
Ottieni Chiave API