{"uid":"cap_XaldR6uvnvbYvZi_Fj3rR","slug":"x402-gateway-production-up-railway-app-119461ad","name":"Gemini Pro via x402 Gateway","description":"Google's most capable model — strong at reasoning, coding, and multimodal tasks","url":"https://x402-gateway-production.up.railway.app/api/llm/gemini-pro","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"messages":[{"role":"user","content":"Say hello"}]},"response":{"model":"google/gemini-2.5-pro","usage":{"cost":0.0045925,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0045925,"upstream_inference_prompt_cost":0.0000025,"upstream_inference_completions_cost":0.00459},"total_tokens":461,"prompt_tokens":2,"completion_tokens":459,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":449}},"content":"Hello there! How can I help you today?"}},"exampleRequest":{"messages":[{"role":"user","content":"Say hello"}]},"tags":["x402"],"displayCostAmount":"0.035000","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.035000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xLksIuU-UCvd5p3KT_hSt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calls Google's Gemini Pro model for advanced reasoning, coding, and multimodal tasks via a pay-per-call x402-enabled gateway","exampleAgentPrompt":"Ask Gemini Pro to write a Python script that parses a CSV file and outputs a summary of the top 5 rows by value in the 'revenue' column — it's a complex coding task so I want Google's most capable model on it.","exampleUseCases":[{"title":"Debug complex system architecture issue","prompt":"I need to figure out why our microservices are timing out under load. Can you ask Gemini Pro to analyze the logs I'll give you and walk me through the root cause — it's a tricky multi-step reasoning problem."},{"title":"Generate production-ready API endpoint code","prompt":"Build me a Node.js REST API endpoint that handles OAuth2 authentication, rate limiting, and error logging. I want Google's strongest model for this since it needs to be solid from day one."},{"title":"Analyze and summarize technical research papers","prompt":"I have three PDFs on distributed consensus algorithms and I need a clear summary of how they compare. Use Gemini Pro to break down the key differences and tell me which approach fits our use case best."}],"resultDescription":"A text completion from Google's Gemini Pro model, which may include generated code, reasoning chains, answers to questions, or other natural language output depending on the prompt.","failureModes":["Invalid or missing prompt returns 400 error","Payment not included or insufficient USDC triggers 402 Payment Required","Model overload or rate limit returns 503 or 429","Malformed request body returns validation error","Timeout on very long prompts may return 504"],"whenToPreferThis":"Choose this endpoint when you need Google's most capable Gemini Pro model specifically — particularly for complex multi-step reasoning, advanced coding tasks, or multimodal inputs. Prefer over cheaper GPT tiers when quality matters. Use over GPT-4 class models when you want Google's architecture or knowledge. This is the flagship Google model on this gateway.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:56.050Z","isFirstParty":false}