LLM models
Gemini 3.6 Flash
On this page
Google's newest speed-optimized multimodal model — fast text, vision, and reasoning.
| modelId | gemini-3-6-flash |
| Modality | text |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | modelId | Endpoint | Required input |
|---|---|---|---|
| Default | gemini-3-6-flash | POST /api/v1/generate | prompt |
| Poll task | — | GET /api/v1/task/{id}?model=gemini-3-6-flash | — |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | string | Yes | Text value (example: If gravity took the day off, describe in one playful paragraph what the morning commute would look like.) |
| memory | boolean | No | Automatically append previous messages to maintain multi-turn context. May increase token usage. (true/false) (default: false) |
| thinking | boolean | No | Include the model's thinking process in the response (true/false) (default: true) |
| images | string[] | No | Up to 4 images per message — JPEG, PNG, GIF or WebP, 5 MB each. Send each one as a data: URL or an https URL. Images are billed as input tokens. (image URL) |
| system | string | No | System instruction for the model. Defaults to "You are Gemini 3.6 Flash, developed by Google." when omitted. |
| messages | array | No | A conversation instead of a single `prompt`: up to 20 objects of { "role", "content" }, where role is user, assistant or system. Send `prompt` or `messages`, not both. Do not flatten a conversation into one prompt with "User:" / "Assistant:" labels — the model reads that as a single message, and a model using web search then searches for the whole block instead of your question. |
Example request
bash
curl -X POST https://you.bot/api/v1/generate \
-H "Authorization: Bearer $YOUBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"modelId":"gemini-3-6-flash","input":{"prompt":"If gravity took the day off, describe in one playful paragraph what the morning commute would look like.","memory":false,"thinking":true,"images":["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFklEQVR4nGP8z4AATAxIHFQeMg8OAgB1yQIDpk8YwwAAAABJRU5ErkJggg=="]}}'