Requesty

gemini-3.1-pro-preview vs gemini-3.7-flash

Side-by-side comparison of gemini-3.1-pro-preview and gemini-3.7-flash: benchmarks, pricing, context window and capabilities. Both are accessible through Requesty's unified API. gemini-3.7-flash outperforms gemini-3.1-pro-preview on 4 of 5 shared benchmarks.

Benchmark comparison

Intelligence Indexreasoning
gemini-3.1-pro-preview36.7%
gemini-3.7-flash45.2%
Coding Indexcoding
gemini-3.1-pro-preview68.8%
gemini-3.7-flash76.1%
GPQA Diamondreasoning
gemini-3.1-pro-preview94.1%
gemini-3.7-flash94.5%
Terminal-Bench Hardagentic
gemini-3.1-pro-preview53.8%
gemini-3.7-flashN/A
τ²-Benchagentic
gemini-3.1-pro-preview95.6%
gemini-3.7-flashN/A
SciCodecoding
gemini-3.1-pro-preview58.7%
gemini-3.7-flash57.2%
Humanity's Last Examreasoning
gemini-3.1-pro-preview47.0%
gemini-3.7-flash47.9%

Scores sourced from official model cards, Artificial Analysis, and public leaderboards. Benchmarks measure specific skills and don't capture every aspect of model quality.

Pricing & specifications

gemini-3.1-pro-previewgemini-3.7-flash
Input price / 1M$2.00$1.50$0.75
Output price / 1M$12.00$7.50$3.75
Context window1.0M tokens1.0M tokens
Max output66K tokens66K tokens
Vision inputYesYes
Tool callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Computer useN/AN/A
ProviderGoogle LLC (Gemini API)Google LLC (Vertex AI)

Questions people ask

Is gemini-3.1-pro-preview better than gemini-3.7-flash?
gemini-3.7-flash outperforms gemini-3.1-pro-preview on 4 of 5 shared benchmarks. See the benchmark comparison above for specifics: gemini-3.1-pro-preview and gemini-3.7-flash have different strengths across reasoning, coding, math and multimodal tasks.
Which is cheaper, gemini-3.1-pro-preview or gemini-3.7-flash?
gemini-3.7-flash is cheaper. gemini-3.1-pro-preview costs $2.00/$12.00 per 1M input/output tokens, while gemini-3.7-flash costs $0.75/$3.75. The prices shown are what you pay: gemini-3.7-flash runs at 50% off its list rate of $1.50 per 1M input and $7.50 per 1M output.
Can I use gemini-3.1-pro-preview and gemini-3.7-flash through the same API?
Yes. Requesty provides a single OpenAI-compatible API that routes to both. Change just the "model" parameter to switch between "google/gemini-3.1-pro-preview" and "vertex/gemini-3.7-flash", no other code changes needed.
What are the context windows?
gemini-3.1-pro-preview supports up to 1.0M tokens of context. gemini-3.7-flash supports up to 1.0M tokens. Longer context means you can feed larger documents or codebases in a single prompt, though quality often degrades past 128K for most models.

Switch between gemini-3.1-pro-preview and gemini-3.7-flash with one line of code

Requesty provides a single OpenAI-compatible API for 600+ models. Change the model parameter, not your code.