AI Inference · x402

LLM inference over x402: POST a prompt (JSON body), get raw model output

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…

by gateway.stride20k.com · discovered, not yet claimed by its owner · updated 2026-08-20

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/1167.json for the price and payment options.
  3. Pay. Call GET https://gateway.stride20k.com/v1/run. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
0 of the last 1 checks answered
Calls (30d)
1 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.050xAbe512E06dddC82581d2E5a19Ab594E77849044160s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xAbe512E06dddC82581d2E5a19Ab594E778490441",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "method": "POST",
        "queryParams": {
          "maxTokens": "16",
          "model": "anthropic/claude-haiku-4.5",
          "prompt": "Reply with exactly: pong"
        },
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "authorizedMaxUsd": 0.05,
            "chargedUsd": 0.05,
            "marginMultiplier": 2,
            "model": "anthropic/claude-haiku-4.5",
            "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.",
            "output": "pong",
            "upstreamCostUsd": 0.000038,
            "usage": {
              "completionTokens": 5,
              "promptTokens": 13
            }
          },
          "endpoint": "/v1/run",
          "meta": {
            "attribution": null,
            "cached": false,
            "fetchedAt": "2026-07-04T00:00:00.000Z",
            "source": "OpenRouter (model named per request)"
          },
          "ok": true
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "queryParams": {
              "properties": {
                "maxTokens": {
                  "description": "Completion token cap, 1-1024 (default 256).",
                  "pattern": "^[0-9]{1,4}$",
                  "type": "string"
                },
                "model": {
                  "description": "Model to run. Default and only option: anthropic/claude-haiku-4.5.",
                  "enum": [
                    "anthropic/claude-haiku-4.5"
                  ],
                  "type": "string"
                },
                "prompt": {
                  "description": "The prompt to run, 1-8000 characters. Sent as a single user message.",
                  "type": "string"
                }
              },
              "required": [
                "prompt"
              ],
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "data": {
                  "properties": {
                    "authorizedMaxUsd": {
                      "type": "number"
                    },
                    "chargedUsd": {
                      "type": "number"
                    },
                    "marginMultiplier": {
                      "type": "number"
                    },
                    "model": {
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    },
                    "output": {
                      "description": "Raw model completion text.",
                      "type": "string"
                    },
                    "upstreamCostUsd": {
                      "type": "number"
                    },
                    "usage": {
                      "properties": {
                        "completionTokens": {
                          "type": "number"
                        },
                        "promptTokens": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "required": [
                    "model",
                    "output",
                    "usage",
                    "upstreamCostUsd",
                    "chargedUsd",
                    "authorizedMaxUsd"
                  ],
                  "type": "object"
                },
                "endpoint": {
                  "description": "Always \"/v1/run\".",
                  "type": "string"
                },
                "meta": {
                  "properties": {
                    "attribution": {
                      "description": "Licensing attribution when the source requires it.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cached": {
                      "description": "Whether this response was served from cache.",
                      "type": "boolean"
                    },
                    "fetchedAt": {
                      "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                      "type": "string"
                    },
                    "source": {
                      "description": "Upstream source: OpenRouter (model named per request).",
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "cached",
                    "fetchedAt"
                  ],
                  "type": "object"
                },
                "ok": {
                  "description": "true on success.",
                  "type": "boolean"
                }
              },
              "required": [
                "ok",
                "endpoint",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://gateway.stride20k.com/v1/run"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://gateway.stride20k.com/v1/run");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://gateway.stride20k.com/v1/run")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
gateway.stride20k.com
Endpoint
https://gateway.stride20k.com/v1/run
Machine-readable
/resources/1167.json