Text & Reasoning
Closed-weight
Closed-weight commercial API (most); Gemma is open-weight

Gemini (Google)

by Google DeepMind

Google's closed-weight family — Gemini Pro, Gemini Ultra, Gemini Flash. Open-weight derivatives ship as [Gemma](/families/gemma). Reference baseline for capability comparisons.

Architecture evolution

Google's Gemini family is the closed-weight multimodal and long-context reference class, evolving from Gemini 1.0 (December 2023) through Gemini 2.5 (2025). Gemini 1.0 (Ultra/Pro/Nano tiers) established the family's architectural signature: a natively multimodal transformer trained jointly on text, images, audio, and video from the start — not a text model with bolted-on vision (as [GPT-4](/families/gpt)'s architecture is understood to be). This native multimodality means Gemini reasons across modalities fluidly: it can watch a video, listen to the audio, read on-screen text, and provide integrated reasoning about all three simultaneously. Gemini 1.5 Pro (the mid-tier model) was the workhorse: a sparse MoE that outperformed Gemini 1.0 Ultra on most benchmarks while being cheaper to serve. The 1M context window was enabled by Ring Attention and other distributed-attention techniques that Google pioneered for TPU clusters. The "needle-in-a-haystack" retrieval accuracy at 1M tokens exceeded 99.7% for text — operators could include entire codebases, book series, or months of chat history in a single context window with minimal retrieval degradation. Gemini 2.0 (December 2024) introduced agentic capabilities: native tool use (Google Search, code execution, API calls), real-time video streaming input (Gemini can watch and respond to live video), and the Flash variant (fastest, cheapest tier for latency-sensitive applications). Gemini 2.0 Flash matched Gemini 1.5 Pro's quality at 1/5th the cost — continuing Google's trend of tier-compression where each generation's mid-tier matches the previous generation's top-tier quality at lower cost. Gemini 2.5 (2025, Pro/Flash tiers) introduced "thinking mode" (Google's chain-of-thought variant, similar to Claude's extended thinking), Deep Research integration (autonomous web browsing and report generation), and 2M-token context as standard. Gemini 2.5 Pro is the current frontier, scoring competitively with GPT-5 mini and [Claude 4](/families/claude) Sonnet on reasoning benchmarks while maintaining the 2M context and native multimodality that distinguish Gemini from competitors. The architectural direction points toward Gemini 3 with fully agentic design (Gemini as an autonomous AI operating system rather than a question-answering model), persistent memory, and cross-session learning.

Local viability

Which versions actually run locally, on what hardware.

Gemini has zero local viability — all Gemini models are closed-weight and API-only, accessible through Google AI Studio (free tier), the Gemini API (paid tier), or Google Cloud Vertex AI (enterprise tier). There is no local deployment path, no open-weight release, and no public training code. The Gemini family is included on RunLocalAI.co as a benchmark reference — specifically, as the multimodal and long-context reference class. For operators seeking Gemini-like multimodal capability with local deployment, the closest open-weight alternatives are: [Qwen 3 235B-A22B](/models/qwen-3-235b-a22b) (nearest to Gemini 2.0 Flash on multimodal understanding benchmarks, locally deployable on 2× [H200](/hardware/nvidia-h200)), [Llama 3.2 90B Vision](/families/llama) (competent multimodal with less reasoning depth, deployable on 2× [RTX 4090](/hardware/rtx-4090) at Q4), and open-weight vision-language models from the LLaVA and InternVL families. Gemini's 2M context window has no local equivalent. The longest context open-weight model in 2026 is [Llama 4 Scout](/families/llama) at ~256K context (projected), and the gap from 256K to 2M is architectural — achieving million-token context requires distributed attention techniques (Ring Attention, Tree Attention) that consumer GPU setups cannot implement efficiently. Gemini Nano (the on-device variant, running on Pixel 9 and Samsung Galaxy S25 devices) is the only "local" Gemini — it's a ~1.8B parameter model that runs entirely on-device for features like Gboard smart reply and Recorder summarization. Gemini Nano is not a general-purpose model — it's task-specialized (summarization, smart reply, text classification) and not available for arbitrary third-party deployment. It's an existence proof that small-scale on-device Gemini is possible but not an operational option for developers. For operators using Gemini's API alongside local models, the hybrid architecture mirrors the [GPT](/families/gpt) and [Claude](/families/claude) patterns: Gemini API for production (multimodal, long-context tasks), local models for bulk inference (text-only, standard-context tasks), with a routing layer that directs queries based on modality and context-length requirements. Gemini's unique position in this hybrid architecture is handling the ultra-long-context and native-video-understanding queries that no local model can service.

Benchmark history

Gemini's benchmark trajectory is defined by the multimodal and long-context dimensions where it leads. On MMLU, Gemini 1.0 Ultra scored 90.0 at launch (December 2023) — the first model to score 90%+ on this benchmark, setting a ceiling that took 12 months for competitors to approach. Gemini 2.0 Pro scored 91.2, and Gemini 2.5 Pro is projected at ~92–93. On the multimodal MMMU benchmark, Gemini 1.5 Pro scored 68.2 vs [GPT-4o](/families/gpt)'s 69.1 — essentially tied. Gemini 2.5 Pro is projected at ~72–74, maintaining multimodal leadership. On the needle-in-a-haystack long-context retrieval benchmark (searching for a specific fact in 1M+ tokens of text), Gemini 1.5 Pro achieved 99.7% retrieval accuracy at 1M tokens and 98.1% at 10M tokens — the first model to demonstrate >99% retrieval at million-token scale. The retrieval accuracy curve is remarkably flat from 10K to 1M tokens (dropping <0.5%), then gradually declining to ~95% at 2M (Gemini 2.0) and ~97% at 2M (Gemini 2.5). No open-weight model has been benchmarked beyond 128K context with comparable retrieval accuracy. This is Gemini's benchmark signature — it's the context-length leader by a wide margin. On video understanding benchmarks (ActivityNet-QA, Next-QA, Video-MME), Gemini 1.5 Pro scored 59.4 on ActivityNet-QA vs [GPT-4](/families/gpt)o's 52.8 — a 6.6-point gap reflecting native video-processing vs frame-sampling workarounds. Gemini 2.5 Pro extends this leadership on video benchmarks — native multimodal training provides a structural advantage for video understanding that frame-sampling approaches cannot replicate. On real-time video streaming benchmarks (Gemini 2.0 Flash watching live video and answering questions), benchmark standardization is nascent — Google's published results show 85–90% accuracy on live-action understanding tasks, but independent verification is limited by the novel benchmark format. On LMSys Chatbot Arena ELO, Gemini models have trailed GPT and Claude models on text-only tasks but led on multimodal tasks where the Arena's evaluation format supports multimodal queries. The LMSys Multimodal Arena (separate from the text-only Arena) shows Gemini 2.5 Pro leading with ~1350 ELO, validating the multimodal-first design. For operators evaluating Gemini vs GPT/Claude: Gemini leads on tasks involving video, long documents, and multimodal reasoning; GPT/Claude lead on pure text reasoning and coding.

Runtime support

Gemini has no local runtime support — the models are API-only. The operational runtime interface is the Gemini API (Google AI Studio or paid API), Google Cloud Vertex AI (enterprise deployment), or client SDKs (Python, JavaScript, Swift, Kotlin, Java, Go). The Gemini API uses Google's own format (different from both OpenAI's Chat Completions and Anthropic's Messages API), requiring Google-specific integration. The API supports multimodal input (text, images, audio, video, PDFs), streaming responses, function calling, and structured JSON output. For applications built against the Gemini API, the local alternative path is less straightforward than for [GPT](/families/gpt) (OpenAI-format compatibility) or [Claude](/families/claude) (LiteLLM translation). The Gemini API's unique capabilities (native video input, million-token context, real-time streaming video) have no local equivalents, meaning applications that depend on these capabilities cannot be migrated to local inference. For text-only and image-only Gemini use cases, an OpenAI-format local inference server ([vLLM](/tools/vllm), [Ollama](/tools/ollama)) running an open-weight multimodal model provides functional equivalence — but the integration must be rewritten from the Gemini API format to the OpenAI API format. Google AI Studio is the developer-facing Gemini interface: a web-based playground for testing prompts, adjusting model parameters, and viewing safety filters. AI Studio provides a free tier with rate limits — accessible for prototyping and testing without API costs. The Gemini API's free tier (1,500 requests/day for Gemini 2.0 Flash, 50 requests/day for Gemini 2.5 Pro) is the most generous free tier among frontier LLM APIs — useful for testing Gemini quality on your tasks before committing to paid API usage or before deciding whether to build a local alternative pipeline. Gemini's Google Cloud integration (Vertex AI) provides the enterprise deployment layer: IAM access control, VPC Service Controls, data residency (34+ regions), HIPAA/FedRAMP/SOC compliance, and Google's SLA. For enterprises already on Google Cloud, Gemini via Vertex AI is the lowest-friction path to frontier LLM deployment — similar to Claude's AWS advantage and [GPT's](/families/gpt) Azure advantage. The cloud-provider-as-distribution model (Google→Gemini, Amazon→Claude, Microsoft→GPT) is the enterprise AI deployment landscape in 2026.

Quantization support

Gemini quantization is not applicable — the models are API-only and hosted on Google's TPU infrastructure. Google's TPU inference likely uses INT8 or bfloat16 mixed-precision for serving efficiency (Gemini 2.0 Flash's low cost implies aggressive optimization), but these implementations are proprietary. The quantization characteristics of Gemini-architecture models (native multimodal transformers with million-token context) have no equivalent open-weight reference for comparative analysis. Gemini Nano (the on-device ~1.8B parameter Gemini variant) is the only publicly documented Gemini quantization. Gemini Nano is quantized to 4-bit precision to fit within a mobile device's memory budget (~2–3 GB total for the model and runtime) while maintaining task-specific accuracy. Google's published quantization-quality data for Gemini Nano shows: 4-bit Nano achieves ~92% of the quality of the full-precision teacher model on smart-reply quality metrics, ~88% on summarization quality, and ~85% on complex reasoning — illustrating the quantization tradeoff for on-device deployment. This is the only public Gemini quantization data point — the larger Gemini models' quantization characteristics are Google-internal. Gemini's 2M-context quantization characteristics are unknown — handling 2M-token attention at reduced precision is an active research challenge that Google has solved internally but not published. This context-length quantization challenge is the primary unknown in estimating "when will Gemini-class quality be locally deployable" — even with Q4-quantized open-weight models at Gemini's parameter scale, the 2M-context attention computation may require precision levels that Q4-quantized KV caches cannot maintain. Google's Gemma family (the open-weight sibling to Gemini) provides a partial local equivalent. [Gemma 4 31B](/models/gemma-4-31b) is a locally deployable model trained with Google infrastructure and principles, representing the largest open-weight Google model in 2026. Gemma models are not Gemini-minis (they are independently trained, not Gemini-distilled), but they share Google's training infrastructure and data quality. Gemma 4's quantization characteristics are the closest available proxy for "how would a small Gemini quantize" — see the Gemma family page for specific quantization data.

Ecosystem maturity

Gemini's ecosystem is Google-integrated and Android/iOS-native — distinct from [GPT's](/families/gpt) web-native ecosystem. This product integration is the broadest AI deployment surface of any model family — over 2 billion users interact with Gemini-powered features daily across Google's products. The Google AI developer ecosystem includes: Google AI Studio (free prototyping), the Gemini API (paid production access), Vertex AI (enterprise deployment), TensorFlow and JAX model development frameworks, Google Colab (free GPU/TPU notebooks), and Kaggle (AI competition and dataset platform). This vertically integrated ecosystem (from research frameworks through training infrastructure to deployment platform to consumer products) provides a full-stack AI development environment that no other model family matches in breadth. For developers within Google's ecosystem, Gemini is the default model — the path of least resistance is Google's end-to-end pipeline. The mobile ecosystem is Gemini's unique advantage. Gemini Nano runs on-device on Pixel 9 and Samsung Galaxy S25 devices, providing AI features with zero network latency and offline capability. The AI Core API (Android) allows Android developers to access on-device Gemini Nano for text summarization, smart reply, and proofreading — the largest-scale deployment of on-device LLM capabilities to end users. This mobile integration has no equivalent in the [GPT](/families/gpt) or [Claude](/families/claude) ecosystems — Gemini is the only frontier model family with a genuine on-device deployment footprint. The ecosystem gap for local AI operators is the same as GPT and Claude: the model is API-only and cannot be locally self-hosted. However, Google's Gemma open-weight models partially fill this gap — Gemma provides Google-quality models (smaller scale, less capable) for local deployment. The Gemini→Gemma relationship (Google's frontier API model + Google's open-weight local model) is a model for how vertically integrated AI companies can serve both the API and local AI markets. The quality gap between Gemini and Gemma (Gemma 4 31B is roughly equivalent to Gemini 1.0 Nano in quality) is the local-deployment compromise for Google-ecosystem operators.

Finetune ecosystem

Gemini fine-tuning is available through Google Cloud Vertex AI and Google AI Studio. Supported models include Gemini 1.5 Pro and Gemini 2.0 Flash for supervised fine-tuning on text, image, and multimodal data. Fine-tuning is a managed service: upload training data (text or multimodal examples in Google's format), configure training parameters (epochs, learning rate multiplier), Google handles the training infrastructure and deploys the fine-tuned model as a private API endpoint. The fine-tuned model is billed at the same per-token rate as the base model plus a per-hour hosting charge — no upfront training cost for small fine-tunes (<100 examples are free in AI Studio). Supervised fine-tuning for Gemini focuses on style and format adaptation — training Gemini to follow a specific output format, adopt a domain-specific tone, or recognize organization-specific terminology. It does not add new knowledge (the model cannot learn facts not in its training data) and cannot significantly alter the model's reasoning patterns or safety boundaries. This is consistent with the fine-tuning API limitations of [GPT](/families/gpt) — it's style adaptation, not capability expansion. Gemini fine-tuning supports multimodal training data: fine-tune on text+image inputs to teach Gemini domain-specific visual understanding (medical imaging, industrial inspection, document understanding). This multimodal fine-tuning is Gemini's unique fine-tuning capability — neither GPT nor [Claude](/families/claude) offer multimodal fine-tuning APIs. For applications requiring domain-specific visual AI, Gemini is the only frontier model option for managed multimodal fine-tuning. Google's Gemma open-weight family provides the local fine-tuning alternative. Gemma 4 31B supports LoRA and QLoRA fine-tuning on [RTX 4090](/hardware/rtx-4090) hardware, with published fine-tuning recipes from Google. The Gemini→Gemma quality gap (Gemma is approximately Gemini 1.0-class) means that local fine-tuning sacrifices quality for control — operators must evaluate whether the quality cost of switching from Gemini to Gemma (for local fine-tuning capability) is justified by the benefits of local control and per-token cost savings. For most operators, the sweet spot is: use Gemini API for production quality, fine-tune Gemma locally for experimentation and rapid iteration, then deploy the validated approach to Gemini API for scale.

Deployment caveats

Gemini's deployment caveats center on Google dependency, safety-filter opacity, and geographic availability. Google dependency means Gemini API usage is tied to Google Cloud's availability and pricing — a dependency that is broader than model-specific vendor lock-in. Applications that integrate Gemini often also use Google Cloud Storage, Google Cloud Run, and other GCP services, creating a cluster of Google dependencies. Safety filter behavior is less documented and less user-controllable than GPT's moderation API. Gemini's safety filters evaluate queries across harm categories (harassment, hate speech, sexually explicit, dangerous) and can block responses without clear error messages. The safety-filter sensitivity is adjustable via safety settings (BLOCK_NONE through BLOCK_MOST), but even BLOCK_ONLY_HIGH can produce unexpected refusals on academic, medical, and technical content. Google AI Studio provides safety-filter debugging tools to inspect which filter category triggered a refusal — essential for production troubleshooting. Geographic availability is Gemini's unique deployment constraint. Gemini API is available in 180+ countries as of 2025, but availability varies by tier ([Gemini 2.5](/families/gemini) Pro is available in fewer countries than Gemini 2.0 Flash) and is subject to US export controls for advanced AI models. The 10M-token research-access context window is limited to Google-approved research partners. Operators in countries with Google Cloud restrictions or US AI export restrictions may have limited or no access to Gemini's advanced tiers. This geographic constraint is less severe than [ERNIE's](/families/[ernie](/families/ernie)) China-only availability but more restrictive than GPT's near-global API availability. The 2M-token context window, while architecturally impressive, introduces deployment complexity. With 2M tokens of context, per-query latency is measured in seconds-to-minutes (Gemini 2.5 Pro with full 2M context: ~10–30 seconds for first token, ~100–500ms per subsequent token). Operators accustomed to sub-second LLM latency must redesign UX for long-context queries — the user experience of "type a question about a book and wait 30 seconds while Gemini reads the entire book" requires expectation-setting and progress indicators.

Best entry point for local use

Gemini is Google's closed-weight family — there are no open-weight Gemini models for local deployment. Google's open-weight alternative is Gemma 3 12B (Gemini-distilled, Apache 2.0-like license), which runs on RTX 3060 12GB at Q4 (~7 GB). Gemma 3 captures ~50-60% of Gemini 2.0 Flash quality on benchmarks at ~1/200th the parameter count — it is the pragmatic local entry point for Gemini-style capability. For true Gemini-level performance: DeepSeek V4 at FP8 on 8× H100 SXM — matches Gemini 2.5 Pro on math and code with open weights. Gemini's native multimodality (text + image + audio + video input in a single model) has no open-weight equivalent — InternVL2 handles text+image, Whisper handles audio, and Wan handles video, but no single open-weight model processes all modalities natively. Gemini 2.5 Flash is the cost-efficient API entry point for most use cases ($0.15/1M input, $0.60/1M output with 1M token context).

Deployment guidance

Gemini is API-only — no self-hosted deployment. Google AI Studio / Vertex AI endpoints: Gemini 2.5 Pro ($1.25/1M input, $10/1M output up to 200K), Gemini 2.5 Flash ($0.15/1M input, $0.60/1M output), Gemini 2.0 Flash-Lite ($0.075/1M input, $0.30/1M output). For self-hosted Gemini-alternative multimodality: InternVL2 76B Q4 on 2× H100 SXM for vision-language, faster-whisper large-v3 on L4 for audio, and ComfyUI + Wan 2.1 on RTX 4090 for video — each modality is a separate model. For mobile/edge: Gemma 3 4B via MediaPipe LLM Inference on Tensor G4 — runs entirely on-device, 1M context via KV-cache compression. For Vertex AI enterprise: Gemini 2.5 Pro with grounding (Google Search) and enterprise data residency — latency 300-800ms, Google Cloud SLA. For local RAG at Gemini quality: BGE-M3 retrieval + Llama 3.3 70B generation via vLLM on 2× H100 SXM.

Related — keep moving

Before you buy

Verify Gemini (Google) runs on your specific hardware before committing money.