DOSDOS
Pricing
Get started
Models/Gemini 3.1 Pro

Gemini 3.1 Pro

New

by Google

Google's most advanced multimodal model for complex reasoning, with a 1M-token context.

Parameters
Pro
Context Length
1M
Category
chat
Available Serverless

Run queries immediately, pay only for usage

$2.10in|$12.60out

Per 1M Tokens

Try this modelView documentation

About this model

Gemini 3.1 Pro is Google's advanced multimodal model, handling text, images, and long documents in a single 1M-token context. It offers strong reasoning, coding, and analysis capabilities. Available on the DOS.AI gateway with an OpenAI-compatible endpoint and unified billing.

Capabilities

MultimodalVisionLong context (1M)Advanced reasoningTool calling

Use Cases

  • Long-document analysis
  • Multimodal apps
  • Research
  • Agents

Model Details

Provider
Google
Model ID
gemini-3.1-pro
Parameters
Pro
Context Length
1M tokens
Category
chat

API Usage

Use the DOS API to integrate Gemini 3.1 Prointo your applications. Our API is compatible with OpenAI's client libraries for easy migration.

Model ID

gemini-3.1-pro

Python

python
from dos import DOS

client = DOS()

response = client.chat.completions.create(
    model="gemini-3.1-pro",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ]
)

print(response.choices[0].message.content)

cURL

bash
curl https://api.dos.ai/v1/chat/completions \
  -H "Authorization: Bearer $DOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro",
    "messages": [
      {"role": "user", "content": "Hello, how are you?"}
    ]
  }'

Node.js

javascript
import DOS from 'dos-ai';

const client = new DOS();

const response = await client.chat.completions.create({
  model: "gemini-3.1-pro",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ]
});

console.log(response.choices[0].message.content);
View full API reference

Related Models

DOS.AI

DOS.AI Auto

Smart router that automatically picks the best model for each request - free models for simple tasks, frontier models for complex ones.

Usage-based
DOS.AI

DOS.AI (Qwen 3.6)

Our flagship in-house model - Qwen 3.6 35B-A3B MoE, self-hosted in Vietnam. 70B-class quality at near-8B cost.

$0.07 / 1M tokens
DeepSeek

DeepSeek V4 Flash

Fast, low-cost MoE reasoning model with a 1M-token context window. Replaces DeepSeek V3.

$0.15 / 1M tokens
DOSDOS

AI infrastructure for everyone. Inference, agents, and safety - all in one platform.

Product

  • Models
  • Pricing
  • API Inference
  • DOSClaw
  • GPU Cloud

Developers

  • Documentation
  • API Reference
  • Status

DOS Ecosystem

  • DOSafe
  • DOS.Me
  • DOScan
  • DOSwap
  • MetaDOS

Company

  • About
  • Contact
  • Careers
  • Privacy
  • Terms

© 2026 All rights reserved.