Command R7B (12-2024) vs Gemma 4 31B
Command R7B (12-2024) (Cohere) and Gemma 4 31B (Google) are listed at different prices. Command R7B (12-2024) costs less: $0.0563 per 1M input tokens and $0.225 per 1M output tokens, against $0.30 and $0.60 for Gemma 4 31B. Gemma 4 31B has the larger context window, 262,144 tokens against 128,000 for Command R7B (12-2024). Gemma 4 31B can write up to 16,384 tokens in one response, against 4,000 for Command R7B (12-2024). Command R7B (12-2024) accepts text and produces text; Gemma 4 31B accepts text, images and video and produces text.
Cohere: Command R7B (12-2024) accepts text and produces text, with a 128,000-token context window. Google: Gemma 4 31B accepts text, images, and video and produces text, with a 262,144-token context window; both support tools, structured outputs, and response formats, while Gemma 4 31B also supports reasoning.
Compared from catalog data checked
Side by side
0.00 the better figure in a row| Specification | Command R7B (12-2024) | Gemma 4 31B |
|---|---|---|
| Maker | Cohere | |
| Added to catalog | 14 Dec 2024 | 2 Apr 2026 |
| Input, per 1M tokens | $0.0563 | $0.30 |
| Output, per 1M tokens | $0.225 | $0.60 |
| Context windowTokens | 128,000 | 262,144 |
| Max outputTokens | 4,000 | 16,384 |
| Accepts | text | image, text, video |
| Produces | text | text |
| Tool calling | Yes | Yes |
| Structured outputs | Yes | Yes |
| Reasoning effort control | No | No |
Prices on Upend, in US dollars. Each model's page has its variants, price history and sample outputs.
What the same task costs
The price of one request on Upend, from the token counts shown. The same four tasks are priced on every model page.
| Task | Command R7B (12-2024) | Gemma 4 31B |
|---|---|---|
| Answer a short question500 in / 300 out | $0.0001 | $0.0003 |
| Summarise a 50-page PDF25,000 in / 800 out | $0.0016 | $0.0080 |
| Review a 2,000-line source file30,000 in / 2,000 out | $0.0021 | $0.010 |
| Read a 300-page contract set150,000 in / 1,500 out | $0.0088 | $0.046 |
Which to choose
Choose Command R7B (12-2024) if
- Input tokens cost less: $0.0563 against $0.30 per 1M
- Output tokens cost less: $0.225 against $0.60 per 1M
Choose Gemma 4 31B if
- You need the larger context window: 262,144 tokens against 128,000
- You need longer answers in one response: 16,384 tokens against 4,000
- It has to read images and video, which the other model does not
Neither maker's quality claims are repeated here. The reliable test is your own task: ask both the same question and read the two answers.