Gemma 2 27B
Gemma 2 27B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of text generation tasks, including question answering, summarization, and reasoning. See the [launch announcement](https://blog.google/technology/developers/google-gemma-2/) for more details. Usage of Gemma is subject to Google's [Gemma Terms of Use](https://ai.google.dev/gemma/terms).
google/gemma-2-27b-it
- Context
- 8k tokens
- Completion cap
- 2,048
- Tools
- No
- JSON
- Yes
- Released
- 2024-07-13
Call it from Geek Hub
Same OpenAI SDK. Change the base URL and the model id.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-2-27b-it",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is Gemma 2 27B?
- Gemma 2 27B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of text generation tasks, including question answering, summarization, and reasoning. See the [launch announcement](https://blog.google/technology/developers/google-gemma-2/) for more details. Usage of Gemma is subject to Google's [Gemma Terms of Use](https://ai.google.dev/gemma/terms). Gemma 2 27B runs on the Geek Hub API (OpenAI-compatible). Model id: google/gemma-2-27b-it.
- Is Gemma 2 27B free?
- No. Input is $0.7085 per 1M tokens and output is $0.7085 per 1M tokens on Geek Hub (markup included).
- What is the context length of Gemma 2 27B?
- Gemma 2 27B has a 8k tokens context window. It supports up to 2,048 completion tokens.
- Does Gemma 2 27B support tool calling and structured outputs?
- Gemma 2 27B does not advertise tool calling on this endpoint. It also supports structured outputs via a JSON schema in response_format.
- When was Gemma 2 27B released?
- Gemma 2 27B was released on 2024-07-13.
More models from Google
Gemini 2.5 FlashFlash with hybrid reasoning. Price went up in the July refresh ($0.15/$0.60 → $0.30/$2.50) reflecting the provider change.
Gemini 2.5 Flash ImageReplaces Imagen 4. Excellent with text embedded in the image (much better than Flux/DALL·E) at the catalog's lowest price.
Gemini 2.5 Flash-LiteCheapest in the catalog with 1M context. Output at $0.40 / 1M. Alternative when you want to minimize cost.
Gemini 2.5 Pro2M context, multimodal, reasoning. Google updated output pricing ($5 → $10) in the July refresh.
Gemini 3.1 Flash-Lite3.1 Flash-Lite. Cheap and fast for classification, extraction, and light chat.
Gemini 3.1 Pro (preview)Preview of the 3.1 Pro flagship. 2M context. Price for ≤200k tokens tier; scales ~2x above that.