Home / gemini-2.5-flash
gemini-2.5-flash

gemini-2.5-flash

gemini-2.5-flash
Price
Input$0.285 per million tokens $0.30 per million tokens
Cached writes (5m)$0.0788 per million tokens $0.083 per million tokens
Cached writes (1 hour)$0.95 per million tokens $1 per million tokens
Cached reads$0.0285 per million tokens $0.03 per million tokens
Output$2.375 per million tokens $2.5 per million tokens

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.jiekou.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="gemini-2.5-flash",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=65535,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantification
-

Supported Features

Context length
1048576
Maximum output
65535
Function call
Support
Structured output
Support
Reasoning
Support
serverless
Support
Input Capabilities
text, image, video, audio
Output Capabilities
text
Contact Us