{"uid":"cap_tWLg_7hWwhogDkAiI4-5o","slug":"x402-cloud-gemini-3-5-flash-inference-endpoint-04aee544","name":"X402 Cloud Gemini 3.5 Flash Inference Endpoint","description":"X402 Cloud AI Inference Endpoints is an agent-ready x402 API provider for Gemini, image, audio, video, realtime, and specialized AI inference workflows. We expose pay-per-call USDC endpoints designed for autonomous AI agents, application backends, trading bots, creative automation, and RAG systems with some of the lowest x402 AI inference prices available in the market.","url":"https://api.x402cloud.space/gemini-3.5-flash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"candidates":[{"content":{"parts":[{"text":"Generated response"}]}}]},"outputSchema":{"type":"object","properties":{"candidates":{"type":"array"},"usageMetadata":{"type":"object"}}}},"example":{"request":{"prompt":"Write a brief technical summary of how machine learning models are trained and optimized for inference performance.","maxOutputTokens":256},"response":{"candidates":[{"content":{"role":"model"},"finishReason":"MAX_TOKENS"}],"createTime":"2026-06-16T17:41:51.585167Z","responseId":"34oxas_bI7mn7rcPsOrdmAE","modelVersion":"gemini-3.5-flash","usageMetadata":{"trafficType":"ON_DEMAND","totalTokenCount":270,"promptTokenCount":18,"thoughtsTokenCount":243,"promptTokensDetails":[{"modality":"TEXT","tokenCount":18}],"candidatesTokenCount":9,"candidatesTokensDetails":[{"modality":"TEXT","tokenCount":9}]}}},"exampleRequest":{"prompt":"Write a brief technical summary of how machine learning models are trained and optimized for inference performance.","maxOutputTokens":256},"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009217","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009217","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kr-9qDGvtS_W8N4bTLyms","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009217","costPer":"request","priority":0,"asset":"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a pay-per-call Gemini 3.5 Flash text generation request via x402 micropayment, returning AI-generated content candidates","exampleAgentPrompt":"Using the x402 Gemini 3.5 Flash endpoint, generate a 200-word product description for a noise-cancelling headphone — keep the output under 512 tokens.","exampleUseCases":null,"resultDescription":"A JSON object containing a candidates array with generated text parts inside content.parts[].text, plus a usageMetadata object with token counts. The primary response is the model-generated string under candidates[0].content.parts[0].text.","failureModes":["402 Payment Required if x402 payment header is missing or USDC balance insufficient","400 Bad Request if prompt is empty or exceeds 32000 character limit","429 Too Many Requests if rate limit exceeded","500 Internal Server Error if upstream Gemini API is unavailable","Invalid maxOutputTokens if value exceeds 8192 or is less than 1"],"whenToPreferThis":"Choose this endpoint when you need Gemini 3.5 Flash inference on a pay-per-call basis without a Google Cloud subscription, especially in autonomous agent pipelines, trading bots, or RAG systems that use x402 micropayments in USDC. Prefer this over direct Google APIs when you want per-call billing settled on-chain and no monthly commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T15:41:52.648Z","isFirstParty":false,"canonicalSlug":"x402-cloud-gemini-3-5-flash-inference-endpoint-04aee544"}