{"uid":"cap_M-FtYC6d2dLSXeOTDes4v","slug":"farout-gemini-3-1-pro-chat-completions-via-x402-f9b77d38","name":"FarOut – Gemini 3.1 Pro Chat Completions via x402","description":"Pay-per-call LLM inference over x402. Frontier models (GLM, GPT, Gemini, Kimi, DeepSeek, MiniMax) billed per request in USDC on Base or Solana mainnet. No API key, no account. The 402 quotes your exact request; failed calls are never charged.","url":"https://farouter.tech/v1/metered/models/gemini-3.1-pro/chat/completions","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"usage":{"prompt_tokens":6,"completion_tokens":8},"choices":[{"message":{"role":"assistant","content":"Hello! How can I help?"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BuzCa2hOO0SmZPhf5jH48","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Run a Gemini 3.1 Pro chat completion request billed per-call in USDC via the x402 protocol, with no API key or account required.","exampleAgentPrompt":"Use Gemini 3.1 Pro through FarOut to answer this question — no API key needed, just pay the $0.001 USDC fee per call: 'What are the top three reasons why neural networks overfit, and how can regularization help?'","exampleUseCases":[{"title":"Autonomous agent one-off LLM call","prompt":"I need my agent to call Gemini 3.1 Pro for a one-off reasoning task without setting up any API key or subscription — just have it pay the micro-fee in USDC from my Base wallet and ask: 'Summarize the key trade-offs between SQL and NoSQL databases in three bullet points.'"},{"title":"Serverless AI in a pay-as-you-go app","prompt":"My app needs to call Gemini 3.1 Pro on-demand for each user request and only pay when a call succeeds — use FarOut's x402 gateway so failed calls aren't charged, and ask the model: 'Draft a two-sentence product description for a reusable water bottle targeting eco-conscious millennials.'"},{"title":"Crypto-native AI pipeline without accounts","prompt":"I'm building a pipeline that chains LLM calls and I don't want to manage API keys or billing accounts — use FarOut to call Gemini 3.1 Pro via x402 micropayment and get a response to: 'List five creative taglines for a fintech startup focused on cross-border payments.'"}],"resultDescription":"Returns a JSON object with an OpenAI-compatible structure: a choices array containing the assistant's reply message (role and content), a finish_reason (e.g. 'stop'), and a usage object with prompt_tokens and completion_tokens counts.","failureModes":["Payment failure – x402 payment not accepted; call is never charged but returns a 402 error","Model unavailable – Gemini 3.1 Pro temporarily offline; returns a 5xx error","Malformed request – missing or invalid messages array; returns a 400 bad request","Insufficient funds – USDC wallet balance too low to cover the $0.001 fee","Rate or quota limits – upstream Google quota exhausted; returns a 429 or 503"],"whenToPreferThis":"Choose this endpoint when you need Gemini 3.1 Pro specifically and want pay-per-call billing in USDC with no API key, no account registration, and a guarantee that failed calls are never charged. It is ideal for autonomous agents, serverless pipelines, or crypto-native apps that want to pay for AI inference on-demand using Base or Solana. Prefer alternatives if you need streaming responses, fine-tuned models, or usage at a scale where a traditional API subscription would be cheaper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:35:26.931Z","isFirstParty":false}