{"uid":"cap_8b18y8yBajqL2QvaP0d_z","slug":"telnyx-inference-gemma-4-26b-chat-completions-large-context-f7d6bc0e","name":"Telnyx Inference – Gemma 4 26B Chat Completions (Large Context)","description":"Chat completions via Telnyx Inference (google/gemma-4-26B-A4B-it). OpenAI-compatible. $0.003139 USDC per call. (upto metered — large context)","url":"https://x402.telnyx.com/v1/chat/completions/_t/gemma-4-26b/upto?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","const":1,"description":"Fixed to one completion per paid call."},"model":{"type":"string","const":"google/gemma-4-26B-A4B-it","description":"Model identifier; fixed to google/gemma-4-26B-A4B-it on this route."},"tools":{"type":"array","items":{"type":"object"},"maxItems":16},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"type":"string","maxLength":12000}}},"maxItems":32,"description":"OpenAI-style chat messages."},"max_tokens":{"type":"integer","maximum":3072,"minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004049","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.004049/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004049","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004049","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fm8N5oX3ZPwy9GNWbBBHe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004049","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates chat completions using Google's Gemma 4 26B instruction-tuned model via Telnyx's OpenAI-compatible inference API, optimized for large-context inputs, with per-call micropayment via x402.","exampleAgentPrompt":"Using the Telnyx Gemma 4 26B large-context model, send this conversation: system says 'You are a helpful assistant', and user asks 'Explain the difference between supervised and unsupervised learning in plain English' — keep the response under 512 tokens.","exampleUseCases":[{"title":"Long-document Q&A assistant","prompt":"I have a long technical document I need to ask questions about — use the Telnyx Gemma 4 26B model to answer this question based on the context I'll provide in the system message: 'Summarize the key risks described in this document' with temperature 0.3 and max 1000 tokens."},{"title":"Automated customer support drafts","prompt":"For each incoming customer complaint, use the Gemma 4 26B model on Telnyx to draft a polite, professional response — set system role to 'You are a customer support agent for a SaaS company' and temperature to 0.7, max 500 tokens."},{"title":"Code explanation and review","prompt":"Ask the Telnyx Gemma 4 26B chat model to review this Python function and explain what it does and any bugs it sees — set temperature to 0.2 and limit the reply to 800 tokens."}],"resultDescription":"An OpenAI-compatible chat completion response containing the assistant's generated message text, finish reason, token usage counts, and optionally tool call invocations, for exactly one completion (n=1).","failureModes":["Payment failure or insufficient USDC balance returns 402 Payment Required","Input messages exceeding 12,000 characters per message or more than 32 messages returns a validation error","max_tokens exceeding 3072 returns a schema validation error","Malformed message objects missing required 'role' or 'content' fields return 400 Bad Request","Network timeouts possible for very long completions near the token limit","Model unavailability or Telnyx infrastructure issues may return 503 Service Unavailable"],"whenToPreferThis":"Choose this endpoint when you need a capable open-source instruction-tuned model (Gemma 4 26B) for large-context chat tasks, prefer OpenAI-compatible APIs for easy drop-in integration, want pay-per-call pricing without a monthly subscription, and your use case involves long multi-turn conversations or documents up to ~12K characters per message. Prefer this over smaller Gemma models (e.g. Gemma 2B) when response quality matters more than cost, and over reasoning-tier models when you do not need chain-of-thought outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:36:43.758Z","isFirstParty":false,"canonicalSlug":"telnyx-inference-gemma-4-26b-chat-completions-large-context-f7d6bc0e"}