Skip to content

Command R (08-2024) vs Gemma 4 31B

Command R (08-2024) (Cohere) and Gemma 4 31B (Google) are listed at different prices. Command R (08-2024) costs less for input, $0.225 per 1M tokens against $0.30; Gemma 4 31B costs less for output, $0.60 per 1M tokens against $0.90. Gemma 4 31B has the larger context window, 262,144 tokens against 128,000 for Command R (08-2024). Gemma 4 31B can write up to 16,384 tokens in one response, against 4,000 for Command R (08-2024). Command R (08-2024) accepts text and produces text; Gemma 4 31B accepts text, images and video and produces text.

Cohere: Command R (08-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 and structured outputs.

Compared from catalog data checked

Command R (08-2024)

$0.225 in
$0.90 out
Under 0.1¢ a message
128K context

Gemma 4 31B

$0.30 in
$0.60 out
Under 0.1¢ a message
262K context

Side by side

0.00 the better figure in a row
Command R (08-2024) and Gemma 4 31B specifications side by side
SpecificationCommand R (08-2024)Gemma 4 31B
Maker Cohere Google
Added to catalog 30 Aug 2024 2 Apr 2026
Input, per 1M tokens $0.225 $0.30
Output, per 1M tokens $0.90 $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.

Check the provider's pageToken counts are estimates, and the two models count tokens differently.
Cost of the same task on Command R (08-2024) and Gemma 4 31B
TaskCommand R (08-2024)Gemma 4 31B
Answer a short question500 in / 300 out $0.0004 $0.0003
Summarise a 50-page PDF25,000 in / 800 out $0.0063 $0.0080
Review a 2,000-line source file30,000 in / 2,000 out $0.0086 $0.010
Read a 300-page contract set150,000 in / 1,500 out $0.035 $0.046

Which to choose

Choose Command R (08-2024) if

  • Input tokens cost less: $0.225 against $0.30 per 1M
Command R (08-2024) details

Choose Gemma 4 31B if

  • Output tokens cost less: $0.60 against $0.90 per 1M
  • 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
Gemma 4 31B details

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.

Comparison questions

Is Command R (08-2024) cheaper than Gemma 4 31B?

It depends on the job: one costs less for input and the other for output. Command R (08-2024) costs $0.225 per 1M input tokens and $0.90 per 1M output tokens; Gemma 4 31B costs $0.30 and $0.60 as checked on 23 Nov 2026.

Which has the larger context window, Command R (08-2024) or Gemma 4 31B?

Gemma 4 31B, at 262,144 tokens against 128,000 for Command R (08-2024).

Which is better for coding, Command R (08-2024) or Gemma 4 31B?

This page does not rank models on quality, and it does not repeat either maker's claims. The table shows what each accepts, supports and costs; the reliable test is your own task: give both the same piece of code and compare the answers.

Can I use both Command R (08-2024) and Gemma 4 31B?

Neither is offered in the Upend chat today. Both are listed in the catalog, with the figures shown here.

Find the model for your task.

Every comparison is computed from the live catalog.

Sign in to Upend

Use an account you already have, or get a one-time code by email.

Use a password instead

For accounts that already have a password. Forgotten it? An emailed code signs you in just the same.