Qwen3.8 27B is 4.1× cheaper per million tokens (blended). Gemini 3.1 Pro Preview Custom Tools has the larger context window (1,048,576 vs 1,000,000 tokens). Qwen3.8 27B is open-weights; the other is not.

Gemini 3.1 Pro Preview Custom Tools vs Qwen3.8 27B

Live catalog fields. Best-in-row is highlighted.

Gemini 3.1 Pro Preview Custom Tools

Google · google__gemini-3.1-pro-preview-customtools

Qwen3.8 27Bopen

Qwen · qwen__qwen3.8-27b

Identity

Fieldgoogle__gemini-3.1-pro-preview-customtoolsqwen__qwen3.8-27b
ProviderGoogleQwen
Sluggoogle__gemini-3.1-pro-preview-customtoolsqwen__qwen3.8-27b
Statuslivelive
Open weightsNoYes
License
HuggingFaceQwen/Qwen3.8-27B

Quality

Fieldgoogle__gemini-3.1-pro-preview-customtoolsqwen__qwen3.8-27b
Quality index (0–100)89.0

Cost

Fieldgoogle__gemini-3.1-pro-preview-customtoolsqwen__qwen3.8-27b
Input $ / 1M tokens$2.00$0.42
Cached input $ / 1M$0.20$0.09
Output $ / 1M tokens$12.00$3.00

Context

Fieldgoogle__gemini-3.1-pro-preview-customtoolsqwen__qwen3.8-27b
Max context tokens1,048,5761,000,000
Max output tokens65,536131,072

Modalities

Fieldgoogle__gemini-3.1-pro-preview-customtoolsqwen__qwen3.8-27b
Inputtext, audio, image, video, filetext, image, video
Outputtexttext