API cost decision in 10 seconds

Gemini 3.1 Pro Preview Custom Tools vs R1

Pick R1 for lower cost; pick Gemini 3.1 Pro Preview Custom Tools only if the larger context window matters more.

Page updated:  Data confirmed:  Prices normalized to USD per 1M tokens Sample workload: 1M input + 500K output

Budget verdict

Pick R1 for lower cost; pick Gemini 3.1 Pro Preview Custom Tools only if the larger context window matters more.

On the standard 1M input plus 500K output workload, R1 is estimated at $1.95 vs $8 for Gemini 3.1 Pro Preview Custom Tools, saving $6.05 (75.6% lower).

Cost-first pickR1
Context-first pickGemini 3.1 Pro Preview Custom Tools
Sample savings$6.0575.6%
10x traffic gap$60.5

Gemini 3.1 Pro Preview Custom Tools has more context, but R1 saves $6.05 on the standard workload. At 10x that traffic, the same price gap is about $60.5. Use the calculator below to replace the sample workload with your own token volume.

Cost sensitivity

Workload Sensitivity

Same prices, different token mixes.

R1 stays cheaper across input-heavy, balanced, and output-heavy sample workloads.

Workload shapeToken mixBetter pickGemini 3.1 Pro Preview Custom ToolsR1
Input-heavy / RAG5M input + 500K outputR1$16$4.75
Balanced workload1M input + 1M outputR1$14$3.2
Output-heavy chatbot1M input + 5M outputR1$62$13.2
Cheaper input R1 $2 vs $0.7 / 1M

R1 is $1.3 cheaper per 1M input tokens (65% lower; 2.86x difference).

Cheaper output R1 $12 vs $2.5 / 1M

R1 is $9.5 cheaper per 1M output tokens (79.2% lower; 4.8x difference).

Larger context Gemini 3.1 Pro Preview Custom Tools 1.05M vs 163.84K

Gemini 3.1 Pro Preview Custom Tools has 884.92K more context (6.4x larger).

Sample workload R1 $8 vs $1.95

R1 is $6.05 cheaper on the standard workload (75.6% lower).

Estimate your workload cost

Your Workload Cost

Prices are normalized to USD per 1M tokens.
Gemini 3.1 Pro Preview Custom Tools Calculating… Estimated API cost
R1 Calculating… Estimated API cost
Cheaper for this workload Calculating… Difference: calculating…

This estimate uses normalized public API pricing per 1M tokens. It is a planning aid, not a billing quote. Verify provider pricing, limits, and terms before production use.

Quick Decision

Verdict

R1 has the lower input price; R1 has the lower output price; Gemini 3.1 Pro Preview Custom Tools offers the larger context window. For the 1M input plus 500K output sample, R1 is cheaper for the standard workload.

For a 1M input token plus 500K output token workload, the estimated API cost is $8 for Gemini 3.1 Pro Preview Custom Tools and $1.95 for R1.

Best Fit

Choose Gemini 3.1 Pro Preview Custom Tools when you care most about larger context window.

Choose R1 when you care most about lower input-token price, and lower output-token price.

Decision Notes
  • On the standard 1M input plus 500K output workload, R1 is estimated at $1.95 vs $8 for Gemini 3.1 Pro Preview Custom Tools, saving $6.05 (75.6% lower).
  • R1 is $6.05 cheaper on the standard workload (75.6% lower).
  • R1 is $1.3 cheaper per 1M input tokens (65% lower; 2.86x difference).
  • R1 is $9.5 cheaper per 1M output tokens (79.2% lower; 4.8x difference).
  • Gemini 3.1 Pro Preview Custom Tools has 884.92K more context (6.4x larger).
Head-to-Head Specs
FeatureGemini 3.1 Pro Preview Custom Tools
(Google)
R1
(DeepSeek)
Input Price
prompt tokens per 1M
$2$0.7
Completion Price
per 1M tokens
$12$2.5
Sample Workload Cost
1M input + 500K output
$8$1.95
Context Window1.05M163.84K
Release Date
Popularity#132#144

Use-Case Decision Matrix

Use caseBetter pickWhy
Budget-constrained productionR1On the standard 1M input plus 500K output workload, R1 is estimated at $1.95 vs $8 for Gemini 3.1 Pro Preview Custom Tools, saving $6.05 (75.6% lower).
High-volume input processingR1Lower prompt-token price matters most when prompts, retrieved passages, or documents dominate the bill.
Long responses and chatbotsR1Lower output-token price matters most when assistants generate many completion tokens.
RAG or long-document workGemini 3.1 Pro Preview Custom ToolsA larger context window leaves more room for retrieved passages, conversation history, or source files.

Related Alternatives

Same-provider lower-cost swaps
  • Gemma 4 31B (free) can replace Gemini 3.1 Pro Preview Custom Tools when lower sample workload cost matters most: $0.
  • Gemma 4 26B A4B (free) can replace Gemini 3.1 Pro Preview Custom Tools when lower sample workload cost matters most: $0.
  • Lyria 3 Clip Preview can replace Gemini 3.1 Pro Preview Custom Tools when lower sample workload cost matters most: $0.
  • Lyria 3 Pro Preview can replace Gemini 3.1 Pro Preview Custom Tools when lower sample workload cost matters most: $0.
Larger context near this budget
  • Llama 4 Scout offers 10M context with $0.23 sample workload cost.
  • Grok 4.20 offers 2M context with $2.5 sample workload cost.
  • Grok 4.20 Multi-Agent offers 2M context with $5 sample workload cost.
  • GPT-5.4 offers 1.05M context with $10 sample workload cost.

Cheaper alternatives

Review low-cost models sorted by a standard 1M input plus 500K output workload.

Open cheapest models

Larger context alternatives

Find models with larger context windows for RAG, long documents, and codebase review.

Open largest context models

Provider catalogs

Compare models within provider hubs before choosing a final API vendor.

Open provider hubs

Google catalog

Review all tracked Google models before deciding whether this matchup is the right shortlist.

Open Google models

DeepSeek catalog

Check other DeepSeek models with comparable pricing, context, or release timing.

Open DeepSeek models
Gemini 3.1 Pro Preview Custom Tools

Gemini 3.1 Pro Preview Custom Tools is a variant of Gemini 3.1 Pro that improves tool selection behavior by preventing overuse of a general bash tool when more efficient third-party...

R1

DeepSeek R1 is here: Performance on par with [OpenAI o1](/openai/o1), but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....