Gemini 2.5 Pro
ChatNot available
State-of-the-art thinking model for complex reasoning in code, math, and STEM.
- Context
- 1.05Mtokens
- Max output
- 66Ktokens
- Released
- 2025-06
Pricing
$ / 1M tokensInput
$1.25/M
Output
$10.00/M
Cache Read
$0.125/M
Cache Write
$0.375/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-pro",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Related models
Frequently asked questions
How is Gemini 2.5 Pro 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 Pro?expand_more
Gemini 2.5 Pro has a 1.05M context window and supports up to 66K of output.
How can I call Gemini 2.5 Pro through ModelStack?expand_more
Use the model ID `gemini-2.5-pro` 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 Pro support?expand_more
Gemini 2.5 Pro supports: Chat, Tool Use, Coding.