Roar AI
Get started
All models
Google · Open weights

Gemma 4 31B API in Australia

Gemma 4 31B costs A$0.2785 per million input tokens and A$0.7956 per million output tokens on Roar AI, charged in Australian dollars. Google’s largest open Gemma: a 31-billion-parameter model that reads images and video, under Apache 2.0.

InputA$0.2785per 1M tokens
OutputA$0.7956per 1M tokens
Context window256Ktokens

Gemma 4 31B API pricing in Australia

InputA$0.2785 per 1M tokens
OutputA$0.7956 per 1M tokens
Batch inputA$0.1392 per 1M tokens
Batch outputA$0.3978 per 1M tokens

Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost A$1.63. Every rate is published and stays the same from one request to the next. See every model, or estimate a monthly bill with the token calculator, in US dollars.

Rates as of 1 December 2026. Rates in Australian dollars are set each month. These are the rates for December 2026, and your card is charged at the same rates.

Specs

Made byGoogle
ReleasedApril 2026
TypeChat
Context window256K tokens
ReadsText, images, video
Thinks before answeringYes, adjustable
WeightsOpen (Apache 2.0)
Size31B, dense
Processed inGlobal
Model idgemma-4-31b-it

About Gemma 4 31B

Gemma 4 31B is the biggest model in Google’s open Gemma family, built from the same research as Gemini 3. It is the first Gemma released under the standard Apache 2.0 licence rather than Google’s own terms, and at launch it ranked third among open models on the LMArena text leaderboard. Google’s model card reports 85.2% on MMLU-Pro and 84.3% on GPQA Diamond.

It reads images and video as well as text, with a 256K-token context, and thinks before answering when you switch that on. As a dense 31B model it is small next to the trillion-parameter open models, which shows on long, hard agent tasks, but it is quick and inexpensive for document and image work.

What is Gemma 4 31B good for?

  • Reading documents, forms and images.
  • Everyday chat and drafting at a low price.
  • Maths for its size: 89.2% on AIME 2026, by Google’s count.

Gemma 4 31B limitations

  • Its knowledge stops at January 2025, older than most 2026 models.
  • Behind the large open models on hard, multi-step coding agents.
  • The 31B version does not take audio.

Using Gemma 4 31B from Australia

Roar AI provides access to Gemma 4 31B through the Roar AI gateway, charged in Australian dollars on one bill with every other model. Requests from Australia go through our gateway in Singapore today; a gateway in Sydney is coming. Developers can use Gemma 4 31B alongside other supported models without a separate integration for every provider.

Use the OpenAI SDK you already have: point it at Roar AI and set the model name. Read the docs.

from openai import OpenAI

client = OpenAI(base_url="https://api.roar-ai.com/v1", api_key="roar_live_…")

reply = client.chat.completions.create(
    model="gemma-4-31b-it",
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)

Where is Gemma 4 31B processed?

Requests to Gemma 4 31B are processed on international infrastructure, outside Australia. The model directory says where each model is processed.

Gemma 4 31B FAQ

How much does Gemma 4 31B cost in Australia?

Input is A$0.2785 per 1M tokens; output is A$0.7956 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost A$1.63. Rates in Australian dollars are set each month. These are the rates for December 2026, and your card is charged at the same rates.

Can I pay for Gemma 4 31B in Australian dollars?

Yes. Your card is charged in Australian dollars, at our published rate for the month, on one bill with every other model you use. You do not need a separate Google account.

Is Gemma 4 31B open source?

Its weights are open under the Apache 2.0 licence, so you could run it yourself. Through Roar AI you call it like any other model, with no servers to manage.

What is the context window of Gemma 4 31B?

Gemma 4 31B can read up to 256K tokens in one request.

Can Gemma 4 31B read images and PDFs?

It reads images directly. You can still send it a PDF: Roar AI turns each page into text first, at no extra charge.

Start using Gemma 4 31B

Create a free account, get an API key and call Gemma 4 31B with the OpenAI SDK, billed in Australian dollars.