Gemini · Mid-tier · 1,000K context window
$0.0376 per call at 800 input / 3,000 output tokens.
Per call
$0.0376
10K calls/mo
$376
Cache savings
90% off input
Batch savings
50% off all
Adjust token counts, volume, and discount toggles to model your marketing copy spend. Prices verified daily against provider pricing pages.
Call Gemini 3.1 Pro with the Google Generative AI SDK:
import google.generativeai as genai
model = genai.GenerativeModel("gemini-3.1-pro")
response = model.generate_content("Your prompt here")
# Cost: ~$0.0376 per call at standard rates
# Input: $2.00/MTok
# Output: $12.00/MTokPer-call cost for all models scoring 50+ on marketing copy benchmarks. Hover for details.
Cheapest viable option: Claude Sonnet 5 at $0.0316/call (16% less, 87/100 quality).
Marketing copy is generated in variants (the same brief producing many versions for testing), so cost scales with variant count rather than brief length. Requesting several variants in one call is markedly cheaper than several calls, because the brief and brand context are sent once instead of repeatedly.
For Gemini 3.1 Pro specifically, that means output tokens cost 6.0x more than input, at $12.00 vs $2.00 per MTok. At this use case’s 800/3,000 token split, output accounts for 96% of the $0.0376 per-call cost.
| Direction | $/MTok | Tokens per call |
|---|---|---|
| Input | $2.00 | 800 |
| Output | $12.00 | 3,000 |
Caching drops input cost from $2.00 to $0.20/MTok. For repeated system prompts, that saves $0.001440 per call.
Submit requests asynchronously and receive 50% off all token costs. This works best for offline pipelines where latency requirements are flexible.
| Monthly volume | Cost per call | Standard monthly | Cached monthly | You save with caching |
|---|---|---|---|---|
| 10,000 calls | $0.0376 | $376 | $361.6 | $14.4 |
| 50,000 calls | $0.0376 | $1,880 | $1,808 | $72 |
| 100,000 calls | $0.0376 | $3,760 | $3,616 | $144 |
| 500,000 calls | $0.0376 | $18,800 | $18,080 | $720 |
| 1,000,000 calls | $0.0376 | $37,600 | $36,160 | $1,440 |
Gemini 3.1 Pro is a solid pick for marketing copy
Scores 84/100 (rank #4 of 20). Good balance of quality and cost for marketing copy.
Top-ranked: Claude Fable 5 (95/100) at $0.1580/call
Gemini 3.1 Pro scores by task type. Marketing Copy highlighted.
| Task type | Confidence score | Rank out of 20 |
|---|---|---|
| Reasoning | 90/100 | #4 |
| Summarization | 87/100 | #4 |
| Q&A | 87/100 | #4 |
| Code Generation | 86/100 | #5 |
| Classification | 86/100 | #3 |
| Extraction | 85/100 | #4 |
| Code Review | 84/100 | #4 |
| Creative Writing(current page) | 84/100 | #4 |
Confidence scores are a third-party benchmark snapshot from week 29 of 2026. This snapshot is 8 weeks old, so treat the scores as directional and validate against your own evals.
7 models score 80+ on marketing copy benchmarks, sorted by input rate. Cheapest: Claude Sonnet 5 (16% less, 87/100 quality).
| Model | Provider | Input $/MTok | Output $/MTok | Quality | Per call | vs Gemini |
|---|---|---|---|---|---|---|
| Claude Sonnet 5 | Claude | $2.00 | $10.00 | 87/100 | $0.0316 | 16% cheaper |
| GPT 5.6 Terra | GPT | $2.00 | $12.00 | 80/100 | $0.0376 | same cost |
| Claude Sonnet 4.6 | Claude | $3.00 | $15.00 | 85/100 | $0.0474 | 26% more |
| GPT 5.6 Sol | GPT | $4.00 | $20.00 | 92/100 | $0.0632 | 68% more |
| Claude Opus 4.8 | Claude | $5.00 | $25.00 | 93/100 | $0.0790 | 110% more |
| GPT 5.5 | GPT | $5.00 | $30.00 | 91/100 | $0.0940 | 150% more |
| Claude Fable 5 | Claude | $10.00 | $50.00 | 95/100 | $0.1580 | 320% more |
Provider
Gemini
Tier
Mid-tier
Context
1,000K tokens
Released
Apr 2026
| Model | Tier | Input $/MTok | Output $/MTok | Context |
|---|---|---|---|---|
| Gemini 3.5 Flash | Fast / Budget | $1.50 | $9.00 | 1,000K |
| Gemini 3 Flash | Fast / Budget | $0.50 | $3.00 | 1,000K |
| Gemini 3.5 Flash-Lite | Fast / Budget | $0.30 | $2.50 | 1,000K |
You can compare Gemini 3.1 Pro head-to-head against any other model on our model comparison pages, or track how pricing has changed over time on the pricing history tracker.
See how Gemini 3.1 Pro costs change across different workload types.
Code Generation
$0.0520/call
Unit Test Generation
$0.0660/call
SQL Generation
$0.0150/call
API Generation
$0.0780/call
Code Refactoring
$0.0560/call
Code Review
$0.0340/call
PR Review
$0.0520/call
Security Review
$0.0420/call
Bug Detection
$0.0340/call
Document Summarization
$0.0320/call
PDF Summarization
$0.0480/call
Meeting Notes
$0.0400/call
Email Summarization
$0.0120/call
Chatbot
$0.0160/call
RAG Pipeline
$0.0300/call
Customer Support Bot
$0.0180/call
FAQ Bot
$0.0126/call
Data Extraction
$0.0200/call
JSON Extraction
$0.0156/call
Invoice Parsing
$0.0112/call
Resume Parsing
$0.0146/call
Chain of Thought
$0.0660/call
Legal Analysis
$0.0680/call
Math Reasoning
$0.0390/call
Financial Analysis
$0.0640/call
Content Moderation
$0.002200/call
Sentiment Analysis
$0.002200/call
Categorization
$0.003400/call
Intent Detection
$0.001800/call
Copywriting
$0.0250/call
Blog Writing
$0.0980/call
Product Descriptions
$0.0190/call
A typical marketing copy call using Gemini 3.1 Pro costs about $0.0376 per call. This estimate uses 800 input tokens and 3,000 output tokens at standard rates. Standard rates are $2.00 per million input tokens and $12.00 per million output tokens.
Gemini 3.1 Pro scores 84 out of 100 on marketing copy benchmarks overall. It ranks #4 across all 20 models in our cross-provider registry. The highest-ranked model for this task is Claude Fable 5 from Claude. That model scores 95/100 on this task type. Confidence scores are a third-party benchmark snapshot from week 29 of 2026. This snapshot is 8 weeks old, so treat the scores as directional and validate against your own evals.
The most affordable model for marketing copy above 80/100 quality is Claude Sonnet 5. It comes from Claude at $2.00 per million input tokens. Output costs $10.00 per million tokens with a quality score of 87/100. Switching from Gemini 3.1 Pro to Claude Sonnet 5 saves about 16% per API call.
Three strategies lower Gemini 3.1 Pro costs for this task type effectively. Prompt caching gives a 90% discount on input tokens when reusing system prompts. The batch API gives 50% off all tokens for asynchronous processing workloads. Prompt optimization reduces token counts through more concise instructions and context windows. Combining caching with batching brings your cost from $0.0376 to about $0.001880 per call.
Gemini has 3 other models alongside Gemini 3.1 Pro today: Gemini 3.5 Flash at $1.50/$9.00 per million tokens (fast / budget), Gemini 3 Flash at $0.50/$3.00 per million tokens (fast / budget), Gemini 3.5 Flash-Lite at $0.30/$2.50 per million tokens (fast / budget). The right choice depends on whether your marketing copy workload prioritizes quality, cost, or speed.
Gemini 3.1 Pro supports a context window of 1,000K tokens per API call. This sets the maximum combined length of your input prompt and generated response. For marketing copy, typical calls use 800 input and 3,000 output tokens. That is well within this limit, leaving room for longer prompts or multi-turn conversations.
This calculator estimates costs based on published rates only. Connect your API usage to see where your money goes and which models drive your spend.