Google: Gemini 2.5 Flash
google/gemini-2.5-flash
Created Jun 17, 2025|1M context|$0.30/M input tokens|$2.50/M output tokens
Intel TDX
Gemini 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 (
Providers for Google: Gemini 2.5 Flash
RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.
google
Input Price
$0.30
Output Price
$2.50
Total Context
1M
API
RedPill provides an OpenAI-compatible completion API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
fetch("https://api.redpill.ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "google/gemini-2.5-flash",
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
})
})