{"uid":"cap_HzVEYR4lpDvGTIZe2gIjA","slug":"singit-ask-gemini-3-1-pro-preview-chat-completions-bba47c1c","name":"SingIt Ask: Gemini 3.1 Pro Preview Chat Completions","description":"SingIt Ask: Gemini 3.1 Pro (Google) chat completions with no API key or account, OpenAI-compatible. Google's Gemini 3.1 Pro preview model: long-context reasoning and multimodal input. Call it when an agent needs Gemini 3.1 Pro specifically.","url":"https://ask.singitai.app/v1/chat/gemini-3.1-pro-preview?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","examples":["deepseek-v4.1-flash","claude-opus-5.5","gpt-5.5","gemini-3.1-pro"],"description":"Any model id from GET /v1/models; the ceiling follows its price. Omit for the default model."},"stream":{"enum":[false],"type":"boolean","description":"Streaming is not offered."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string","description":"Plain text; all messages together under 24000 characters."}}},"maxItems":40,"minItems":1,"description":"The conversation, oldest first."},"max_tokens":{"type":"integer","default":800,"maximum":1200,"minimum":1,"description":"The longest answer, in tokens. The payment ceiling grows with it; the charge follows what was used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002433","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.009125/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009125","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009125","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K0ygmM_i6tOu6NYWYZPkN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009125","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-compatible chat completions using Google's Gemini 3.1 Pro preview model with per-call USDC micropayment, no API key required.","exampleAgentPrompt":"Ask Gemini 3.1 Pro to analyze this multi-turn conversation and give me a detailed summary of the key decisions made — here are the last 10 messages, and I want a response up to 1000 tokens.","exampleUseCases":[{"title":"Long-context document reasoning","prompt":"I have a long legal document excerpt — use Gemini 3.1 Pro to read through it and identify any clauses that could expose us to liability. Give me up to 1000 tokens in the response."},{"title":"Complex multi-turn coding assistance","prompt":"I've been debugging this Python async race condition for a while — send this conversation history to Gemini 3.1 Pro and ask it to pinpoint the root cause and suggest a fix."},{"title":"Comparative model evaluation","prompt":"Run this same prompt through Gemini 3.1 Pro specifically — I want to compare its reasoning against GPT and Claude on this logic puzzle about resource allocation."}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the assistant's text response generated by Gemini 3.1 Pro Preview. The response includes the generated message content, token usage details, finish reason, and model identifier. Maximum response length is capped at 1200 tokens per call.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Input messages exceed 24,000 total characters — returns 400 Bad Request","max_tokens set above 1200 — rejected by schema validation","Empty messages array or messages missing required role/content fields — returns 400","Model ID specified that does not exist at GET /v1/models — returns 404 or 400","Streaming requested (stream: true) — not supported, returns error","Temporary upstream Gemini model unavailability — returns 503"],"whenToPreferThis":"Choose this endpoint when an agent specifically needs Google's Gemini 3.1 Pro preview model for its long-context reasoning or multimodal input capabilities, and wants to avoid managing API keys or subscriptions by paying per call in USDC. It is ideal for tasks requiring Gemini's specific reasoning style as a comparative alternative to GPT or Claude models available on the same platform. Prefer it over sibling endpoints like Gemini 3.8 Flash when response quality and reasoning depth matter more than speed or cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:39.743Z","isFirstParty":false,"canonicalSlug":"singit-ask-gemini-3-1-pro-preview-chat-completions-bba47c1c"}