Back to approved models

Approved model profile_

Googleactive

Gemini 3.1 Flash Image

Gemini 3.1 Flash Image supports image generation and text through PipeLLM. Use model ID gemini-3.1-flash-image with the configured compatible endpoint.

gemini-3.1-flash-image
relay/request.mjsready to route
const completion = await client.chat.completions.create({
  model: "gemini-3.1-flash-image",
  messages: [
    { role: "user",
      content: "Plan a multi-step task" }
  ]
});
policy checked provider selected
CONTEXTN/Aprompt window
MAX OUTPUTN/Aper response
INPUT$0.50 / Mtoken price
OUTPUT$3.00 / Mtoken price

Route configuration_

Call this model through its native API.

Use the documented HTTP endpoint and request body for this model.

ENDPOINThttps://api.pipellm.aiUse the native HTTP request format for this model.

NATIVE API · NO CONVERSION

Native HTTP/v1/chat/completionsDocs Use this native API directly. Protocol conversion is not supported.
MODEL IDgemini-3.1-flash-imageUse this in every request
GOVERNANCEPolicy controlledApprovals and tool rules apply
PROVIDER AVAILABILITY1 route
ProviderContextMax outputDiscountInput / MOutput / M
Vertex AIN/AN/A—$0.50 / M$3.00 / M
Displayed pricing is per one million tokens and may vary by provider.
SUPPORTED SURFACESactive
input: textinput: imageoutput: textoutput: image

Relay governs model access with the same routing policy that Lens keeps visible and auditable.