Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Google

Google: Gemini 3.1 Pro

Try Gemini 3.1 Pro for free in your browser, and add it to your app for free with Puter.js AI API.

Try it free Add to your app
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "google/gemini-3.1-pro-preview"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "google/gemini-3.1-pro-preview"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Model Card

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.

Context Window 1M

tokens

Max Output 66K

tokens

Input Cost $2

per million tokens

Output Cost $12

per million tokens

Input text, image, video, audio, pdf

modalities

Tool Use Yes

 

Knowledge Cutoff Jan 2025

 

Release Date Feb 19, 2026

 

Output Speed 138

tokens / sec

Latency 22.27s

time to first token

Try Gemini 3.1 Pro for free

Try Gemini 3.1 Pro instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat google/gemini-3.1-pro-preview
Google
Chat with Gemini 3.1 Pro
Powered by Puter.js

Benchmarks

How Gemini 3.1 Pro performs on standard evaluations.

BenchmarkScore
GPQA Diamond Graduate-level science Q&A
94.1%
Humanity's Last Exam Cross-domain reasoning
47.0%
SciCode Scientific programming
58.7%
IFBench Instruction following
77.1%
LCR Long-context reasoning
82.0%
Terminal-Bench Hard Agentic terminal tasks
53.8%
τ²-Bench Tool use / agents
95.6%

Scores sourced from Artificial Analysis.

Find other Google models →

Chat

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.

Chat

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.

Chat

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.

Frequently Asked Questions

How do I use Gemini 3.1 Pro?

You can access Gemini 3.1 Pro by Google through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Can I try Gemini 3.1 Pro for free?

Gemini 3.1 Pro is free to try with a Puter account. Every account includes a free AI allowance, and you can chat with it in the playground on this page. You can upgrade your account anytime for a larger allowance.

Is the Gemini 3.1 Pro API free for developers?

Gemini 3.1 Pro is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for Gemini 3.1 Pro?
Gemini 3.1 Pro costs $2 per 1M input tokens and $12 per 1M output tokens.
Price per 1M tokens
Input$2
Output$12
Who created Gemini 3.1 Pro?

Gemini 3.1 Pro was created by Google and released on Feb 19, 2026.

What is the context window of Gemini 3.1 Pro?

Gemini 3.1 Pro supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,097 pages of text.

What is the max output length of Gemini 3.1 Pro?

Gemini 3.1 Pro can generate up to 66K tokens in a single response.

What is the knowledge cutoff of Gemini 3.1 Pro?

Gemini 3.1 Pro has a knowledge cutoff date of Jan 2025. This means the model was trained on data available up to that date.

What types of input can Gemini 3.1 Pro process?

Gemini 3.1 Pro accepts the following input types: text, image, video, audio, pdf. It produces: text.

Does Gemini 3.1 Pro support tool use (function calling)?

Yes, Gemini 3.1 Pro supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Gemini 3.1 Pro API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add Gemini 3.1 Pro to your app for free

Developers can integrate Gemini 3.1 Pro for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works