Gemini 3.6 Flash
Google's newest fast Gemini — strong quality at flash-tier speed.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/chat/completions \
-H "content-type: application/json" \
-d '{
"model": "google/gemini-3.6-flash",
"messages": [{"role": "user", "content": "<your message>"}]
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/chat/completions \
-J '{"model": "google/gemini-3.6-flash", "messages": [{"role": "user", "content": "<your message>"}]}'Parameters
OpenAI-style chat messages: [{ role: "user" | "system" | "assistant" | "tool", content }]. Vision: content may be a parts array with { type: "image_url", image_url: { url } } (public URL — upload via POST /v1/media).
Output-token cap — bounds the pre-charged price ceiling. Default 1024.
true → Server-Sent Events in the OpenAI chunk format (on /v1/chat/completions).
Sampling temperature. Passed through where the provider supports it.
"auto" (default) | "none" | "required" | { type: "function", function: { name } }.
OpenAI-style function tools: [{ type: "function", function: { name, description, parameters } }]. The response returns tool_calls (finish_reason "tool_calls"); send results back as { role: "tool", tool_call_id, content }.
Nucleus sampling. Passed through where the provider supports it.