AICodeDog
Chat model · Google

Gemini 3.1 Pro

Massive 2M-token context — excels at long documents, large codebases, and multimodal video scenarios.

Commercial useHigh quality
Input
gemini-3-1-pro
Output
Output text preview
Response returns JSON / SSE stream directly

Gemini 3.1 Pro API — Intelligent chat engine

Access Gemini 3.1 Pro through AICodeDog. Just point your Base URL at api.aicodedog.com — the rest of the request shape, fields, and response are identical to Google's official API. Zero migration cost, better pricing.

Google

Provider

LLM

Model type

API

Interface

20%

Rate delta

Pricing details

Transparent pricing, no hidden fees. Pay only for what you use.

ModelOfficialAICodeDogSavings
Gemini 3.1 Pro$1.2500/1K tokens$1.00/千tok20%

* Final cost is based on actual output. Failed calls are never charged.

Gemini 3.1 Pro core features

Explore what Gemini 3.1 Pro can do

Function calling

Native function calling / tool use — wire straight into your business logic.

Long context

Long context window, ideal for document analysis and multi-turn dialogue.

Streaming output

Server-Sent Events streaming for typewriter-style real-time UX.

JSON mode

Forced structured JSON output — perfect for data extraction and API integration.

Multimodal input

Mix text and image inputs to understand visual content.

Safe & controllable

Built-in safety policy with custom system prompts and output constraints.

Multilingual

Prompt and respond in Chinese, English, and many other languages.

Advanced reasoning

Strong logical reasoning, math, and coding ability for complex tasks.

Where Gemini 3.1 Pro fits

Power efficient AI workflows across every industry

Intelligent support

24/7 automated answer systems that lift CSAT.

Content creation

Help write copy, articles, and reports — boost content output.

Data analysis

Auto-extract and analyse key facts and numbers from documents.

Coding assistant

Programming, code review, and technical-doc generation.

Knowledge Q&A

Build domain-expert Q&A on top of your document store.

Translation & polish

High-quality multilingual translation that preserves meaning and style.

Get started with Gemini 3.1 Pro

Three steps and you're integrated

Get a key

Sign up for AICodeDog and generate an API key in the console — usable immediately.

Pick the model

Try Gemini 3.1 Pro in the Playground to confirm it fits.

Wire it in

Follow the docs to integrate the API into your product — only the Base URL changes.

example.sh
curl https://api.aicodedog.com/v1/chat/completions \
  -H "Authorization: Bearer $AICODEDOG_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-1-pro",
    "messages": [
      {"role": "user", "content": "Explain what an API relay is in one sentence"}
    ]
  }'
Quick parameters
model
gemini-3-1-pro
endpoint
/v1/chat/completions
calling
Sync
vendor
Google

What people say about Gemini 3.1 Pro

Real voices from developers worldwide

“Connecting Gemini 3.1 Pro through AICodeDog was trivial — one Base URL change and the migration was done, with better pricing on top.”

M. Zhang
Indie developer

“Gemini 3.1 Pro on AICodeDog matches the official quality exactly, and the stability and latency are excellent — we're already using it in production.”

T. Lee
Tech lead

Gemini 3.1 Pro FAQ

Common questions about Gemini 3.1 Pro

How is Gemini 3.1 Pro priced?
Gemini 3.1 Pro is billed per 1K tokens. AICodeDog price is $1.00/千tok, saving 20% vs official. Failed calls aren't charged.
How do I get an API key?
Sign up for AICodeDog, then generate an API key from the "Keys" page in the console — usable right away.
How is this different from calling the official API directly?
AICodeDog makes minimal changes upstream — point your Base URL at api.aicodedog.com and the rest of the request shape, fields, and response are identical. Zero learning curve.
Are failed calls charged?
No. Any request that fails because of upstream or network issues isn't billed — only successful calls count.
Do you support business invoices?
Yes. Business users can request a VAT invoice from the console; we usually issue it within 3 business days.
Gemini 3.1 Pro API Pricing - AI Large Language Model | AICod