Google
Online
New
Gemini 2.5 Flash
Ultra-fast and cost-efficient with massive context window.
Model ID: gemini-2-5-flash
Specifications
Context Window
1M tokens
Max Output
65.5K tokens
Input Price
$0.14 / 1M
Output Price
$0.54 / 1M
Capabilities
Chat
Code
Vision
Functions
JSON Mode
Price Comparison
See how much you save compared to official pricing.
| Metric | Official Price | Our Price | Savings |
|---|---|---|---|
| Input (per 1M tokens) | $0.15 | $0.14 | 10% off |
| Output (per 1M tokens) | $0.60 | $0.54 | 10% off |
Quick Start
Use this model via our OpenAI-compatible API endpoint.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.yourdomain.com/v1",
apiKey: "sk-your-api-key",
});
const response = await client.chat.completions.create({
model: "gemini-2-5-flash",
messages: [
{ role: "user", content: "Hello! What can you help me with?" },
],
max_tokens: 1024,
});
console.log(response.choices[0].message.content);Pricing Summary
Input$0.14 / 1M
Output$0.54 / 1M
Start for Free
$2 free credit on signup
Provider
Google DeepMind, creators of Gemini models.
Related Models
More from Google