{"uid":"cap_IfBMLK5d79uIQM2BtfKfb","slug":"wafermap-xyz-gemma-4-26b-inference-4ab389c9","name":"wafermap.xyz Gemma 4 26B Inference","description":"Gemma 4 26B — Google's open model. The cheapest way to get a good answer.","url":"https://wafermap.xyz/v1/gemma-4?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","maxLength":24000,"minLength":1,"description":"What you want, in plain words."},"system":{"type":"string","maxLength":8000,"minLength":1,"description":"Optional instructions that shape every answer."},"max_tokens":{"type":"number","maximum":2048,"description":"Output cap. 2048 at most, 1024 by default.","exclusiveMinimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m60yQLW9etpf0hlvhzWIG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Run a prompt through Google's Gemma 4 26B open model for cheap, high-quality text generation","exampleAgentPrompt":"Can you use Gemma 4 to draft a concise product description for my noise-cancelling headphones — something under 150 words that highlights comfort and battery life?","exampleUseCases":[{"title":"Budget Q&A for customer support bot","prompt":"Use the cheapest good model you have to answer this customer question: 'How do I reset my account password if I no longer have access to my email?' — keep the answer friendly and under 100 words."},{"title":"Code explanation for non-technical user","prompt":"Can you run this through Gemma 4 and explain what this Python function does in plain English, like I'm not a programmer? Here's the code: def fib(n): return n if n <= 1 else fib(n-1) + fib(n-2)"},{"title":"Quick essay outline generation","prompt":"Use Gemma 4 to generate a structured outline for a 500-word essay arguing that remote work increases employee productivity — I need at least 3 main points with sub-bullets."}],"resultDescription":"A text completion generated by Google's Gemma 4 26B model, up to 2048 tokens long, answering or continuing from the provided prompt and optional system instructions.","failureModes":["Prompt exceeds 24,000 character limit — request rejected","max_tokens set to 0 or negative — validation error","Model returns truncated output if max_tokens is too low for the task","Empty or whitespace-only prompt may fail minLength validation","High load may cause slower-than-expected response times"],"whenToPreferThis":"Choose this endpoint when you need a capable, general-purpose text response at the lowest cost — Gemma 4 26B is Google's open-weight model and offers strong quality-per-dollar. Prefer it over DeepSeek Pro or Llama 4 Scout when budget is the primary concern and the task doesn't require heavy multi-step reasoning or multimodal inputs. Ideal for drafting, summarization, Q&A, and classification tasks where Gemma's open model quality is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:36.966Z","isFirstParty":false,"canonicalSlug":"wafermap-xyz-gemma-4-26b-inference-4ab389c9"}