| gemini-3.1-pro-preview | gemini-3.6-flash | |
|---|---|---|
| Providers | ||
| Input $/M | $2.00 | $1.50 |
| Output $/M | $12.00 | $7.50 |
| Output multiplier | ×6.00 | ×5.00 |
| Context window | — | — |
| Intelligence index | 36.7 | 40.3 |
| Coding index | 68.8 | 69.2 |
Input pricing is close — 1.33× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Measured intelligence index differs by only 3.6 points, which in practice means the two models are interchangeable on most tasks — pick on price and latency.
Tags: gemini-3.1-pro-preview — Chat, Reasoning, Coding, Vision · gemini-3.6-flash — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# gemini-3.1-pro-preview
client.chat.completions.create(model="gemini-3.1-pro-preview", messages=[{"role":"user","content":"Hi"}])
# gemini-3.6-flash
client.chat.completions.create(model="gemini-3.6-flash", messages=[{"role": "user", "content": "Hi"}])