Compare models
Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.
| Attribute | Gemma 4 31B (Free)gemma-4-31b-it:free | DeepSeek V4.1 Flashdeepseek-v4.1-flash | Gemini 3.8 Flashgemini-3.8-flash |
|---|---|---|---|
| Pricing | |||
| Input | $0 / 1M | $0.30 / 1M | $0.75 / 1M |
| Output | $0 / 1M | $1.20 / 1M | $3.75 / 1M |
| Cache Write | $0 / 1M | — | — |
| Cache Read | $0 / 1M | $0.30 / 1M | $0.75 / 1M |
| Cache Write (5m) | — | $0.30 / 1M | $0.75 / 1M |
| Cache Write (1h) | — | $0.30 / 1M | $0.75 / 1M |
| Web Search | — | $0 / 1M | $0 / 1M |
| Context | |||
| Max context | 262.1K | 1M | 1M |
| Max output | N/A | N/A | N/A |
| Capabilities | |||
| Vision | Yes | Yes | Yes |
| Function Calling | Yes | Yes | Yes |
| JSON Mode | Yes | Yes | Yes |
| Streaming | Yes | Yes | Yes |
| Catalogue | |||
| Provider | DeepSeek | ||
| Category | chat | chat | chat |
| Charge type | Free | Pay As You Go | Pay As You Go |
| Released | — | — | — |
| Description | |||
| Summary | Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model, supporting text and image inputs with text outputs. It features a 256K token context window, configurable thinking/reasoning modes, native function calling, and broad multilingual support across 140+ languages. The model delivers strong performance in coding, reasoning, and document understanding, making it well suited for developer workflows, multilingual applications, and structured knowledge tasks. | DeepSeek V4.1 Flash is a cost-efficient sparse Mixture-of-Experts (MoE) model in DeepSeek's V4.1 family, optimized for coding, reasoning, and agentic workflows. Despite its efficiency-focused positioning, DeepSeek reports that it surpasses the previous V4 Pro in performance, inference speed, and overall task completion time. The model is particularly strong at long-horizon, multi-step execution, making it well suited for coding agents, complex problem solving, and autonomous workflows that must reliably carry tasks through to completion. | Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality. |