AG
AI Inference · x402 · early usage

LLM chat completion per call — no account, no API key, no token math

LLM chat completion per call — no account, no API key, no token math. Three flat-priced tiers: fast $0.002 (DeepSeek v4 Flash), smart $0.02 (GPT-5.4 mini), reasoning $0.03 (DeepSeek v4 Pro). Send OpenAI-style messages, get the assistant reply with finish_reas…

by agentdata-api.sander-van-aard.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-07

30d calls3
30d payers3
MethodPOST
Outputjson

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 chat completion per call — no account, no API key, no token math. Three flat-priced tiers: fast $0.002 (DeepSeek v4 Flash), smart $0.02 (GPT-5.4 mini), reasoning $0.03 (DeepSeek v4 Pro). Send OpenAI-style messages, get the assistant reply with finish_reason and token usage. Input capped per tier (16k-32k chars); the 402 quotes the exact tier price up front. Model or source unavailable means a 503 and you pay nothing. USDC on Base.

Tags: bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-07
Input example from Bazaar metadata
{
  "max_tokens": 256,
  "messages": [
    {
      "content": "Summarize x402 in one sentence.",
      "role": "user"
    }
  ],
  "model": "fast"
}
Output example
{
  "content": "x402 is an HTTP-native payment protocol that lets clients pay per request in stablecoins.",
  "finish_reason": "stop",
  "generated_at": "2026-07-30T08:00:00.000Z",
  "model": "deepseek/deepseek-v4-flash",
  "tier": "fast",
  "usage": {
    "completion_tokens": 21,
    "prompt_tokens": 18
  }
}

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/40089.json for the price and payment options.
  3. Pay. Call GET https://agentdata-api.sander-van-aard.workers.dev/llm/chat. 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.002 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
3 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0020xb0ae6a9bd7a573ddda58db6c28622417e8ca2099120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xb0ae6a9bd7a573ddda58db6c28622417e8ca2099",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl -X POST 'https://agentdata-api.sander-van-aard.workers.dev/llm/chat' -H 'Content-Type: application/json' --data '{"max_tokens":256,"messages":[{"content":"Summarize x402 in one sentence.","role":"user"}],"model":"fast"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://agentdata-api.sander-van-aard.workers.dev/llm/chat", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"max_tokens\":256,\"messages\":[{\"content\":\"Summarize x402 in one sentence.\",\"role\":\"user\"}],\"model\":\"fast\"}"
});
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
import json
res = httpx.request("POST", "https://agentdata-api.sander-van-aard.workers.dev/llm/chat", json=json.loads("{\"max_tokens\":256,\"messages\":[{\"content\":\"Summarize x402 in one sentence.\",\"role\":\"user\"}],\"model\":\"fast\"}"))
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
agentdata-api.sander-van-aard.workers.dev
Endpoint
https://agentdata-api.sander-van-aard.workers.dev/llm/chat
Machine-readable
/resources/40089.json