$0.01
per call · USD Coin on base
LLM chat completions for AI agents — no API key, no account, no signup; pay per call in USDC on Base. POST JSON { prompt } or { messages: [{ role, content }] }; optional model (OpenRouter slug), max_tokens (default 800, max 2000). Routes across a 5-model fallback chain so one unavailable model doesn't fail the call. Returns { model, content, usage, latency_ms }. For agents that need inference without holding an OpenAI or Anthropic key.
Endpoint
POST https://uxus.finance/api/llm3
Calls / 30d
1
Unique payers / 30d
Sep 3
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://uxus.finance/api/llm", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"max_tokens": {
"description": "Max completion tokens. Default 800, max 2000.",
"type": "number"
},
"messages": {
"description": "Chat messages [{ role, content }]. Alternative to prompt.",
"type": "array"
},
"model": {
"description": "Optional model slug; still falls back through the chain.",
"type": "string"
},
"prompt": {
"description": "User prompt. Provide this or messages[].",
"type": "string"
}
}),
});
const data = await res.json();curl -X POST \
"https://uxus.finance/api/llm" \
-H "Content-Type: application/json" \
-d '{"max_tokens":{"description":"Max completion tokens. Default 800, max 2000.","type":"number"},"messages":{"description":"Chat messages [{ role, content }]. Alternative to prompt.","type":"array"},"model":{"description":"Optional model slug; still falls back through the chain.","type":"string"},"prompt":{"description":"User prompt. Provide this or messages[].","type":"string"}}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"content": "The answer is ...",
"latency_ms": 1200,
"model": "deepseek/deepseek-chat",
"usage": {
"completion_tokens": 80,
"prompt_tokens": 24,
"total_tokens": 104
}
}Payment details
0xe0ed7a30589fec49e98f2085c7162b90fdbb83deUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from Uxus & similar services
Uxus · Search
uxus.finance
Live web search for AI agents — no API key, no account, no signup; pay per call in USDC on Base. GET ?q=YOUR+QUERY (required), count=N (1-20, default 10). Returns { query, results: [{ title, url, description, score }], provider, latency_ms }; score is 1.0 for the top result descending toward 0.1, so you can rank or threshold. Multiple search backends with automatic failover. For agents grounding an answer in current web data or gathering source URLs to scrape.
Uxus · Risk PRO
uxus.finance
Full wallet & token risk report — no API key, no account, no signup; pay per call in USDC on Base. GET ?address=0x... (required), chain=ethereum|base (default base), type=wallet|token (default wallet). Checks OFAC sanctions, scam/phishing lists, and honeypot/tax/mint signals. Returns risk_score 0-100, risk_level, a PROCEED|CAUTION|BLOCK verdict, flags[], reasons[] with severity, raw signals, and sources[]. For agents screening a counterparty before they transact.
Uxus · Scrape
uxus.finance
Fetch any URL and get clean, LLM-ready page content — no API key, no account, no signup; pay per call in USDC on Base. Gets past common bot-blocking. Params: ?url=... (required), format=markdown|text|html (default markdown), max_chars=N (default 40000, max 120000). Returns { url, status, title, description, format, content, truncated, chars, latency_ms }; non-HTML URLs return raw content. For agents that need a page as text before summarising or extracting.