Per MillionLLM API prices, tracked daily

gemini-3.1-pro-preview-customtools API Pricing

gemini-3.1-pro-preview-customtools on Google Gemini API costs $2.00 per 1M input tokens and $12.00 per 1M output tokens (as of ).

gemini-3.1-pro-preview-customtools API Pricing. Source: the LiteLLM price list (MIT License)
Input$2.00 / 1M tokens
Output$12.00 / 1M tokens
Cached input (read)$0.20
Cache write—
Batch input / output$1.00 / $6.00
Above 200K tokens (input / output)$4.00 / $18.00
Context window1.04858M tokens
Max output66K tokens
Supportsvision, tool calling, reasoning, prompt caching
Deprecation dateNone listed
API model idgemini-3.1-pro-preview-customtools
In our records since

What it costs for common jobs

Estimated from the list price above (no caching or batch discount).

What it costs for common jobs. Source: the LiteLLM price list (MIT License)
JobEstimated cost
1,000 chat replies (2,000 tokens in, 500 out each)$10.00
Summarising 100 long documents (50,000 in, 1,000 out each)$11.20
1 million classification calls (300 in, 5 out each)$660.00

Try your own numbers in the LLM API cost calculator.

Price history

No price change recorded since .

Similarly priced models

Sort:

Similarly priced models. Source: the LiteLLM price list (MIT License)
ModelProviderInput / 1MOutput / 1MCached input / 1MContext
deep-research-max-preview-04-2026Google Gemini API$2.00$12.00—1.04858M
deep-research-preview-04-2026Google Gemini API$2.00$12.00—1.04858M
deep-research-pro-preview-12-2025Google Gemini API$2.00$12.00—1.04858M
gemini-3.1-pro-previewGoogle Gemini API$2.00$12.00$0.201.04858M
gemini-pro-latestGoogle Gemini API$2.00$12.00$0.201.04858M
gemini-4-argonGoogle Gemini API$2.00$10.00$0.101.04858M
gemini-2.5-computer-use-preview-10-2025Google Gemini API$1.25$10.00—128K
gemini-2.5-proGoogle Gemini API$1.25$10.00$0.121.04858M