one chat reply3,000 tokens in, 500 outGemini 3.1 Pro costs 1.8× as much as Qwen4 Max
$0.0068
$0.01
summarise a 100-page report50,000 tokens in, 1,500 out, one requestGemini 3.1 Pro costs 1.4× as much as Qwen4 Max
$0.08
$0.12
1,000 classification calls500 tokens in, 20 out, per callGemini 3.1 Pro costs 1.5× as much as Qwen4 Max
$0.84
$1.24
coding-agent session2M tokens in across ~60 turns, 60,000 out, no cacheGemini 3.1 Pro costs 1.4× as much as Qwen4 Max
$3.27
$4.72
same session, cached85% of input read from the prompt cache, the rest written to itGemini 3.1 Pro costs 2.0× as much as Qwen4 Max
$0.85
$1.66
at listed rates. token counts are typical sizes, not measurements.
Qwen4 Max pricing notes
cache hits on the implicit context cache bill at $0.075 per 1M; cache writes bill at the normal input rate.
Gemini 3.1 Pro pricing notes
once a request passes 200K input tokens, the whole request bills at $4 input, $18 output and $0.40 cache read per 1M; the listed price is the sub-200K rate.
Qwen4 Max is Alibaba's flagship Qwen4 model: a hosted 2.4T-parameter MoE that takes text, image and video, with a thinking mode. it succeeds Qwen3.8 Max at lower rates, and its weights are not published.
pick it if
you want Qwen4's flagship with image and video input
long agent sessions reuse a prefix; cache hits bill $0.075 per 1M, against $0.25 on Qwen3.8 Max
token-heavy agent runs; Alibaba reports 48 to 49% fewer tokens than Qwen3.8 Max on Terminal-Bench 4.0
skip it if
you need downloadable weights; Alibaba has announced open weights for smaller Qwen4 models, none for Max
you need audio input; Qwen3.8 Omni Flash takes audio, Max does not
Google's Pro-tier Gemini model, released in preview as the reasoning-focused successor to Gemini 3 Pro at the same $2 / $12 rate. it takes text, images, video, audio and PDFs into a 1M-token window and returns text.
pick it if
you need audio, video or PDF input alongside text and images
you resend long prompts; cache hits bill at 10% of input
you want Google's Pro tier rather than a Flash model
skip it if
your prompts often exceed 200K tokens, where input doubles and output rises 1.5x
the cheaper Gemini 3.8 Flash covers your workload
faq
which is cheaper, Qwen4 Max or Gemini 3.1 Pro?
Qwen4 Max lists lower input and output prices. on a coding-agent session (2M tokens in, 60,000 out) Qwen4 Max costs $3.27 and Gemini 3.1 Pro $4.72.
can i switch between Qwen4 Max and Gemini 3.1 Pro mid-task?
yes. in an octomind session, /model octohub:qwen4-max and /model octohub:gemini-3.1-pro switch models without losing the conversation, so you can draft on one and review on the other.
try either model
switch between models inside the same octomind session.