AibubuDevelopers
Developer Docs
Supported Models and ParametersText ModelsGemini

Gemini 3.1 Pro

Gemini 3.1 Pro text model parameters and pricing.

gemini_3_1_pro is a currently public China-region text model for high-quality general text generation.

Actual parameters must follow the schema.fields returned by GET /v1/models.

Quick Facts

ItemValue
Model IDgemini_3_1_pro
TypeText
RegionAll
Best Forhigh-quality general text generation

Recommended Request Shape

Use /v1/chat/completions or /v1/responses for text models, not the media generation endpoints.

{"model":"gemini_3_1_pro","input":"Write a launch announcement","stream":false}

Field Reference

FieldTypeRequiredDescription
modelstringYesMust be gemini_3_1_pro
inputstringYesUser input content
streambooleanSchema-dependentWhether to stream
max_output_tokensintegerSchema-dependentMaximum output tokens

Current Public Price

ChargeCredits / 1M tokens
Input224
Output1344
Cache read/write0 / 0

Parameters and pricing

  • Do not send reasoning, temperature, or other fields unless the model schema declares them.
  • Long-context requests may match a higher input/output tier; use /v1/quote for the exact rule.
  • Use /v1/quote as the final pricing authority.

Smallest Example

{"model":"gemini_3_1_pro","input":"Write a launch announcement"}

Related Pages