{"uid":"cap_8jWV09o39tNdmHYrx_jsL","slug":"gedx402-gemma-3-12b-instruct-llm-13fea0e6","name":"GEDX402 Gemma 3 12B Instruct LLM","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://chat.gedx402.com/v1/llm/gemma-3-12b-it","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string","description":"Speaker role for this turn."},"content":{"type":"string","description":"Message text for this turn."}}},"description":"Conversation turns in order (system, user, assistant)."},"max_tokens":{"type":"integer","maximum":4096,"minimum":1,"description":"Maximum tokens to generate in the assistant reply."}}},"responseSchema":{"type":"json","example":{"model":"@cf/google/gemma-3-12b-it","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035","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.035/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_T8sgUCD6ltppXvSXVESgI","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":"Runs inference on Google's Gemma 3 12B Instruct model via Cloudflare Workers AI, payable per-call with USDC on multiple chains — no API key required.","exampleAgentPrompt":"Using the Gemma 3 12B instruct model, reply to this conversation: system says 'You are a helpful assistant', and the user asks 'What are three tips for better sleep?' — limit the response to 300 tokens.","exampleUseCases":[{"title":"Sleep advice from Gemma without signup","prompt":"Chat with Gemma 3B to give me three tips for better sleep. Keep it to 300 tokens and pay per message in USDC on Base."},{"title":"Customer support replies via crypto LLM","prompt":"I need to send customer complaints to Gemma 3 12B and get helpful responses back. Use the instruct model, pay with USDC on Polygon per call, and don't require any API keys."},{"title":"Autonomous agent text generation workflow","prompt":"My agent needs to generate thoughtful replies to user messages using an open-source model, paid per inference in USDC on Solana, without managing API credentials or subscriptions."}],"resultDescription":"A JSON object containing the model identifier '@cf/google/gemma-3-12b-it' and a 'response' string with the assistant's generated text reply, up to the specified max_tokens limit.","failureModes":["Payment not received or insufficient USDC balance — request rejected with 402 Payment Required","Unsupported chain used for payment — transaction not recognized","max_tokens exceeds 4096 — validation error returned","Malformed messages array (missing role or content) — schema validation failure","Model overloaded on Cloudflare Workers AI — timeout or 503 error","Invalid role value in messages (not system/user/assistant) — rejected by schema"],"whenToPreferThis":"Choose this endpoint when you need to run inference on Google's Gemma 3 12B Instruct model without registering for an API key, especially in autonomous agent workflows where per-call USDC micropayments via x402 are preferred over subscription billing. Ideal for agents operating on Base, Polygon, Arbitrum, World, or Solana that want open-weight model inference with no account management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:42:55.048Z","isFirstParty":false}