LLM Reference
Featherless

Using Gemma 2 27B Instruct on Featherless

Implementation guide · Gemma 2 · Google DeepMind

ServerlessOpen Weights

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. 1
    Create an account at Featherless and generate an API key.
  2. 2
    Use the Featherless SDK or REST API to call google/gemma-2-27b-it — see the documentation for request format.
  3. 3
    You'll be billed $0.65/1M input, $0.65/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
FEATHERLESS_API_KEY
Model ID
google/gemma-2-27b-it

Use 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

TypePrice (per 1M)
Input tokens$0.65
Output tokens$0.65

Capabilities

Structured Outputs

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.

Model Specs

Released2024-06-27
Parameters27B
Context8k
ArchitectureDecoder Only

Provider

Featherless
Featherless