# Telnyx Inference – Gemma 4 26B Chat Completions (Large Context)

> Telnyx Inference – Gemma 4 26B Chat Completions (Large Context) is a paid API for AI agents from x402.telnyx.com, paid per call via x402, $0.004049/call, status unknown (last checked 2026-10-15).

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.

## Facts

- Endpoint: POST https://x402.telnyx.com/v1/chat/completions/_t/gemma-4-26b/upto?utm_source=zero.xyz
- Price: $0.004049/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/telnyx-inference-gemma-4-26b-chat-completions-large-context-f7d6bc0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8b18y8yBajqL2QvaP0d_z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability telnyx-inference-gemma-4-26b-chat-completions-large-context-f7d6bc0e -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Chat completions via Telnyx Inference (google/gemma-4-26B-A4B-it). OpenAI-compatible. $0.003139 USDC per call. (upto metered — large context)

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/telnyx-inference-gemma-4-26b-chat-completions-large-context-f7d6bc0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.telnyx.com](https://www.zero.xyz/host/x402.telnyx.com/llms.txt)
