x402ai

active

Payment-gated AI inference microservices on Base mainnet via x402.

AIBasex402 v2exactx402ai.dev ↗︎

Settled via Coinbase.

Transactions · 30d
31
Volume · 30d
$0.40
Unique buyers · 30d
8
Uptime · 30d
100.0%
Latency p50
276ms
Reported calls · 30d
27

Endpoints (4 live)

  • POST /api/policy-check — Deterministic pre-flight policy check for AI agent actions, run by a Prolog rule engine (SWI-Prolog), no LLM. POST JSON {profile: baseline or strict, context: {workdir, home, sandboxed}, actions: 1-20 of read, write, delete, exec, network, pay, self_modify}; returns {policy, results, summary, checked_rules}: one verdict per action (allowed, refused, needs_review) with the rules that decided it. Same input, same output. Checks the actions it is sent; does not enforce them. Typically under 1 s. (0.01 USDC on Base)
  • POST /api/ask — Answers questions (single-turn question answering) from a small local LLM (qwen3.5 2B). Best for general knowledge, definitions and simple reasoning. POST JSON {"input": string}, up to 3000 characters; returns {answer, model, elapsed_ms}. Answers are brief (2-3 sentences). Typically 5-15 s. Known limits: no web access, no memory between calls, and it can hallucinate or be wrong on recent events and obscure facts. Answers are unverified. (0.04 USDC on Base)
  • POST /api/summarize — Summarize a passage of text into a short, concise summary with no preamble (qwen3.5 2B model). Good for condensing articles, emails, logs or documents before passing them to another agent. POST JSON {"input": string}, up to 3000 characters; returns {summary, model, elapsed_ms}. Typically 5-15 s. Small model: may miss nuance in technical or long text. Text only. (0.02 USDC on Base)
  • POST /api/embed — Convert text into a 768-dimension embedding vector (nomic-embed-text) for semantic search, RAG retrieval, clustering, deduplication or similarity scoring. POST JSON {"input": string}, up to 3000 characters; returns {embedding: number[768], model, dimensions, elapsed_ms}. One text per call; English works best. (0.01 USDC on Base)

First seen · last seen · last active