Try MiniMax-Music3: Text and Lyrics to Full Songs with Vocals from Wiro →10% off
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick skills, choose a plan, deploy, then connect your tools
Pre-built AgentsBrowse the catalogConnectorsConnect agents to your apps
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
LLM & ChatActive

Gemma 2 9B IT

bygoogle

Gemma 2 9B IT is Google's 9-billion-parameter instruction-tuned Gemma 2 model for English chat and writing. Google reports its pretrained base at 68.6 on GSM8K math, against 23.9 for the 2B.

ChatLLMGemma2 Chat
Model ID
gemma-2-9b-it
Provider
google
Updated
Nov 30, 2026, 05:10
gemma-2-9b-it
0
Comments
Average rating : 0 (0 users)
Providergoogle
Modelgemma-2-9b-it
ChatLLMGemma2 Chat
wiro playground—google/gemma-2-9b-it

Prompt to send to the model.

Your request will cost $0.0006 per second of run time.

Running this model on Wiro costs approximately $0.0603 in total.

(Total cost varies depending on the request's execution time.)
Sample outputs
Loading preview…
google-gemma-2-9b-it-sample-1.txt
Updated Nov 30, 2026, 05:10

Overview

Gemma 2 9B IT is the instruction-tuned 9B checkpoint of Gemma 2, Google's family of open-weight, decoder-only text models built from the research behind Gemini. It has about 9.2 billion parameters. Its 8 trillion training tokens are mostly English web text, with code and math mixed in.

Google's Gemma 2 technical report says the 9B was trained by knowledge distillation from a larger teacher model, and it gives the context window as 8,192 tokens.

Google's card puts the pretrained 9B base at 71.3 on MMLU (5-shot) and 40.2 on HumanEval pass@1. The 2B base scores 51.3 and 17.7 on the same tests, and on GSM8K grade-school math the gap grows to 68.6 against 23.9.

Choosing a variant: pick this 9B model for knowledge questions, math and code, where Google's scores put it well ahead of the 2B. Gemma 2 2B IT uses the same input form and suits short, tightly scoped prompts like rewrites or one-turn replies.

What you can build

  • English FAQ assistants that answer from policy text pasted into the prompt, with chat history kept per user and session.
  • Drafting tools for emails and product copy, where the system prompt sets the tone once.
  • Summaries of meeting notes and short reports that fit in the 8,192-token window.
  • Coding helpers that explain a snippet or write a small function.

Inputs

Only the prompt is required. The optional system prompt is prepended to it; Gemma 2's own chat format has just two roles, user and model.

For multi-turn chat, pass a user_id and a session_id. History is stored per user, and a new session_id starts a separate thread for that same user.

The advanced settings hold temperature (default 0.7, range 0 to 5), top_p (default 0.95), top_k, repetition and length penalties, a seed (default 123456) and a do_sample switch. max_tokens and min_tokens bound the reply length, and stop_sequences takes a semicolon-separated list. Quantization is on by default and may slightly affect output quality; switch it off for full precision.

Outputs

English text. The sample on this page answers the default prompt about historical events near the Tower of London. It walks through five episodes, starting with the Norman construction under William the Conqueror and including Anne Boleyn's imprisonment in 1536 and the Princes in the Tower in 1483. Each gets a story angle, and the answer closes with short tips for the writer.

Recommended settings

  • Leave do_sample on at temperature 0.7 for drafting and brainstorming.
  • Turn do_sample off for code or summaries, so the same prompt gives a consistent answer.
  • Keep the system prompt short: it shares the 8,192-token window with your prompt and the stored history.

Limitations

  • Training data is primarily English, and Google lists English text as the output.
  • The card warns that the model can state incorrect or outdated facts and may miss sarcasm or figurative language. Check names and dates before publishing.

Safety & compliance

Use is governed by Google's Gemma Terms of Use and the Gemma Prohibited Use Policy. Google filtered the training data for CSAM and personal information and reports the instruction-tuned models' safety evaluations as within its internal thresholds. Developers are asked to add content safeguards that fit their own product.

API quick start

Run gemma-2-9b-it with a single API call.

POST https://api.wiro.ai/v1/Run/google/gemma-2-9b-it
{
  "prompt": "What are some interesting historical even…",
  "user_id": "...",
  "session_id": "...",
  "system_prompt": "You are a helpful, respectful and honest …"
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/google/gemma-2-9b-it" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "What are some interesting historical even…",
  "user_id": "...",
  "session_id": "...",
  "system_prompt": "You are a helpful, respectful and honest …"
}
JSON

Other models you might like

Explore similar llm & chat models.

View all
gemma-2-2b-it
Chat

gemma-2-2b-it

google

chat
Chat

chat

wiro

wiroai-turkish-llm-9b
Chat

wiroai-turkish-llm-9b

wiro

gemma-4-31b-it
Chat

gemma-4-31b-it

google

  • Qwen3-Coder-30B-A3B-Instructqwen
  • Qwen2.5-7B-Instructqwen
  • CodeLlama-7b-Instruct-hfmeta-llama
  • Qwen2.5-Coder-7B-Instructqwen
  • Qwen3.8-Flash-Next-GGUFunsloth
  • Qwen3.5-4Bqwen
  • Qwen2.5-Coder-32B-Instructqwen
  • EuroLLM-9B-Instructutter-project

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsConnectorsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion