# Agent Hub – Gemma 4 26B Chat Completions (x402)

> Agent Hub – Gemma 4 26B Chat Completions (x402) is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Runs OpenAI-compatible chat completions on Google Gemma 4 26B with reasoning and tool calling, billed at $0.002 USDC per request via x402 instead of an API key.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/gemma/chat/completions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-gemma-4-26b-chat-completions-x402-957585f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gHHdLPDl6Hgh8_CG5nr72

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 agent-hub-gemma-4-26b-chat-completions-x402-957585f5
```

Example prompt: Ask the Gemma 4 26B model on Agent Hub: 'What are three creative marketing taglines for a sustainable coffee brand?' — pay $0.002 per call, no API key needed, just point the OpenAI SDK at agents.torbrooknews.com/v1/gemma.

## When to prefer this

Choose this endpoint when you need OpenAI SDK-compatible chat completions on Google Gemma 4 26B — especially if you want pay-per-request micropayments via x402 with no API key management, or need reasoning and tool calling on an open-weight model at low per-call cost ($0.002 USDC). Prefer it over proprietary OpenAI/Anthropic endpoints when open-weight model provenance matters, or when integrating into x402-native payment workflows.

## Known failure modes

- Payment failure: x402 payment not accepted or insufficient USDC balance returns a 402 error
- Prompt too long: exceeds model context window returns a 400 or truncation error
- Invalid parameters: non-numeric temperature or max_tokens returns a 400 bad request
- Tool schema malformed: incorrectly formatted tool definitions may cause tool calling to fail silently or error
- Model unavailability: upstream Gemma inference service down returns a 503 or timeout

## How this service works

OpenAI-compatible chat completions on Google Gemma 4 26B, reasoning and tool calling. Set your OpenAI SDK base URL to https://agents.torbrooknews.com/v1/gemma and pay $0.002 per request with x402 instead of an API key. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported), up to 4096 output tokens. Also callable as GET with the same fields as query parameters.

## Output

Returns an OpenAI-format chat completion object containing the assistant's message, optional tool call specifications, optional reasoning traces, and token usage metadata. Streaming is supported for incremental token delivery. Up to 4096 output tokens per response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "User message"
      },
      "system": {
       "type": "string",
       "description": "Optional system message"
      },
      "max_tokens": {
       "type": "integer"
      },
      "temperature": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-hub-gemma-4-26b-chat-completions-x402-957585f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
