All models Audio inputVideo inputVisionReasoningTool callsStructured output
Gemini 3.1 Pro Preview
Google
ChatReleased Feb 19, 2026gemini-3.1-pro-preview
Gemini 3.1 Pro Preview improves on Gemini 3 Pro with enhanced reasoning capabilities and adds medium thinking level support.
- Input
- $2.00
- Output
- $12.00
- Cache read
- $0.20
- Context window
- 1.1M
- Max output
- 65.5K
per 1M tokens
per 1M tokens
per 1M tokens
tokens
tokens
Pricing
USD per 1M tokens
| Fee item | Input up to 200,000 tokens | Input above 200,000 tokens |
|---|---|---|
| Input | $2.00 | $4.00 |
| Input, cache read | $0.20 | $0.40 |
| Output | $12.00 | $18.00 |
| Image input | $2.00 | $4.00 |
| Image input, cache read | $0.20 | $0.40 |
| Video input | $2.00 | $4.00 |
| Video input, cache read | $0.20 | $0.40 |
| Audio input | $2.00 | $4.00 |
| Audio input, cache read | $0.20 | $0.40 |
Prices are in USD. A request is billed at the prices in force when it is made.
Call it from your code
Keep the official SDK you already use: give it the LobeBase base URL and a LobeBase API key.
Base URL
https://api.lobebase.com/v1
curl https://api.lobebase.com/v1/chat/completions \
-H "Authorization: Bearer $LOBEBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-pro-preview",
"messages": [{ "role": "user", "content": "Hello" }]
}'Set LOBEBASE_API_KEY to your API key, then run the example.
More from Google
All Google modelsGemini 4 Neon
gemini-4-neon
Input
$3.00
Output
$15.00
Context
1M
Gemini 4 Carbon
gemini-4-carbon
Input
$4.00
Output
$20.00
Context
1M
Gemini 4 Argon
gemini-4-argon
Input
$4.00
Output
$20.00
Context
1M
Nano Banana 2.1
gemini-nano-banana-2.1
Input
$1.50
Output
$7.50
Context
163.8K
Gemini 3.8 Flash
gemini-3.8-flash
Input
$0.75
Output
$3.75
Context
1.1M
Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
Input
$0.30
Output
$2.50
Context
1.1M