---
title: "Qwen3.8 Max vs Gemini 3.1 Pro Preview API pricing compared"
description: "Qwen3.8 Max vs Gemini 3.1 Pro Preview API price per 1M tokens: USD 1.65 / USD 4.951 vs USD 2 / USD 12 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/qwen3.8-max-vs-gemini-3.1-pro-preview/
lang: en
updated: 2026-11-16
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Qwen3.8 Max vs Gemini 3.1 Pro Preview API pricing

Updated 2026-11-16

Qwen3.8 Max: USD 1.65 input, USD 4.951 output per 1M tokens (DeepInfra). Gemini 3.1 Pro Preview: USD 2 input, USD 12 output per 1M tokens (Google Gemini API and 2 others). At 3 input tokens per output token, Gemini 3.1 Pro Preview costs 82% more than Qwen3.8 Max (USD 4.50 vs USD 2.475 per 1M).

Picked by the same-tier rule: both are in the fourth quarter of the indexed models by price (above USD 1.40 per 1M tokens at 3:1) and in the same size class, large (a tier word such as Pro, Opus or Max, or 200B parameters or more). Gemini 3.1 Pro Preview is the 4th-closest-priced model from another maker to Qwen3.8 Max in that bucket. **Price only**: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-16), with no claim about quality, speed or accuracy.

## How do Qwen3.8 Max and Gemini 3.1 Pro Preview differ on price?

-   Cheapest input price: Qwen3.8 Max USD 1.65 against USD 2 per 1M tokens, so Gemini 3.1 Pro Preview costs 1.21× as much (21% more).
-   Cheapest output price: Qwen3.8 Max USD 4.951 against USD 12 per 1M tokens, so Gemini 3.1 Pro Preview costs 2.4× as much.
-   Among the 201 indexed models, Qwen3.8 Max ranks 157th cheapest and Gemini 3.1 Pro Preview 179th on the 3:1 blend.
-   No input:output mix changes the answer: Qwen3.8 Max is cheaper at every mix before cache discounts.
-   Both list cached-input discounts: Qwen3.8 Max at 6 standard prices of 7, from USD 0.20 (DigitalOcean, 90% below that provider's input price); Gemini 3.1 Pro Preview at 2 standard prices of 3, from USD 0.20 (Google Gemini API, 90% below that provider's input price).
-   Gemini 3.1 Pro Preview states up to 1,048,576 tokens of context and Qwen3.8 Max 1,000,000, within 10% of each other.
-   Qwen3.8 Max has 7 providers with a standard price, 4 more than Gemini 3.1 Pro Preview; 1 provider sells both (GMI Cloud).
-   On one account, GMI Cloud charges USD 3 for Qwen3.8 Max (1.21× its cheapest price) and USD 4.50 for Gemini 3.1 Pro Preview (its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
-   Shopping around matters more for Qwen3.8 Max: its dearest standard price is 1.21× its cheapest, against 1× for Gemini 3.1 Pro Preview.
-   Qwen's own API charges USD 3 for Qwen3.8 Max at 3:1, 21% above the cheapest provider (DeepInfra).
-   Google's own API is one of 3 providers tied for the lowest standard price we found for Gemini 3.1 Pro Preview, USD 4.50 at 3:1.
-   Qwen3.8 Max has no batch price on file; Gemini 3.1 Pro Preview has a batch price at 2 providers, from USD 2.25 at 3:1 (Google Gemini API).
-   For the one-developer coding agent preset, the gap is USD 8,637 a year in Qwen3.8 Max's favour (Qwen3.8 Max USD 1,206 a month, Gemini 3.1 Pro Preview USD 1,926).

## Qwen3.8 Max and Gemini 3.1 Pro Preview prices side by side

USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.

Qwen3.8 Max and Gemini 3.1 Pro Preview API prices compared
| Price | Qwen3.8 Max | Gemini 3.1 Pro Preview |
| --- | --- | --- |
| Model page | [Qwen3.8 Max](https://broadrouter.com/llm-api-pricing/qwen3.8-max/) · Qwen · 7 providers | [Gemini 3.1 Pro Preview](https://broadrouter.com/llm-api-pricing/gemini-3.1-pro-preview/) · Google · 3 providers |
| Cheapest standard price, blended 3:1 | USD 2.475 lower · USD 1.65 in / USD 4.951 out at DeepInfra · [DeepInfra page](https://deepinfra.com/Qwen/Qwen3.8-Max) checked 2026-11-14 | USD 4.50 · USD 2 in / USD 12 out at Google Gemini API and 2 others · [Google Gemini API page](https://aistudio.google.com/docs/pricing#gemini-3.1-pro-preview) checked 2026-11-14 |
| Cheapest input | USD 1.65 lower · DeepInfra [source](https://deepinfra.com/Qwen/Qwen3.8-Max) | USD 2 · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.1-pro-preview) |
| Cheapest cached input | USD 0.20 tie · DigitalOcean [source](https://docs.digitalocean.com/products/inference/details/pricing/) | USD 0.20 tie · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.1-pro-preview) |
| Cheapest output | USD 4.951 lower · DeepInfra [source](https://deepinfra.com/Qwen/Qwen3.8-Max) | USD 12 · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.1-pro-preview) |
| Maker's own API | USD 2 / USD 6 · Alibaba Cloud [source](https://www.alibabacloud.com/help/en/model-studio/model-pricing) | USD 2 / USD 12 · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-3.1-pro-preview) |
| Median standard price | USD 2 / USD 6 · input / output, 7 prices | USD 2 / USD 12 · input / output, 3 prices |
| Context window | 1,000,000 tokens, largest stated; from 256,000 at some providers | 1,048,576 tokens, largest stated |
| Providers with a standard price | 7 | 3 |

-   **Lower** marks the lower price on a line; **tie**, equal prices. Other tiers and free rows are on the model pages.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Qwen3.8%20Max%20vs%20Gemini%203.1%20Pro%20Preview%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fqwen3.8-max-vs-gemini-3.1-pro-preview%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What do Qwen3.8 Max and Gemini 3.1 Pro Preview cost for a real workload?

30 days at each model's cheapest standard price for the workload (presets of the [cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=qwen3.8-max,gemini-3.1-pro-preview); cached input at the cached price where listed).

Monthly cost of three workloads on Qwen3.8 Max and Gemini 3.1 Pro Preview
| Workload | Qwen3.8 Max | Gemini 3.1 Pro Preview | Difference |
| --- | --- | --- | --- |
| **Support chatbot** · 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 159.64 · DeepInfra | USD 298.80 · Google Gemini API | USD 139.16 · Qwen3.8 Max lower |
| **RAG over documents** · 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 366.30 · DeepInfra | USD 530.40 · Google Gemini API | USD 164.10 · Qwen3.8 Max lower |
| **Coding agent (one developer)** · 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 1,206 · DeepInfra | USD 1,926 · Google Gemini API | USD 719.73 · Qwen3.8 Max lower |

Qwen3.8 Max is cheaper on all three workloads. The widest gap is on Support chatbot: the dearer model costs 87% more than the cheaper one.

## Does the cheaper model change with your input:output ratio?

Qwen3.8 Max is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Gemini 3.1 Pro Preview's, so the input:output ratio never changes the answer.

Price per 1M tokens of Qwen3.8 Max and Gemini 3.1 Pro Preview at different input:output mixes
| Input : output tokens | Qwen3.8 Max | Gemini 3.1 Pro Preview |
| --- | --- | --- |
| **1 : 3** (long answers) | USD 4.126 lower · DeepInfra | USD 9.50 · Google Gemini API |
| **1 : 1** | USD 3.30 lower · DeepInfra | USD 7 · Google Gemini API |
| **3 : 1** (the site’s blend) | USD 2.475 lower · DeepInfra | USD 4.50 · Google Gemini API |
| **10 : 1** (retrieval, long prompts) | USD 1.95 lower · DeepInfra | USD 2.909 · Google Gemini API |
| **30 : 1** (agents, big contexts) | USD 1.756 lower · DeepInfra | USD 2.323 · Google Gemini API |

USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.

## What do Qwen3.8 Max and Gemini 3.1 Pro Preview cost per character in other languages?

Not measured: the [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/) covers only tokenizers we could measure from published files, and Qwen3.8 Max and Gemini 3.1 Pro Preview are not among them. Count tokens on your own text with the counters below.

## Check it on your own traffic

-   [Qwen3.8 Max API pricing](https://broadrouter.com/llm-api-pricing/qwen3.8-max/): all 7 providers and other tiers.
-   [Gemini 3.1 Pro Preview API pricing](https://broadrouter.com/llm-api-pricing/gemini-3.1-pro-preview/): all 3 providers and other tiers.
-   [Cost calculator with Qwen3.8 Max and Gemini 3.1 Pro Preview preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=qwen3.8-max,gemini-3.1-pro-preview)
-   [Qwen token counter](https://broadrouter.com/tools/qwen-token-counter/)
-   [Token counter](https://broadrouter.com/tools/token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [Qwen3.8 Max vs Qwen3.7 Max](https://broadrouter.com/llm-api-pricing/compare/qwen3.8-max-vs-qwen3.7-max/) · [Qwen3.8 Max vs Kimi K3](https://broadrouter.com/llm-api-pricing/compare/qwen3.8-max-vs-kimi-k3/) · [DeepSeek V4 Pro vs Qwen3.8 Max](https://broadrouter.com/llm-api-pricing/compare/deepseek-v4-pro-vs-qwen3.8-max/) · [Qwen3.8 Max (0902) vs Qwen3.8 Max](https://broadrouter.com/llm-api-pricing/compare/qwen3.8-max-0902-vs-qwen3.8-max/) · [Qwen3.8 Max vs Qwen3.8 Flash](https://broadrouter.com/llm-api-pricing/compare/qwen3.8-max-vs-qwen3.8-flash/) · [Gemini 3.1 Pro Preview vs Gemini 2.5 Pro](https://broadrouter.com/llm-api-pricing/compare/gemini-3.1-pro-preview-vs-gemini-2.5-pro/) · [Gemini 3.1 Pro Preview vs Gemini 3.1 Flash-Lite](https://broadrouter.com/llm-api-pricing/compare/gemini-3.1-pro-preview-vs-gemini-3.1-flash-lite/) · [every Qwen3.8 Max comparison](https://broadrouter.com/llm-api-pricing/compare/#m-qwen3.8-max) · [every Gemini 3.1 Pro Preview comparison](https://broadrouter.com/llm-api-pricing/compare/#m-gemini-3.1-pro-preview) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## Questions

### Is Qwen3.8 Max cheaper than Gemini 3.1 Pro Preview?

Yes. On a blend of 3 input tokens to 1 output token, Qwen3.8 Max costs USD 2.475 per 1M tokens and Gemini 3.1 Pro Preview USD 4.50, at each model's cheapest standard price. For input alone, Qwen3.8 Max is cheaper (USD 1.65 against USD 2 per 1M); for output alone, Qwen3.8 Max is (USD 4.951 against USD 12). This compares price only, not quality.

### What do Qwen3.8 Max and Gemini 3.1 Pro Preview cost per 1M tokens?

Qwen3.8 Max: from USD 1.65 input and USD 4.951 output at DeepInfra; Alibaba Cloud's own API charges USD 2 / USD 6; median of 7 standard prices USD 2 / USD 6. Gemini 3.1 Pro Preview: from USD 2 input and USD 12 output at Google Gemini API and 2 others; Google Gemini API's own API charges USD 2 / USD 12; median of 3 standard prices USD 2 / USD 12. Each price is read from the provider's own pricing page; the source is linked in the table.

### Which providers sell both Qwen3.8 Max and Gemini 3.1 Pro Preview?

1 provider has a standard price for both: GMI Cloud (USD 3 and USD 4.50 at 3:1). Buying each model from its own cheapest provider costs USD 2.475 and USD 4.50.

### Which is cheaper for a coding agent or a chatbot, Qwen3.8 Max or Gemini 3.1 Pro Preview?

For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 1,206 a month on Qwen3.8 Max (DeepInfra) against USD 1,926 on Gemini 3.1 Pro Preview (Google Gemini API), a difference of USD 719.73. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 159.64 a month on Qwen3.8 Max (DeepInfra) against USD 298.80 on Gemini 3.1 Pro Preview (Google Gemini API), a difference of USD 139.16. Each uses the cheapest standard price for that workload, cached input included. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=qwen3.8-max,gemini-3.1-pro-preview).

### At what input:output ratio does the cheaper of Qwen3.8 Max and Gemini 3.1 Pro Preview change?

Qwen3.8 Max is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Gemini 3.1 Pro Preview's, so the input:output ratio never changes the answer.

### Do Qwen3.8 Max and Gemini 3.1 Pro Preview have cached input pricing?

Qwen3.8 Max from USD 0.20 per 1M cached input tokens (DigitalOcean; 6 of 7 standard prices list a discount). Gemini 3.1 Pro Preview from USD 0.20 per 1M cached input tokens (Google Gemini API; 2 of 3 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.

### Which has the larger context window, Qwen3.8 Max or Gemini 3.1 Pro Preview?

Gemini 3.1 Pro Preview: up to 1,048,576 tokens, against 1,000,000 for Qwen3.8 Max, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-qwen3.8-max-vs-gemini-3.1-pro-preview&utm_content=page-cta) ·

**Sources**

-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/Qwen/Qwen3.8-Max)
-   [DigitalOcean: pricing (checked 2026-11-14)](https://docs.digitalocean.com/products/inference/details/pricing/)
-   [Alibaba Cloud: own API pricing (checked 2026-11-14)](https://www.alibabacloud.com/help/en/model-studio/model-pricing)
-   [Google Gemini API: own API pricing (checked 2026-11-14)](https://aistudio.google.com/docs/pricing#gemini-3.1-pro-preview)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/gemini-3-1-pro/4078d9c2-e385-424c-af4b-2753b94d92ff)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/pricing)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/qwen3-8-max/8881dcb5-e26b-473c-aa5e-9f43054eecb9)
