All models

Gemini 3.1 Pro Preview

Google
ChatReleased Feb 19, 2026
gemini-3.1-pro-preview
Gemini 3.1 Pro Preview improves on Gemini 3 Pro with enhanced reasoning capabilities and adds medium thinking level support.
Audio inputVideo inputVisionReasoningTool callsStructured output
Input
$2.00
per 1M tokens
Output
$12.00
per 1M tokens
Cache read
$0.20
per 1M tokens
Context window
1.1M
tokens
Max output
65.5K
tokens

Pricing

USD per 1M tokens
Fee itemInput up to 200,000 tokensInput 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.

Every leading model. One API key.

Sign in, add credit and change one line of config. Pay for what you use, no subscription.

Get an API key