# Stride Gateway LLM Inference (Claude Haiku 4.5 via x402)

> Stride Gateway LLM Inference (Claude Haiku 4.5 via x402) is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Runs a prompt through Anthropic Claude Haiku 4.5 (via OpenRouter) and returns raw model output, billed per-call at $0.05 USDC over the x402 payment protocol — no API key required.

## Facts

- Endpoint: POST https://gateway.stride20k.com/v1/run
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride-gateway-llm-inference-claude-haiku-4-5-via-x402-a898dec6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ub-wFlAxY8nLpKcvYAJtj

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 stride-gateway-llm-inference-claude-haiku-4-5-via-x402-a898dec6 -d '<json body>'
```

Example prompt: Send this prompt to Claude Haiku via the Stride x402 gateway and give me the raw output — cap the completion at 512 tokens: 'Explain the concept of zero-knowledge proofs in plain English.'

## When to prefer this

Prefer this endpoint when you need one-off LLM inference without managing API keys or subscriptions, specifically want Claude Haiku 4.5, need transparent per-call cost accounting (tokens + USD cost breakdown returned in response), or are building an agent that pays for AI inference programmatically using USDC over x402.

## Known failure modes

- Insufficient wallet balance or payment authorization failure — x402 payment rejected, call not executed
- Prompt exceeds 8000 characters — request rejected with validation error
- maxTokens value outside 1-1024 range or non-numeric — schema validation failure
- Upstream OpenRouter or Anthropic API unavailability — 5xx error with no completion returned
- Daily or per-call spend cap exceeded — request blocked before execution

## How this service works

LLM inference over x402: POST a prompt (JSON body), get raw model output. Flat $0.05 per call (or metered pay-actual-usage when the upto scheme is on); every response prints tokens, upstream cost, margin, and the charge. Model: Anthropic Claude Haiku 4.5 via OpenRouter — no API key, bring a wallet. AI lane declared (aiUse: model-output): model output sold as model output, no system prompt injected. We never store prompts or completions; per-call and daily spend caps enforced.

## Output

A JSON object with ok:true, the raw model completion string, prompt and completion token counts, upstream cost in USD, the amount actually charged in USD, the authorized max USD, and margin multiplier — plus metadata including whether the response was cached, the upstream source (OpenRouter), and the fetch timestamp.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "note": "Raw model output sold as model output (aiUse: model-output). Flat exact pricing: charged = the advertised route price regardless of usage; upstream cost and margin are printed for transparency. Metered upto pricing (pay actual usage) activates when this gateway enables the upto scheme. Prompts and completions are not stored.",
   "model": "anthropic/claude-haiku-4.5",
   "usage": {
    "promptTokens": 13,
    "completionTokens": 5
   },
   "output": "pong",
   "chargedUsd": 0.05,
   "upstreamCostUsd": 0.000038,
   "authorizedMaxUsd": 0.05,
   "marginMultiplier": 2
  },
  "meta": {
   "cached": false,
   "source": "OpenRouter (model named per request)",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/v1/run"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride-gateway-llm-inference-claude-haiku-4-5-via-x402-a898dec6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
