Google: Gemini 2.5 Flash
google/gemini-2.5-flashGemini 2.5 Flash is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in "thinking" capabilities, enabling it to provide responses with greater accuracy and nuanced context handling. Additionally, Gemini 2.5 Flash is configurable through the "max tokens for reasoning" parameter, as described in the documentation (
- Modalities
- TextImageFileAudioVideotoText
- In / out price
- $0.30 / $2.50per 1M
- Context
- 1M
- Released
- Jun 17, 2025
Providers
RedPill routes this model across providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.
| Checking | Checking | Checking |
Start building
Call this model from your application, or through your agents.
For applications
Point your OpenAI SDK at the Gateway. Chat, completions, and embeddings work unchanged.
For agents
Connect Claude Code, Codex, Pi, and more through Private AI Proxy. Traffic is protected while a verified session is active.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.redpill.ai/v1",
apiKey: process.env.REDPILL_API_KEY,
});
const response = await client.chat.completions.create({
model: "google/gemini-2.5-flash",
messages: [{ role: "user", content: "Say hello." }],
});