Skip to content Chat

Qwen3.8 27B vs Gemini 3.1 Pro Preview: price, context window and capabilities

Qwen3.8 27B (qwen/qwen3.8-27b) from Qwen and Gemini 3.1 Pro Preview (google/gemini-3.1-pro-preview) from Google are both multimodal language models on the OceanToken API. Qwen3.8 27B costs less per token than Gemini 3.1 Pro Preview: $0.425 against $1.80 per 1M input tokens (76% less) and $2.55 against $10.80 per 1M output tokens (76% less). Gemini 3.1 Pro Preview is 10% off its official price on OceanToken, for every account. Gemini 3.1 Pro Preview has the larger context window: 1.05M tokens (1,048,576) against 1.02M (1,024,000) for Qwen3.8 27B. Both support tool calling, reasoning, structured outputs, image input and video input; only Gemini 3.1 Pro Preview also lists file input and audio input.

Side by side

SpecQwen3.8 27BGemini 3.1 Pro Preview −10%
ModelQwen3.8 27Bqwen/qwen3.8-27bGemini 3.1 Pro Previewgoogle/gemini-3.1-pro-preview
PublisherQwenGoogle
KindText, vision & videoText, vision, audio & video
Context window1.02M tokens1,024,0001.05M tokens1,048,576
Input price$0.425 / 1M tokens$1.80 / 1M tokens $2.00
Output price$2.55 / 1M tokens$10.80 / 1M tokens $12.00
Cached input price$0.085 / 1M tokens$0.20 / 1M tokens
Cache write price$0.531 / 1M tokens$2.375 / 1M tokens
Web search price–$0.014 / search
Discount (vs official, top tier)—−10%
Inputstext, images and videotext, images, files, audio and video
Outputstexttext
Tool callingYesYes
ReasoningYesYes
Structured outputsYesYes

About these prices

Which should you choose?

  • Choose Qwen3.8 27B to spend less per token: 76% less for input and 76% less for output than Gemini 3.1 Pro Preview.
  • Choose Gemini 3.1 Pro Preview for the longest inputs: its context window holds 1.05M tokens against 1.02M for Qwen3.8 27B.
  • Choose Gemini 3.1 Pro Preview if you need file input and audio input: Qwen3.8 27B does not list them.
  • Not sure? Call both with the same OceanToken API key and compare them on your own prompts; each request is billed per use from one prepaid balance.

Get API Key  Qwen3.8 27B  Gemini 3.1 Pro Preview 

Frequently asked questions

Which is cheaper, Qwen3.8 27B or Gemini 3.1 Pro Preview?

Qwen3.8 27B. Qwen3.8 27B costs less per token than Gemini 3.1 Pro Preview: $0.425 against $1.80 per 1M input tokens (76% less) and $2.55 against $10.80 per 1M output tokens (76% less). Gemini 3.1 Pro Preview is 10% off its official price on OceanToken, for every account. The OceanToken console always shows the current price.

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

Gemini 3.1 Pro Preview. Gemini 3.1 Pro Preview has the larger context window: 1.05M tokens (1,048,576) against 1.02M (1,024,000) for Qwen3.8 27B.

Can I call both Qwen3.8 27B and Gemini 3.1 Pro Preview with one API key?

Yes. Both are on the OceanToken API at https://api.oceantoken.ai/v1: one API key and one prepaid balance call either model. Send the model id qwen/qwen3.8-27b or google/gemini-3.1-pro-preview.

Models and publishers

Qwen3.8 27B · Gemini 3.1 Pro Preview · All Qwen models · All Google models

Compare any two models

More comparisons

Gemini 3.1 Pro Preview vs GPT-6 Sol · DeepSeek V3.2 vs Gemini 3.1 Pro Preview · GLM 5.3 Prime vs Gemini 3.1 Pro Preview · GLM 5.3 Flash vs Gemini 3.1 Pro Preview · All comparisons