Solutions

Cheap Gemini 3.1 Pro API

Gemini 3.1 Pro is Google's Gemini model listed at $2 / $12 per 1M input/output tokens. Through Somnus every top-up is credited at 2× to 2.5×, so you effectively pay $1 / $6 or less, on the same OpenAI-compatible key as 50+ other models.

What a top-up buys on Gemini 3.1 Pro

You payCredit≈ 1M output tokens of Gemini 3.1 Pro
$20 (2×)$403.3
$50 (2.2×)$1109.2
$100 (2.35×)$23520
$200 (2.5×)$50042

Output-token count only; input tokens are cheaper. First top-up is at least 2.5×.

When to pick Gemini 3.1 Pro

Gemini 3.1 Pro costs $0.0090 per 1,500-in/500-out request at list price, $0.0045 effective. It sits in the mid price range — a good default for production apps.

Gemini 3.1 Pro vs similarly priced models

ModelMakerList (in / out)EffectiveSame request, effective
Claude Sonnet 5Anthropic$2 / $10$1 / $5$0.0040
Grok 4.7xAI$2 / $6$1 / $3$0.0030
Kimi K3Moonshot$3 / $15$1.5 / $7.5$0.0060
Qwen 3.8 MaxAlibaba$1.65 / $4.95$0.83 / $2.48$0.0025

Nearest models to Gemini 3.1 Pro by blended price (3 input : 1 output). All run on one Somnus key.

Getting the most out of Gemini 3.1 Pro for less

  • Input is 6.0× cheaper than output on Gemini 3.1 Pro, so long context with short answers is the cheapest pattern.
  • A $200 top-up gives $500 credit — about 111M blended Gemini 3.1 Pro tokens.
  • Mix models: send easy steps to DeepSeek V4 Flash and keep Gemini 3.1 Pro for the steps that need it.

Other Gemini models on Somnus

ModelList (in / out)Effectivevs Gemini 3.1 Pro
Gemini 3.8 Flash$0.75 / $3.75$0.38 / $1.880.33× the price

Every Google model shares the same key and balance.

Use Gemini 3.1 Pro

javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.SOMNUS_API_KEY,
  baseURL: "https://gateway-production-c837.up.railway.app/v1",
});

const resp = await client.chat.completions.create({
  model: "claude-sonnet-5",
  messages: [
    {"role": "user", "content": "Summarise this in one line"}
  ],
});
console.log(resp.choices[0].message.content);

Copy the exact model id from your dashboard.

Questions

Is Gemini 3.1 Pro really cheaper on Somnus?

Usage is billed at Google's list price, but each dollar you pay is credited as $2–$2.50, so the effective price is half or less.

Do I need a subscription?

No. Top up any amount from $5, or start with the free $5 credit.

Is Somnus affiliated with Google?

No. Somnus is an independent gateway.

Try Gemini 3.1 Pro with free credit

$5 free on sign-up, then 2× or more on every top-up.

Create a free account

Related

Browse more: Alternatives · Compare · Use cases · Developers · Solutions · Tools

WindowsStart with $5 free