Gemma 2B Instruct
Gemma 2B Instruct is a legacy integration reference; keep it only while you identify a current replacement.
Cheapest of 6 routes · Fireworks AI
About
Gemma 2B Instruct is a large language model developed by Google, designed to balance performance and accessibility with its 2 billion parameters. Derived from the Gemini family, it excels in tasks such as text generation, code interpretation, and mathematical problem-solving. Built on a transformer decoder architecture, it features multi-query attention, RoPE, GeGLU activations, and RMSNorm. Trained on approximately 6 trillion tokens, including web documents, code, and mathematical content, it uses SFT and RLHF for instruction-tuning. Notable for its lightweight design permitting deployment on consumer-grade hardware, it's open-source and optimized for dialogue applications.
Providers(6)
Compare all 6Compare API pricing across 6 tracked provider routes for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Fireworks AI | $0.100 | $0.100 | Serverless |
| GCP Vertex AI | $0.040 | $0.120 | Serverless |
| Replicate API | $0.050 | $0.250 | Serverless |
| Alibaba Cloud PAI-EAS | - | - | ServerlessPartial |
| Cloudflare Workers AI | - | - | ServerlessPartial |
| NVIDIA NIM | - | - | ProvisionedPartial |
Deprecated provider routes(1)
| Provider | Status | Catalog ID |
|---|---|---|
| Together AI | DeprecatedRetired June 13, 2025 | — |
Available via routers & gateways(14)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
AIRouter
RouterCommercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
Benchmark peer barsfor Classification
No task-mapped benchmark peers are available for this model yet.
Benchmark scores(1)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 986.0 | text creative_writing 2026-10-22Observed 2026-10-22 | Configuration: Gemma 2B IT Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'Gemma 2B IT' (category creative_writing in text/latest-00000-of-00001.parquet): rank 402 of 416, rating 986.2 (95% CI 963.2-1009.2), 696 votes. LLM Reference model is lifecycle-deprecated; score kept as historical. Source: LMArena (CC BY 4.0). Retrieved 2026-10-27. | Source Source: LMArena (lmarena.ai), CC BY 4.0 |
Migration checks
No linked migration route is available for this model yet.
Compare Gemma 2B Instruct with other models
Cheapest of 6 routes · Fireworks AI