Gemini API
Access Gemini instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain AI like I'm five!", {
model: "google/gemini-3.8-flash"
}).then(response => {
console.log(response);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain AI like I'm five!", {
model: "google/gemini-3.8-flash"
}).then(response => {
console.log(response);
});
</script>
</body>
</html>
List of Gemini Models
Gemini 4 Neon
google/gemini-4-neon
Gemini 4 Neon is a multimodal reasoning model from Google DeepMind. Google adapted it from Gemini 4 Carbon and built it for complex coding, analytical reasoning, and enterprise workflows. It accepts text, images, audio, video, and PDFs, returns text, and supports function calling, structured outputs, and four thinking levels (low, medium, high, xhigh). On the Artificial Analysis Intelligence Index it scores 61 at xhigh. Google also reports 58.6 on the Artificial Analysis Coding Agent Index, 65.2% on Terminal-Bench 4.1, and 70.9% on the Vals Index. Google says it costs 32% less per task than Gemini 4 Carbon at the default high setting. Good fits are multi-file code changes, long agent runs with heavy tool use, and analysis of spreadsheets, charts, PDFs, and long documents in its 1M-token context. It suits teams that want results close to Carbon at a lower cost per task.
ChatGemini 4 Hydrogen
google/gemini-4-hydrogen
Gemini 4 Hydrogen is a multimodal reasoning model from Google DeepMind, released on November 12, 2026 as part of the Gemini 4 family alongside Gemini 4 Argon and Gemini 4 Carbon. Google describes it as an everyday model for coding and agentic workflows and positions it as the successor to Gemini 3.8 Flash. It accepts text, images, audio, video, and files, returns text, and supports tool calling and four thinking levels (low, medium, high, and xhigh) across a 1M-token context window. Google reports 57% on Terminal-Bench 4.1, up from 18.2% for Gemini 3.8 Flash, with tasks finishing 2.5x faster than 3.8 Flash. On the Artificial Analysis Intelligence Index it scores 51 at high thinking, one point above Gemini 4 Argon. It suits code fixes and debugging, multi-step agents, data analysis, and reports built from PDFs, spreadsheets, audio, and video.
ChatGemini 4 Carbon
google/gemini-4-carbon
Gemini 4 Carbon is Google DeepMind's top model in the Gemini 4 family, announced on October 28, 2026 as a step above Gemini 4 Argon. Google built it for long, multi-step software engineering and defensive cybersecurity, such as finding, validating, and patching vulnerabilities. Google reports 88.2% on SEC-bench Pro, 54.8% on ExploitGym, and 71.0% on CWE-bench. It scores 59 on the Artificial Analysis Intelligence Index v5.0, which Google says places it first on that index. It accepts text, image, audio, video, and file input with a 1M-token context window. Google listed launch pricing of $2 per million input tokens and $10 per million output tokens, rising to $4 and $20 later, with cached input 95% cheaper. On Puter it currently costs $4 per million input tokens and $20 per million output tokens. It suits coding agents, security tooling, and long-document analysis.
VideoGemini Omni 1.2 Flash
google/gemini-omni-1.2-flash
Gemini Omni 1.2 Flash is a video generation and editing model from Google DeepMind, released in November 2026 as the successor to Gemini Omni 1.1 Flash. It turns text prompts, reference images, and short video clips into video with synchronized native audio, including dialogue with lip-sync. Clips run from 3 to 15 seconds, up from 10 seconds in 1.1 Flash, in 16:9 or 9:16. Output is 360p or 720p, with upscaling to 1080p or 4K. Google says it holds character, product, and style references more consistently and produces fewer unwanted jump cuts than 1.1 Flash. It supports multi-turn editing of a clip through follow-up prompts, first-and-last-frame interpolation, and extension of generated videos up to 30 seconds total. Google prices it about 30% below 1.1 Flash. Target uses include product ads, explainers, social clips, and dialogue scenes.
ChatGemini 4 Argon
google/gemini-4-argon
Gemini 4 Argon is Google's flagship Gemini 4 model, announced by Google DeepMind on September 30, 2026. It is aimed at long, multi-step software engineering, legal and finance work, and defensive cybersecurity. Google reports 77.9% on DeepSWE v1.1 (Claude Opus 5.5 74.2%, GPT-6 Astra 74.1%) and 19.6% on Harvey's Legal Agent Benchmark. It trails Opus 5.5 on Terminal-bench 4.0 (57.4% vs 66.4%) and GPT-6 Astra on FrontierSWE v2 (55.0% vs 65.5%). Vals.ai places it first on the Vals Index at 68.9%. Google listed introductory pricing of $2 per million input tokens and $10 per million output tokens, rising to $4 and $20 later. On Puter it costs $4 per million input tokens and $20 per million output tokens. It suits teams running coding agents or document-heavy professional workflows.
ImageGemini Nano Banana 2.1
google/gemini-nano-banana-2.1
Gemini Nano Banana 2.1 is Google's image generation and conversational editing model, released in October 2026 as an update to Nano Banana 2 (Gemini 3.1 Flash Image). It keeps Flash-tier speed and cost while improving visual quality, prompt adherence, text rendering, and multi-turn character consistency. It accepts text, image, video, and PDF input and returns images and text. Output is available at 1K, 2K, and 4K, with fixes for tiling artifacts on wide aspect ratios such as 1:8 and 8:1 at 2K and 4K. It can combine up to 14 reference images, and supports search grounding and configurable thinking levels. A 1K image costs $0.0336. Choose it for infographics, text-heavy graphics, and multi-step editing where the same characters must stay consistent across turns.
ChatGemini 3.8 Flash
google/gemini-3.8-flash
Gemini 3.8 Flash is Google's workhorse Flash-tier model, released September 2, 2026, three weeks after Gemini 3.7 Flash. It's built for long-horizon software engineering, agentic workflows, and multi-step reasoning in professional domains. Google reports it outperforms 3.7 Flash and other frontier models on DeepSWE v1.1 for autonomous engineering tasks, on Vals Finance Agent V2, and on Harvey's Legal Agent Benchmark. It scores 54.9% on HLE-Verified, and completes more than three times as many tasks as 3.7 Flash in Google's long-running, document-heavy workflow evaluations. It accepts text, image, video, audio, and PDF input with a 1M token context window and 64K token output limit, supports function calling and iterative tool use, and has a March 2026 knowledge cutoff. Google listed pricing of $0.75 per million input tokens and $3.75 per million output tokens through 2026. On Puter it costs $1.50 per million input tokens and $7.50 per million output tokens. It targets teams running coding agents or document-heavy enterprise workflows.
VideoGemini Omni 1.1 Flash
google/gemini-omni-1.1-flash
Gemini Omni 1.1 Flash is a video generation and editing model from Google. Google released it on August 27, 2026 as the generally available successor to the gemini-omni-flash-preview model, which is scheduled for deprecation on September 30, 2026. It accepts text, images, and video as input and returns video clips of 3 to 10 seconds. It supports first-and-last-frame interpolation and scene extension, which reads up to 10 seconds of prior video and can extend a clip in 10-second steps up to 40 seconds in total. Output resolutions are 360p, 720p (the default), 1080p, and 4K, where 1080p and 4K are upscaled. Google says 360p drafts are up to 60% faster and one third the cost of 720p generation. Google has not published a broad independent quality comparison against other video models. It suits developers who want to draft cheaply at 360p, then extend or edit clips through the same model.
ChatGemini 3.7 Flash
google/gemini-3.7-flash
Gemini 3.7 Flash is Google's workhorse Flash-tier model, released August 13, 2026, three weeks after Gemini 3.6 Flash. It's built for coding and agentic workflows, targeting software engineering, web development, and knowledge-dense domains like finance and law. Google reports gains over Gemini 3.6 Flash on several benchmarks. DeepSWE v1.1 rose from 49.0% to 65.3%, FrontierCode 1.1 from 34.4% to 43.6%, and AutomationBench from 17.0% to 30.4%. On FrontierCode 1.1 it scores above Claude Sonnet 5 (42.7%) and GPT-5.6 Terra (41.3%), though GPT-5.6 Terra edges it out on Terminal-bench 2.1 (87.4% vs 85.8%). It accepts text, image, video, audio, and PDF input with a 1M token context window and 64K token output limit. It supports function calling, search as a tool, and computer use, and has a March 2026 knowledge cutoff. It's priced at roughly half of Gemini 3.6 Flash's rate, fitting teams running coding agents or high-volume document processing.
ChatGemini Robotics ER 2 Preview
google/gemini-robotics-er-2-preview
Gemini Robotics ER 2 Preview is Google's embodied reasoning model for robotics, available through the Gemini API and Google AI Studio. It takes video, images, audio and text, reasons about a physical scene, plans multi-step tasks, and hands actions off to a vision-language-action model, a robotics API, or developer-defined tools through function calling. Google says it can plan its next step while a robot is moving, works with the Gemini Live API, and can monitor a task in video, detect failures and retry individual steps. It also supports multi-robot coordination. In Google's reported tests it reached 91.3% accuracy at identifying when a key event occurred in a video (mean error 0.96 seconds) and 57.4% on progress classification. It is meant for developers building robot planning, success detection and scene understanding on top of the Gemini API.
ChatGemini 3.5 Flash-Lite
google/gemini-3.5-flash-lite
Gemini 3.5 Flash-Lite is Google's fastest and most cost-efficient model in the Gemini 3.5 series, built for high-throughput, low-latency workloads. It scores 54% on Terminal-Bench 2.1 and 72.2% on GDM-MRCR v2, up from 31% and 60.1% for Gemini 3.1 Flash-Lite. It also outperforms the larger Gemini 3 Flash on SWE-Bench Pro (54.2% vs. 49.6%) and OSWorld-Verified (74.0% vs. 65.1%), while generating output at roughly 350 tokens per second. It supports text, image, video, audio, and PDF input with a 1M token context window, configurable thinking levels, and function calling, including computer use as a built-in tool. It's suited for agentic search, document processing, and other high-volume tasks where throughput and cost matter more than maximum reasoning depth.
ChatGemini 3.6 Flash
google/gemini-3.6-flash
Gemini 3.6 Flash is Google's workhorse Flash-tier model, released as the successor to Gemini 3.5 Flash. It's built for running AI agents in production, with improvements in coding precision, computer use, and multimodal understanding. In Google's own benchmarks, it scores 83.0% on OSWorld-Verified (up from 78.4% for 3.5 Flash), 49% on DeepSWE (up from 37%), 63.9% on MLE-Bench (up from 49.7%), and 58.7% on SWE-Bench Pro. It also produces 17% fewer output tokens than 3.5 Flash on comparable tasks. It accepts text, image, video, audio, and PDF input with a 1M token context window, supports function calling and a built-in computer-use tool, and has a March 2026 knowledge cutoff. At $1.50 per million input tokens and $7.50 per million output tokens, it matches the current 3.5 Flash rates.
ImageGemini 3.1 Flash Lite Image
google/gemini-3.1-flash-lite-image
Gemini 3.1 Flash Lite Image is Google DeepMind's fastest and lowest-cost image generation and editing model in the Gemini 3.1 family, also known as Nano Banana 2 Lite. It generates a 1K-resolution image in about 4 seconds, roughly 2.7x faster than Gemini 3.1 Flash Image, at $0.0336 per image. It keeps the character consistency, precise natural-language editing, and real-world knowledge of the Nano Banana family while trading some peak quality for speed. It supports text-to-image generation, image editing, and multi-image composition through the same API used by other Gemini image models, with a discrete set of 14 aspect ratios at 1K resolution. It's built for high-volume, latency-sensitive use cases such as rapid prototyping, interactive applications, and batch image generation, where cost and turnaround time matter more than maximum fidelity.
ChatGemini 3.5 Flash
google/gemini-3.5-flash
Gemini 3.5 Flash is Google DeepMind's frontier-speed model that combines Flash-tier latency and cost with near-Pro-level reasoning, announced at Google I/O 2026. It processes output 4x faster than comparable frontier models while outperforming Gemini 3.1 Pro on coding and agentic benchmarks — 76.2% on Terminal-Bench 2.1, 83.6% on MCP Atlas, and 84.2% on CharXiv Reasoning. It's purpose-built for agentic workflows: orchestrating multi-step tool use, long-context document analysis, and iterative code generation. With a 1M token context window and full multimodal input support (text, image, audio, video, PDF), it handles complex real-world tasks at scale. At $1.50 per million input tokens and $7.50 per million output tokens, it's the best choice for developers who need frontier intelligence without frontier latency or cost.
ChatGemini 3.1 Flash-Lite
google/gemini-3.1-flash-lite
Gemini 3.1 Flash-Lite is Google's fastest and most cost-efficient model in the Gemini 3.1 series, designed for high-volume, latency-sensitive workloads. It delivers 2.5x faster time-to-first-token and 45% higher output throughput than Gemini 2.5 Flash, scoring 86.9% on GPQA Diamond and 76.8% on MMMU Pro. An Intelligence Index score of 34 — nearly triple that of 2.5 Flash-Lite — puts it well above prior budget-tier models at the same price point. The model supports text, image, video, audio, and PDF input with a 1M token context window and configurable thinking levels. It's the right choice for developers building translation pipelines, content moderation systems, classification tasks, or any application where throughput and cost matter most.
ChatGemma 4 31B
google/gemma-4-31b-it
Gemma 4 31B is a dense multimodal model from Google DeepMind, built on the same research foundation as Gemini 3. It is the most capable model in the Gemma 4 family, accepting text, image, and video input with a 256K-token context window. It delivers strong benchmark results: 89.2% on AIME 2026, 85.2% on MMLU Pro, 80.0% on LiveCodeBench v6, and 84.3% on GPQA Diamond. On the Arena AI text leaderboard, it ranks as the #3 open model globally, outperforming many models with far higher parameter counts. Gemma 4 31B features native function calling trained into the model, configurable chain-of-thought reasoning, and structured JSON output — making it especially well-suited for agentic workflows, coding tasks, and multi-turn tool use. It supports over 140 languages and serves as a strong foundation for fine-tuning.
ChatGemma 4 26B A4B
google/gemma-4-26b-a4b-it
Gemma 4 26B A4B is a Mixture-of-Experts (MoE) open model from Google DeepMind, built from the same research as Gemini 3. It has 26B total parameters but activates only 3.8B per forward pass, delivering near-31B-dense quality at a fraction of the compute cost. The model supports a 256K token context window, multimodal image and text input, built-in step-by-step reasoning (thinking mode), and native function calling for agentic workflows. It currently ranks #6 among open models on the Arena AI text leaderboard with an estimated LMArena score of 1441 — competitive with models many times its active size. It excels at reasoning, coding, long-context tasks, and structured tool use. It's a strong pick for developers who need high throughput and low latency without sacrificing capability.
VideoVeo 3.1 Lite
google/veo-3.1-lite
Veo 3.1 Lite is Google DeepMind's most cost-effective video generation model, built for high-volume applications where per-clip cost is a primary concern. It generates video at the same speed as Veo 3.1 Fast but at less than half the price — starting at $0.05 per second for 720p. The model supports text-to-video and image-to-video with 720p and 1080p output in landscape (16:9) or portrait (9:16), at configurable durations of 4, 6, or 8 seconds. It does not support 4K output, scene extension, or native audio generation — clips are silent by default. Veo 3.1 Lite is ideal for developers building batch video pipelines, social media automation, or interactive tools where cost per generation matters most and audio can be added in post-production.
ChatGemini 3.1 Flash-Lite Preview
google/gemini-3.1-flash-lite-preview
Gemini 3.1 Flash-Lite Preview is the preview release of Google's fastest and most cost-efficient model in the Gemini 3.1 series, made available through the Gemini API in AI Studio and Vertex AI on March 3, 2026, ahead of the stable version. It scores 86.9% on GPQA Diamond and 76.8% on MMMU Pro, with a 1432 Elo score on the Arena.ai leaderboard. Google reports 2.5x faster time-to-first-token and 45% higher output speed than Gemini 2.5 Flash, and Artificial Analysis measured about 382 output tokens per second. The model supports multimodal input with a 1M token context window and configurable thinking levels. It's built for high-volume tasks like translation, content moderation, classification, and data labeling. As a preview endpoint, its behavior may change before the stable release.
ImageGemini 3.1 Flash Image
google/gemini-3.1-flash-image
Gemini 3.1 Flash Image (also known as Nano Banana 2) is Google DeepMind's latest state-of-the-art image generation and editing model, combining Pro-level quality with the speed of the Flash architecture. It supports text and image input with up to 1M token context, generates images up to 4K resolution, and features advanced world knowledge, precise text rendering, subject consistency, and web-search grounding.
ChatGemini 3.1 Pro
google/gemini-3.1-pro-preview
Gemini 3.1 Pro is Google's most advanced reasoning model, building on the Gemini 3 series with over double the reasoning performance of its predecessor (77.1% on ARC-AGI-2) and a 1M token context window. It features a three-tier thinking system (low, medium, high) for adjustable reasoning depth and is optimized for agentic workflows, software engineering, and complex problem-solving.
ChatGemini 3 Flash
google/gemini-3-flash-preview
Gemini 3 Flash is Google's frontier intelligence model built for speed, combining Pro-grade reasoning with Flash-level latency at a fraction of the cost. It excels at agentic coding, complex analysis, and multimodal understanding with configurable thinking levels.
ImageGemini 3 Pro Image
google/gemini-3-pro-image
Gemini 3 Pro Image (Nano Banana Pro) is Google's most advanced image generation and editing model built on Gemini 3 Pro, featuring studio-quality output with support for 2K/4K resolution. It excels at accurate text rendering in multiple languages, uses Google Search grounding for real-time data, and employs thinking mode for complex reasoning through prompts.
ChatGemini 3 Pro
google/gemini-3-pro-preview
Gemini 3 Pro is Google's most intelligent model, delivering state-of-the-art performance in reasoning, multimodal understanding, and agentic coding. It handles text, images, video, audio, and code with a 1M token context window and advanced tool-calling capabilities.
VideoVeo 3.1
google/veo-3.1
Veo 3.1 is Google DeepMind's flagship AI video generation model, offering the highest quality output in the Veo family. It generates up to 4K resolution video with natively synchronized audio — including dialogue, sound effects, and ambient noise — all produced in a single joint diffusion process. The model supports text-to-video, image-to-video, reference image guidance (up to 3 images), and frame-to-frame generation. Clips are 8 seconds at base, extendable to over 60 seconds via scene chaining. Both 16:9 and native 9:16 aspect ratios are supported. Lip-sync accuracy sits under 120ms. Veo 3.1 achieved top human-preference scores on MovieGenBench for prompt adherence, visual quality, and audio sync, and state-of-the-art results on VBench I2V. It was the first major AI video model to support true 4K output. Best suited for high-fidelity creative and production work where quality is the priority over speed or cost.
VideoVeo 3.1 Fast
google/veo-3.1-fast
Veo 3.1 Fast is the speed-optimized variant of Google DeepMind's Veo 3.1 video model, generating output roughly twice as fast as the standard version with only a minor quality trade-off. Independent testing shows quality differences of 1–8% depending on scene complexity — negligible for most use cases. It retains the full feature set of the standard model: native audio generation, text-to-video, image-to-video, reference images, frame-to-frame generation, and support for 720p, 1080p, and 4K resolutions. An 8-second 720p clip typically completes in 30–45 seconds. At roughly one-fifth the per-second cost of the standard model, Veo 3.1 Fast is well suited for rapid prototyping, iterative prompt testing, and production workflows where turnaround time and budget matter more than maximum fidelity.
ChatGemini 2.5 Flash Lite Preview 09-2025
google/gemini-2.5-flash-lite-preview-09-2025
Gemini 2.5 Flash-Lite Preview (September 2025) is a preview version of Google's cost-optimized Flash-Lite model. It's designed for high-volume classification, translation, and routing tasks with improved cost efficiency.
ChatGemini 2.5 Flash Preview 09-2025
google/gemini-2.5-flash-preview-09-2025
Gemini 2.5 Flash Preview (September 2025) is a preview version of Google's hybrid reasoning Flash model with controllable thinking capabilities. It balances quality, cost, and latency for enterprise-scale applications.
ChatGemini 2.5 Flash Image Preview
google/gemini-2.5-flash-image-preview
Gemini 2.5 Flash Image Preview is Google's image generation and editing model, widely known by its codename Nano Banana. It generates and edits images through the same chat-style API as other Gemini models, taking text and images as input and returning images alongside text. It is known for editing images with natural-language instructions, keeping a character's appearance consistent across multiple edits, and blending several input images into one coherent scene. At release in August 2025 it ranked #1 on LMArena's leaderboards for both text-to-image generation and image editing. Output is billed per token at $30 per million. Each generated image is 1290 output tokens, about $0.039 per image. The model is in preview, so the ID and behavior may change. Pick it for conversational, multi-turn image generation and editing rather than plain text chat.
ImageImagen 4 Fast
google/imagen-4.0-fast
Imagen 4 Fast is Google's speed-optimized text-to-image model offering generation up to 10x faster than Imagen 3 at just $0.02 per image. It's ideal for rapid prototyping, high-volume tasks, and iterative exploration while maintaining improved text rendering and style versatility.
ImageImagen 4 Ultra
google/imagen-4.0-ultra
Imagen 4 Ultra is Google's highest-fidelity text-to-image model designed for professional-grade realism with superior prompt adherence and nuanced interpretation of complex scenes. It delivers exceptional detail in textures, lighting, and atmosphere with 2K resolution output at $0.06 per image.
ImageImagen 4
google/imagen-4.0
Imagen 4 is Google DeepMind's flagship text-to-image generation model, available through the Gemini API and Google AI Studio. It delivers significant improvements over Imagen 3, particularly in rendering text, typography, and fine details like intricate fabrics and textures. The model supports output up to 2K resolution across a range of aspect ratios, generating images in roughly 2.5 seconds. A Fast variant optimized for high-volume use runs at $0.02 per image, while the standard model is $0.04 and the Ultra tier—built for precise prompt adherence—is $0.06. In human evaluations on GenAI-Bench, Imagen 4 scored highly against other leading image generation models on overall preference. All outputs are embedded with Google's SynthID watermark for AI-content traceability. It's a strong fit for developers building creative tools, marketing asset pipelines, or any application requiring reliable, high-quality image generation from text prompts.
ChatGemma 3n 2B
google/gemma-3n-e2b-it:free
Gemma 3n E2B Instruct (Free) is Google's mobile-first open model with an effective 2B parameter memory footprint using Per-Layer Embeddings. It's optimized for on-device AI with audio, text, image, and video understanding.
ChatGemini 2.5 Flash-Lite
google/gemini-2.5-flash-lite
Gemini 2.5 Flash-Lite is Google's cost-optimized version of 2.5 Flash, designed for high-volume tasks like classification, translation, and intelligent routing. It delivers efficient performance for cost-sensitive, high-scale operations.
ChatGemini 2.5 Flash-Lite Preview 06-17
google/gemini-2.5-flash-lite-preview-06-17
Gemini 2.5 Flash-Lite Preview 06-17 is the June 17, 2025 preview snapshot of Gemini 2.5 Flash-Lite, the fastest and lowest-priced model in Google's Gemini 2.5 family. It accepts text, image, audio, and video input, has a 1M token context window, and supports tool calling. Thinking is off by default and can be enabled with a thinking budget for harder tasks. Google reported lower latency than Gemini 2.0 Flash and 2.0 Flash-Lite, and higher quality than 2.0 Flash-Lite on coding, math, science, reasoning, and multimodal benchmarks. Artificial Analysis measured it at about 5x cheaper and 1.7x faster than Gemini 2.5 Flash, with lower intelligence. It fits high-volume, latency-sensitive work such as translation and classification. The stable gemini-2.5-flash-lite superseded this preview at general availability on July 22, 2025, so use this ID only if you need this exact snapshot.
ChatGemini 2.5 Pro Preview 06-05
google/gemini-2.5-pro-preview
Gemini 2.5 Pro Preview is the preview version of Google's most advanced reasoning model with state-of-the-art coding and complex task performance. It features Deep Think mode, 1M token context, and advanced multimodal capabilities.
ChatGemini 2.5 Pro Preview 06-05
google/gemini-2.5-pro-preview-06-05
Gemini 2.5 Pro Preview 06-05 is the June 5, 2025 snapshot of Google's Gemini 2.5 Pro reasoning model, and the final preview before general availability. The stable gemini-2.5-pro release contains no changes from this snapshot, so the two behave identically. At release it scored 1470 Elo on LMArena (up 24 points over the prior 05-06 preview) and 1443 on WebDevArena (up 35 points), led the Aider Polyglot coding benchmark, and posted top-tier results on GPQA and Humanity's Last Exam. Google also improved the style and structure of its responses based on developer feedback on earlier previews. It supports a 1M token context window, tool calling, and text, image, audio, and video input. As a dated snapshot its behavior is fixed; new work can use the stable gemini-2.5-pro ID instead.
ChatGemma 3n 4B
google/gemma-3n-e4b-it
Gemma 3n E4B Instruct is Google's mobile-optimized model with a 4B active memory footprint containing a nested 2B submodel for flexible quality-latency tradeoffs. It supports real-time multimodal processing on edge devices.
ImageImagen 4 Preview
google/imagen-4.0-preview
Imagen 4 Preview is the preview version of Google's flagship text-to-image diffusion model featuring photorealistic detail, improved typography, and support for up to 2K resolution. It balances quality and cost at $0.04 per image, making it suitable for a wide variety of creative tasks.
VideoVeo 3
google/veo-3.0
Google Veo 3 is Google DeepMind's advanced AI video model that generates high-quality videos with native synchronized audio including dialogue, sound effects, and ambient noise directly from text prompts. It delivers state-of-the-art results in physics, realism, and prompt adherence with cinematic quality 8-second clips at up to 1080p resolution.
VideoVeo 3 with Audio
google/veo-3.0-audio
Google Veo 3 with Audio is the audio-enabled configuration of Veo 3 that generates synchronized sound effects, dialogue, ambient noise, and music natively alongside video content. It produces complete audiovisual experiences from text prompts, eliminating the need for separate audio post-production.
VideoVeo 3 Fast
google/veo-3.0-fast
Google Veo 3 Fast is a speed-optimized variant of Veo 3 that generates videos approximately 2x faster at 60-80% lower cost while maintaining high visual quality. It's designed for rapid iteration, prototyping, and cost-efficient production workflows at 720p resolution.
VideoVeo 3 Fast with Audio
google/veo-3.0-fast-audio
Google Veo 3 Fast with Audio is the audio-enabled version of the speed-optimized Veo 3 Fast model, combining faster generation times and lower costs with native synchronized audio generation. It delivers sound effects, dialogue, and ambient audio while optimizing for speed and affordability in production workflows.
ChatGemini 2.5 Flash Preview 05-20
google/gemini-2.5-flash-preview-05-20
Gemini 2.5 Flash Preview 05-20 is the May 20, 2025 snapshot of Google's Gemini 2.5 Flash hybrid reasoning model, announced at Google I/O as the replacement for the earlier 04-17 preview. Google reported improvements across reasoning, multimodality, code, and long context, along with 20-30% lower token use in its evaluations. On Artificial Analysis's intelligence index it scores 65 with thinking on (up from 60) and 53 with thinking off (up from 49), putting its non-reasoning mode roughly level with GPT-4.1 and DeepSeek V3 0324. Thinking can be turned on or off per request, with a thinking budget of up to 24,576 tokens to trade off cost, latency, and quality. It accepts text, image, audio, and video input with a 1M token context window, supports function calling, and became the stable Gemini 2.5 Flash release unchanged in June 2025.
ChatGemini 2.5 Pro Preview 05-06
google/gemini-2.5-pro-preview-05-06
Gemini 2.5 Pro Preview (May 6) is a dated preview snapshot of Google's flagship reasoning model with improvements in code and function calling. It offers advanced reasoning capabilities for complex enterprise use cases.
ImageGemini 2.5 Flash Image
google/gemini-2.5-flash-image
Gemini 2.5 Flash Image (codenamed Nano Banana) is Google's state-of-the-art multimodal model for fast, conversational image generation and editing with low latency. It maintains character consistency across prompts, enables precise local edits via natural language, and supports multi-image composition and fusion.
ChatGemini 2.5 Flash Preview
google/gemini-2.5-flash-preview
Gemini 2.5 Flash Preview is the April 2025 preview release (04-17) of Google's first fully hybrid reasoning model. Developers can turn thinking on or off per request and set a thinking budget in tokens to trade off quality, cost, and latency. With the budget at zero it runs at cost and latency comparable to Gemini 2.0 Flash while scoring higher on benchmarks. In Google's reported results it scored 12.1% on Humanity's Last Exam, ahead of Claude 3.7 Sonnet (8.9%) and DeepSeek R1 (8.6%) but behind o4-mini (14.3%), plus 78.3% on GPQA Diamond and 78.0% on AIME 2025. It accepts text, image, audio, and video input with a 1M token context window. It suits high-volume work like chat, summarization, and data extraction where reasoning depth needs to be controlled. As a preview endpoint it has since been superseded by the stable Gemini 2.5 Flash release.
ChatGemini 2.5 Pro Preview 03-25
google/gemini-2.5-pro-preview-03-25
Gemini 2.5 Pro Preview 03-25 is the March 25, 2025 snapshot of Google's Gemini 2.5 Pro, the first model in the 2.5 family. It is a reasoning model that thinks before responding, with a 1M token context window, tool calling, and text, image, audio, and video input. At release it debuted at #1 on the LMArena leaderboard with a score of 1443, about 40 points ahead of the next model. Google reported 86.7% on AIME 2025, 84.0% on GPQA Diamond, and 63.8% on SWE-Bench Verified with a custom agent setup. As a dated preview snapshot its behavior is fixed, which suits workloads that need reproducible output. Later snapshots (05-06, 06-05) superseded it with improved coding performance.
ChatGemini 2.5 Flash
google/gemini-2.5-flash
Gemini 2.5 Flash is Google's hybrid reasoning model balancing speed, cost, and intelligence with controllable thinking capabilities. It supports up to 1M tokens and excels at summarization, chat applications, and data extraction at scale.
ChatGemini 2.5 Pro
google/gemini-2.5-pro
Gemini 2.5 Pro is Google's most capable reasoning model with state-of-the-art performance on coding and complex tasks. It features a 1M token context window, advanced multimodal understanding, and Deep Think mode for enhanced reasoning.
ChatGemma 3 12B
google/gemma-3-12b-it
Gemma 3 12B Instruct is Google's mid-sized open multimodal model supporting text and image input with a 128K token context window. It supports 140+ languages and offers strong performance for single-GPU deployment.
ChatGemma 3 4B
google/gemma-3-4b-it
Gemma 3 4B Instruct is Google's compact multimodal open model supporting text and images with a 128K token context window. It's optimized for deployment on laptops and edge devices while maintaining strong capabilities.
ChatGemma 3 27B
google/gemma-3-27b-it
Gemma 3 27B Instruct is Google's most capable single-GPU open model with multimodal support, 128K context, and 140+ language support. It outperforms many larger models and offers state-of-the-art open-weight performance.
ChatGemini 2.0 Flash Lite
google/gemini-2.0-flash-lite-001
Gemini 2.0 Flash-Lite 001 is a stable versioned release of Google's most cost-efficient model. It's optimized for large-scale text tasks with simplified pricing and consistent behavior for production use.
ChatGemini 2.0 Flash
google/gemini-2.0-flash-001
Gemini 2.0 Flash 001 is a stable versioned release of Gemini 2.0 Flash, Google's fast multimodal workhorse model. It provides consistent behavior for production deployments with native tool use and 1M token context support.
VideoVeo 2
google/veo-2.0
Google Veo 2 is Google DeepMind's video generation model that creates 5-second, 720p-4K resolution videos from text or image prompts with realistic physics simulation and cinematic quality. It excels at following complex instructions, simulating real-world physics, and supporting diverse visual styles without native audio generation.
ChatGemini 2.0 Flash
google/gemini-2.0-flash
Gemini 2.0 Flash is Google's fast multimodal model with native tool use, 1M token context window, and support for text, images, video, and audio input. It's optimized for agentic workflows with low latency and cost-efficient inference.
ChatGemini 2.0 Flash-Lite
google/gemini-2.0-flash-lite
Gemini 2.0 Flash-Lite is Google's most cost-efficient model, optimized for large-scale text output tasks. It offers simplified pricing and lower costs than Flash while maintaining solid performance for high-volume workloads.
ChatGemma 2 27B
google/gemma-2-27b-it
Gemma 2 27B Instruct is Google's open-weight instruction-tuned language model with 27 billion parameters, trained on 13 trillion tokens. It offers competitive performance with models twice its size and runs on a single high-end GPU.
ChatGemma 2 9B
google/gemma-2-9b-it
Gemma 2 9B Instruct is Google's efficient open-weight language model with 9 billion parameters, trained using knowledge distillation from the 27B model. It delivers strong performance for text generation while running on consumer hardware.
ChatGemma 4 26B A4B Cybersecurity
google/gemma-4-26b-a4b-it-cybersecurity
Gemma 4 26B A4B Cybersecurity is a cybersecurity-oriented variant of Google's Gemma 4 26B A4B instruction-tuned model, served through the Infron aggregator. The base model is a Mixture-of-Experts model with about 25.2B total parameters and roughly 3.8B active per token, released by Google DeepMind under the Apache 2.0 license. We found no public documentation of who produced this security fine-tune, what data it was trained on, or how it scores on benchmarks, so we make no performance claims for it. It has a 262,144-token context window and is priced at $0.60 per million input tokens and $1.90 per million output tokens. It suits developers who want to test a security-focused Gemma variant against the standard Gemma 4 26B A4B on their own tasks.
Frequently Asked Questions
The Gemini API gives you access to models for AI chat, image generation, and video generation. Through Puter.js, you can start using Gemini models instantly with zero setup or configuration.
Puter.js supports a variety of Gemini models, including Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Carbon, and more. Find all AI models supported by Puter.js in the AI model list.
With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.
Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.
Yes — the Gemini API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building. See the documentation for more details.