Qwen3.8 27B vs Gemma 4 31B
Mid-size open-weight models that businesses consider for private deployment, only one of which has a first-party API price. Both list prices from the makers’ own pages, and what three everyday jobs cost on each.
US dollars, standard rate, shortest context band. Price only: this page does not rank quality.
- Qwen3.8 27B, per M tokens
- $0.50 / $3
- Gemma 4 31B, per M tokens
- No list price
3,000 tokens in and 400 out each, at list price.
Per million tokens, Qwen3.8 27B costs $0.50 in and $3 out. Gemma 4 31B has no list price: Google publishes its weights but sells no API for it, so the cost depends on the host. Qwen3.8 27B reads up to 1M tokens at once, Gemma 4 31B up to 256K.
Side by side
Each maker’s published rate for its standard tier. Cached input is what a repeated prompt prefix costs once the provider has stored it.
| Fact | Qwen3.8 27B | Gemma 4 31B |
|---|---|---|
| Maker | Alibaba (Qwen) | |
| Tier | Small and fast | Small and fast |
| Input, per M tokens | $0.50 | Not published |
| Output, per M tokens | $3.00 | Not published |
| Cached input | Not published | Not published |
| Context window | 1M | 256K |
| Released | Not published | 2 Apr 2026 |
| Weights | Open | Open |
The small print
What each base rate leaves out, from the makers’ own pages: surcharges, discounts, promotions and cache pricing.
- Qwen3.8 27B
- Open-source model with a first-party hosted price (listed under 'Qwen (open source)'). International deployment, one tier up to 1M input tokens. Context taken from the top pricing tier (1M). Alibaba (Qwen)’s pricing page
- Gemma 4 31B
- No first-party paid price: the Gemini API pricing page lists Gemma 4 on the free tier only, with the paid tier 'Not available'. Open weights; cost depends on the third-party host. Context from https://ai.google.dev/gemma/docs/core/model_card_4 (256K tokens). Google’s pricing page
Other comparisons
Every head to head on the list that involves Qwen3.8 27B or Gemma 4 31B.
Pay a quarter of list price
AIGROW API credit is metered at the makers’ list prices, and $25 buys $100 of usage. The credit page lists the models it covers; ask about any other before buying.
Prices checked 22 September 2026