QuikStart

LLMs x402 is a decentralized LLM-as-a-Service platform that integrates top-tier large language models (e.g., OpenAI, Claude, Gemini) via the open x402 protocol, enabling account-free, keyless, HTTP-native micropayment access to AI models using stablecoins like USDC. It brings the power of AI to Web3 with seamless, programmable access for both human users and autonomous agents.

Think of it as “ChatGPT + Stripe + Web3,” but protocol-native and agent-first.


1.1 Key Features at a Glance

Feature
Description

Unified API Gateway

OpenAI-compatible interface with routing to 50+ LLM & multimodal providers

x402 Payment Layer

Built-in HTTP 402 + stablecoin micropayment support

Zero Account Onboarding

No key, no KYC—access AI directly with your wallet

AI Agent Friendly

Fully autonomous, machine-readable, programmable access control

Token Utility ($LLM420)

Powers access, incentives, governance, and liquidity

Modular Architecture

Relays, routers, pricing, adapters—all plug-and-play configurable


1.2 How It Works (Under 5 Steps)

Step 1: Choose an LLM model

  • e.g., GPT-4 via OpenAI, Claude 2.1, Gemini 1.5, Qwen

Step 2: Send a standard OpenAI-compatible API request

  • Format: POST /v1/chat/completions

  • No token required in header if using x402

Step 3: Receive 402 Payment Required

  • Server responds with an x402-compatible payment challenge including price, token type, address

Step 4: Fulfill payment via browser wallet / backend / agent

  • Pay in stablecoins like USDC (on Solana, BNB, Ethereum)

Step 5: Request auto-retried & fulfilled

  • You receive the model output and payment receipt in the response headers


1.3 Developer Example (Curl)

curl -X POST https://api.llms420.com/v1/chat/completions \
 -H 'Content-Type: application/json' \ '{
  "model": "claude-2.1",
  "messages": [{"role": "user", "content": "Who won the 2022 World Cup?"}]
}'

👆 Response: HTTP 402 with payment instructions (amount + address)

curl -X POST https://api.llms420.com/v1/chat/completions \
 -H 'Authorization: x402-pay <your-proof>' \
 -H 'Content-Type: application/json' \
 -d '{ ... }'

👆 Response: HTTP 200 with result, and x402-paid receipt


1.4 Wallets and Payment Networks Supported

Chain
Token
Avg Cost per Call

Solana

USDC

~$0.003

BNB Chain

BUSD

~$0.004

Ethereum

USDC

~$0.01 (L2)


1.5 Who Is It For?

  • Web3 Developers – Add GPT/Claude to dApps, wallets, bots

  • Autonomous Agents – Enable on-chain agents to pay for data or inference

  • LLM Builders – Use x402 to monetize custom models without gatekeeping

  • API Platforms – Use LLMs x402 to proxy and resell third-party models securely

  • Researchers – Run tests without committing to vendor accounts or subscriptions


1.6 Try It Now

Deploy in <5 mins using:

  • 🧰 [SDKs (Coming Soon)]

  • 📡 HTTP requests with browser wallet

  • 🤖 CLI Agent starter templates

  • 📕 Full docs: docs.llms420.io

Last updated