Using Gemma 2 27B Instruct on Featherless
Implementation guide · Gemma 2 · Google DeepMind
Featherless exposes Gemma 2 27B Instruct through model ID google/gemma-2-27b-it. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-09-24. Next refresh: weekly.
Quick Start
- 1
- 2Use the Featherless SDK or REST API to call
google/gemma-2-27b-it— see the documentation for request format. - 3
Code Examples
pip install openaiFEATHERLESS_API_KEYgoogle/gemma-2-27b-itUse exact Featherless catalog id in modelProvider.providerModelId (HF-style org/name). Not interchangeable with LLM Reference slugs.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.featherless.ai/v1",
api_key=os.environ["FEATHERLESS_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemma-2-27b-it",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Pricing on Featherless
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.65 |
| Output tokens | $0.65 |
Capabilities
About Gemma 2 27B Instruct
Gemma 2 27B Instruct is a cutting-edge large language model from Google, excelling in text generation, question answering, summarization, and reasoning tasks. It features a decoder-only transformer architecture, utilizing 27 billion parameters, and supports context length processing of up to 8,192 tokens. The model incorporates innovative mechanisms like Grouped Query Attention and Sliding Window Attention to enhance efficiency and effectiveness in handling long texts. Its instruction-tuned variants are designed for improved interaction in conversational tasks, and it benefits from knowledge distillation techniques for enhanced performance. Additionally, Gemma 2 27B Instruct is openly accessible, promoting wider innovation in AI applications.