Gemma 4 31B costs LKR 60.61 per million input tokens and LKR 173 per million output tokens on Roar AI, billed in Sri Lankan rupees on one invoice. Google’s largest open Gemma: a 31-billion-parameter model that reads images and video, under Apache 2.0.
Prices are shown in LKR to make model costs easier to estimate and manage for Sri Lankan teams, with the published US dollar rate beside each.
Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost LKR 355. Every rate is published and stays the same from one request to the next. See every model.
Rates as of 20 November 2026. Rupee prices are our published US dollar rates converted at LKR 333 to the dollar, our rate for November 2026 — the same rate your invoice uses.
gemma-4-31b-itGemma 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.
Roar AI provides access to Gemma 4 31B through the Roar AI gateway, with usage billed in LKR and no foreign card needed. Developers can use Gemma 4 31B alongside other supported models without maintaining a separate integration for every provider.
Google says Gemma 4 was trained on more than 140 languages, but Sinhala and Tamil are not among the 35 it names as supported out of the box. Test it on your own messages first.
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."}],
)Requests to Gemma 4 31B are processed on international infrastructure, outside Sri Lanka.
Roar AI’s locally hosted model is separate and is labelled as such: if a workload has to stay in the country, Qwen 3.8 27B LK runs on our own server in Colombo.
Input is LKR 60.61 per 1M tokens; output is LKR 173 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost LKR 355. Rupee prices are our published US dollar rates converted at LKR 333 to the dollar, our rate for November 2026 — the same rate your invoice uses.
Yes. Gemma 4 31B usage is billed in LKR on one monthly invoice with every other model you use, so there is no foreign card or separate Google account to set up.
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.
Gemma 4 31B can read up to 256K tokens in one request.
It reads images directly. You can still send it a PDF: Roar AI turns each page into text first, at no extra charge.
Create a free account, get an API key and call Gemma 4 31B with the OpenAI SDK, billed in Sri Lankan rupees.