# GEDX402 Gemma-4-26B LLM via x402

> GEDX402 Gemma-4-26B LLM via x402 is a paid API for AI agents from ged-x402-llm.jvalamis.workers.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Runs inference on Google's Gemma-4-26B-A4B-IT language model, billed per call in USDC via x402 payment protocol — no API keys required.

## Facts

- Endpoint: GET https://ged-x402-llm.jvalamis.workers.dev/v1/llm/gemma-4-26b-a4b-it
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-gemma-4-26b-llm-via-x402-359b059d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UMy--4-PjwZE9h3_uMN7u

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 gedx402-gemma-4-26b-llm-via-x402-359b059d
```

Example prompt: Ask Gemma-4-26B to explain quantum entanglement in simple terms — keep the reply under 300 tokens, using a system message that says 'You are a helpful science teacher'.

## When to prefer this

Choose this endpoint when you need to call Google's Gemma-4-26B-A4B-IT model without managing API keys or subscriptions, and you can pay in USDC via the x402 protocol on Base, Polygon, Arbitrum, World, or Solana. Ideal for crypto-native agents or serverless workflows that want pay-per-call AI inference with no account setup.

## Known failure modes

- Payment not settled or insufficient USDC balance — 402 Payment Required response
- Unsupported payment network — only Base, Polygon, Arbitrum, World, or Solana accepted
- max_tokens exceeds 4096 — validation error
- Malformed messages array missing required role or content fields — 400 error
- Cloudflare Workers AI upstream timeout or model unavailability — 503 error

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing the model name (@cf/google/gemma-4-26b-a4b-it) and the generated assistant reply text as a string, returned after a $0.015 USDC x402 payment is settled on-chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "max_tokens": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/google/gemma-4-26b-a4b-it",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-gemma-4-26b-llm-via-x402-359b059d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-llm.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-llm.jvalamis.workers.dev/llms.txt)
