Turn this customer email into JSON with intent, urgency and order_id.
customer-email.txtGemma 2 27B
by GoogleReleased 13 July 2024
Gemma 2 27B is a Google model you can download and run yourself that takes text and returns text, keeping about 8 pages in mind at once with replies up to 2 pages. That short memory and the lack of tool use make it a fit for self-contained chat, question answering and short summaries.
What it costs
You pay for what each request uses. No subscription, no minimum.
One message, the ordinary use
Every rate
| Meter | ↑ you send | ↓ comes back |
|---|---|---|
| Text tokens | 216,34 DA | 216,34 DA |
per 1M tokens
- When you pay
- After the answer, from your balance. Nothing is held.
- Why it varies
- A longer question or a longer answer costs more.
- After each one
- The exact charge shows on the request.
Where your request runs
One company runs this model. OpenDunes sends every request to it. DA per 1M tokens: ↑ what you send · ↓ what comes back.
You pay the price of the provider that served your request. Prices read 15:19 · speed over the last 30 minutes · uptime over 3 days.
See it in action
Real requests, real replies. Try any of them yourself — one click, pre-filled.
Two lines to welcome a shop in Oran.
Welcome to our new shop in Oran — fresh bread every morning, and coffee the way the city likes it. Come in, the first cup is on us.
Try in Chat LabTry your own request — same model, pre-selected.
Open Chat LabCall it in code
Swap the base URL and the key. Your OpenAI code runs unchanged.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://opendunes.com/v1",
api_key=os.environ["OPENDUNES_API_KEY"],
)
resp = client.chat.completions.create(
model="google/gemma-2-27b-it",
messages=[{"role": "user", "content": "Two lines to welcome a shop in Oran."}],
)
print(resp.choices[0].message.content)Runs this request once on your balance.
Parameters you can send
Standard OpenAI fields, grouped by what they control. Anything not listed is accepted and ignored.
Shaping the reply
How long, how varied, where to stop.
max_tokenstemperaturetop_pstopseedfrequency_penaltypresence_penaltyrepetition_penaltyStructured output
Get JSON you can parse instead of prose.
response_formatstructured_outputsQuestions about Gemma 2 27B
How much does Gemma 2 27B cost in dinars?
About 0,32 DA per message. ↑ 216,34 DA · ↓ 216,34 DA per 1M tokens.
Is Gemma 2 27B free? Can I try it?
No. You pay per use from your balance, with no subscription. Try it in Chat at the same price.
What is Gemma 2 27B best for?
Gemma 2 27B is a Google model you can download and run yourself that takes text and returns text, keeping about 8 pages in mind at once with replies up to 2 pages. That short memory and the lack of tool use make it a fit for self-contained chat, question answering and short summaries.
How do I pay for Gemma 2 27B without an international card?
Deposit dinars with your Edahabia or CIB card. Every model, Gemma 2 27B included, is paid from that balance. No foreign card, no conversion.
Does Gemma 2 27B work in Arabic, French or Darja?
Google says Gemma 2 supports only English. Arabic, French and Darja are not supported.
Can it read PDFs, images or a whole book?
It reads text. Up to 8K tokens in one request, about 8 pages. It writes up to 2 000 words at once.
Is Gemma 2 27B open source?
Yes, its weights are public. Open weights on Hugging Face
Who makes Gemma 2 27B, and when was it released?
Google. Released 13 July 2024. It knows the world up to 30 June 2024.
Other Google models, priced in dinars
See all Google modelsThis model is designed to handle text, pictures, and video inputs, allowing it to read up to 130 pages of content. It specializes in generating and editing video clips, producing outputs that include both text and moving images. What sets this model apart is its native ability to process and generate video content directly. It is not suitable for tasks requiring external tool usage or the creation of structured data formats.
#1 for speech · Gemini 3.8 Flash TTS turns text into speech in 130+ languages with studio-grade acting, regional accents and a voice that stays consistent through long dialogues. It offers prebuilt voices, custom voice personas and voice replication, with about 8 pages of text per request. Pick it for audiobooks, narration and multi-speaker scenes.
Nano Banana 2, Google's 3.1 Flash Image model, generates and edits images from a written description and reference pictures, returning images with text. It outputs up to 4K, adds very tall and very wide shapes such as 1:8, and renders text in other languages better. Pick it for production batches of ads, banners and edits.
This model accepts text, pictures, and videos as input, allowing it to read up to 130 pages of content. It specializes in creating and editing video content, converting descriptions or pictures into moving images. A key feature is its ability to search the web for information while processing complex visual data. However, it does not utilize external tools or generate structured data formats.
