{"uid":"cap_z8ZL_H49jPT6VPkpTillO","slug":"fold-x402-gemini-3-5-flash-llm-via-x402-7280dc3f","name":"fold · x402 — Gemini 3.5 Flash LLM via x402","description":"Machine-readable market intelligence for onchain agents, served over x402.","url":"https://x402.fold.computer/llm/gemini-3-5-flash","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","description":"OpenAI-format chat messages"},"max_tokens":{"type":"number"},"temperature":{"type":"number"}}},"responseSchema":{"type":"object","required":["status","data"],"properties":{"data":{"type":"object","description":"OpenAI-format completion + x402 cost info"},"status":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_peq50YcbRuJk2WmcKet74","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an OpenAI-compatible chat completion using Gemini 3.5 Flash, paid per-call via the x402 micropayment protocol, with onchain market intelligence context","exampleAgentPrompt":"Using the fold x402 Gemini 3.5 Flash endpoint, send this message thread and ask: 'What are the current trends in onchain DeFi liquidity?' — temperature 0.7, max 512 tokens, and pay the $2 USDC per-call fee via x402.","exampleUseCases":null,"resultDescription":"An OpenAI-format chat completion object containing the model's generated response, alongside x402 cost metadata (amount charged, payment status). The 'data' field wraps the completion output and payment details; 'status' indicates request success.","failureModes":["Payment not provided or insufficient USDC — x402 payment required error returned","Malformed messages array (not OpenAI format) — validation error","Model unavailable or rate-limited upstream from Gemini — 5xx error","Invalid temperature or max_tokens values — parameter validation error","x402 facilitator or payment channel failure — payment processing error"],"whenToPreferThis":"Use this endpoint when you need LLM inference that is natively payable via the x402 USDC micropayment protocol — especially for onchain agents that lack traditional API keys and instead transact with crypto. Prefer this over standard LLM APIs when your agent needs to pay per-call without a subscription, or when you want Gemini 3.5 Flash responses embedded in an x402-compatible agentic workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:29:04.358Z","isFirstParty":false}