Private Models

Google: Gemini 3.1 Pro Preview

google/gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is Google's frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation.

Modalities
TextImageFileAudioVideotoText
In / out price
$4.00 / $18.00per 1M
Context
1M
Released
Aug 6, 2026

Providers

RedPill routes this model across providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show first-token latency, speed, and uptime.

googleCheckingCheckingChecking

Start building

Call this model from your application, or through your agents.

For applications

Point your OpenAI SDK at the Gateway. Chat, completions, and embeddings work unchanged.

1
Create a key
2
Set base URL
3
Verify receipt

For agents

Connect Claude Code, Codex, Pi, and more through Private AI Proxy. Traffic is protected while a verified session is active.

1
Install Proxy
2
Turn on Protected
3
Connect agents
Release notes
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.redpill.ai/v1",
  apiKey: process.env.REDPILL_API_KEY,
});

const response = await client.chat.completions.create({
  model: "google/gemini-3.1-pro-preview",
  messages: [{ role: "user", content: "Say hello." }],
});

Search

Search models and pages.