# Gemini 3.1 Pro API — WanAPIs

> **Model ID**: `gemini-3.1-pro` · **Provider**: Google · **Category**: chat · **Endpoint**: `POST /v1/chat/completions`
> **Live Price**: $2.00 in · $12.00 out (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapi.ai/model/gemini-3-1-pro

The Gemini 3.1 Pro family powers long-context document analysis, coding and multimodal reasoning. WanAPIs offers gemini-3.1-pro alongside gemini-3.1-pro-preview and gemini-3.1-pro-high so you can optimize for cost or stability.

**Also known as**: Google gemini-3.1-pro

## Live Pricing & Specs

- **Input (per 1M tokens)**: $2.00 quota (¥2 ≈ $0.286 USD)
- **Output (per 1M tokens)**: $12.00 quota (¥12 ≈ $1.71 USD)

## Key Highlights

- Need lower token cost? Sibling models gemini-3.1-pro-high and gemini-3.1-pro-preview offer dramatically lower per-token rates
- OpenAI-compatible endpoint with zero Google Cloud configuration
- Supports vision, long context and function calling

## Quickstart (cURL)

```bash
curl https://api.wanapis.com/v1/chat/completions \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.1-pro","messages":[{"role":"user","content":"Hello"}]}'
```

## FAQ

### Why do gemini-3.1-pro and gemini-3.1-pro-high / preview have different prices?

Each model ID routes to a distinct upstream channel and rate card. For the best value, check gemini-3.1-pro-high, gemini-3.1-pro-preview or upgrade to gemini-4-neon.

## Related Links

- Web Landing Page: https://wanapi.ai/model/gemini-3-1-pro
- Agent Skill Router: https://wanapi.ai/SKILL.md
- Complete Live Pricing (Markdown): https://wanapi.ai/pricing.md
- OpenAPI 3.1 Spec: https://wanapi.ai/openapi.json
- MCP Server Card: https://wanapi.ai/.well-known/mcp.json
