{"uid":"cap_Tnklxa1hIGVxrAHfFeJ2O","slug":"model-access-gateway-gemini-4-argon-chat-completions-x402-usdc-afe695d8","name":"Model Access Gateway – Gemini 4 Argon Chat Completions (x402 USDC)","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://modelaccessgateway.com/llm/gemini-4-argon?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (google/gemini-4-argon)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"google/gemini-4-argon","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_wxZKOO38Fv1PjnEaNhAaa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions against Google's Gemini 4 Argon model, billed per call in USDC on Base via the x402 protocol — no account or API key required.","exampleAgentPrompt":"Ask Gemini 4 Argon to summarize the following meeting notes in 3 bullet points, allow up to 512 tokens, and use a temperature of 0.3: [paste notes here].","exampleUseCases":[{"title":"Keyless LLM call for autonomous agent","prompt":"I'm building an agent that needs to call an LLM without storing any API keys — use Gemini 4 Argon to answer this user question and pay per call with my USDC wallet: 'What are the main differences between TCP and UDP?'"},{"title":"Structured JSON output from Gemini","prompt":"Send this prompt to Gemini 4 Argon and ask it to respond in JSON with fields 'summary' and 'sentiment': 'Review: The onboarding flow was confusing but the core product is excellent.' Keep max tokens at 256."},{"title":"Streaming creative writing with Gemini","prompt":"Stream a short 200-word sci-fi story from Gemini 4 Argon about a robot discovering music for the first time — use temperature 1.2 and enable streaming so I see the text as it comes in."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's response message, finish reason, token usage (prompt, completion, total), model identifier, and a unique completion ID. On streaming, returns server-sent events. If the model fails, the call is automatically refunded.","failureModes":["Model failure triggers automatic USDC refund — no partial charge","Insufficient USDC balance causes payment rejection before inference runs","Invalid messages array (missing required 'role') returns a 422 validation error","max_tokens exceeding 16384 is rejected at schema validation","Stream requested but client doesn't handle SSE — response may appear garbled","Temperature outside 0–2 range returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need Gemini 4 Argon specifically and want to avoid managing API keys or Google Cloud credentials. It is ideal for autonomous agents that hold USDC on Base and need pay-as-you-go LLM inference with no subscription. Prefer it over direct Google AI Studio when you want OpenAI SDK compatibility, crypto-native payment, and automatic failure refunds in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:35:13.983Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-gemini-4-argon-chat-completions-x402-usdc-afe695d8"}