← All models
Gemini 3.1 Pro — text model on LumeAPI

Gemini 3.1 Pro

gemini-3.1-pro-preview

Cheaper. More stable. One-stop API aggregation.

Introduction

Gemini 3.1 Pro preview brings Google's large-context multimodal text stack to LumeAPI.

Use model id `gemini-3.1-pro-preview` with standard chat completions.

Portal pricing is about 40% off official ($1.20 / $7.20 per 1M in/out).

Good for long documents, mixed text workloads, and Google-ecosystem parity.

Pricing

Official$2.00 / $12.00
LumeAPI$1.20 / $7.20
per 1M tokens (in/out)

Endpoint

Base URL: https://api.lumeapi.site/v1

Auth: Authorization: Bearer <your-lumeapi-key>

Developer docs

Open the integration notes for this model, or the modality guide for request fields and polling.

Call examplegemini-3.1-pro-preview
curl https://api.lumeapi.site/v1/chat/completions \
  -H "Authorization: Bearer $LUMEAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role":"user","content":"Hello"}]
  }'