
gemini-3.1-pro-preview
Cheaper. More stable. One-stop API aggregation.
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.
POST/v1/chat/completions
Base URL: https://api.lumeapi.site/v1
Auth: Authorization: Bearer <your-lumeapi-key>
Open the integration notes for this model, or the modality guide for request fields and polling.
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"}]
}'