Gemini 2.5 Flash
ChatNot available
Best price-performance model. Ideal for large-scale processing and agentic use cases.
- Context
- 1.05Mtokens
- Max output
- 66Ktokens
- Released
- 2025-06
Pricing
$ / 1M tokensInput
$0.30/M
Output
$2.50/M
Cache Read
$0.03/M
Cache Write
$0.083333/M
Capabilities
3 listed- Chat
- Tool Use
- Coding
Code examples
POST /v1/chat/completionspython
from openai import OpenAI
client = OpenAI(
api_key="your_api_key",
base_url="https://api.modelstack.cc/v1",
)
response = client.chat.completions.create(
model="gemini-2.5-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Related models
Frequently asked questions
How is Gemini 2.5 Flash billed on ModelStack?expand_more
ModelStack bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.
What are the context window and maximum output for Gemini 2.5 Flash?expand_more
Gemini 2.5 Flash has a 1.05M context window and supports up to 66K of output.
How can I call Gemini 2.5 Flash through ModelStack?expand_more
Use the model ID `gemini-2.5-flash` with any OpenAI-compatible SDK pointed at the ModelStack API — see the code examples above for Python, Node.js, and cURL.
Which capabilities does Gemini 2.5 Flash support?expand_more
Gemini 2.5 Flash supports: Chat, Tool Use, Coding.