pay-per-use
AI endpoints.

Image generation, LLM inference, audio processing, and BTC events data — paid per request with USDC on Base. No accounts. No API keys. Powered by x402 v2.

10image tiers
12llm models
5endpoints
2audio tools
$0.01cheapest call
1network (base)

endpoints

5 endpoints across image, language, audio, and data — each paid per request in USDC

POST /v1/images/generate

10 quality tiers — FLUX.1 Schnell, FLUX.2 Dev, FLUX.2 Klein, Leonardo Lucid Origin, Phoenix 1.0 + SDXL, Dreamshaper, img2img, inpaint

fast $0.01 enhanced $0.03 pro $0.05 premium $0.06 phoenix $0.08 sdxl $0.01 sdxl-light $0.01 dreamshaper $0.01 img2img $0.01 inpaint $0.01
POST /v1/chat/completions

12 LLM models — Llama 3.1/3.3 70B, Llama 4 Scout, Kimi K2.5/K2.6, Qwen3/Coder, QwQ, GPT-OSS, Gemma 4, Granite, Llama 3.2 Vision

llama-3.1-8b $0.01 granite-4.0 $0.01 gpt-oss-20b $0.02 gemma-4-26b $0.03 llama-3.3-70b $0.03 qwen3-30b $0.03 llama-4-scout $0.02 qwen-coder $0.02 qwq-32b $0.02 kimi-k2.5 $0.03 kimi-k2.6 $0.05 llama-3.2-vision $0.02
POST /v1/audio/transcribe
$0.02

Speech-to-text via OpenAI Whisper

POST /v1/audio/speech
$0.08

Text-to-speech via Deepgram Aura-2

GET /v1/btc-events
$0.01

Queryable BTC events dataset — 1,943 events from 2008-2026

why x402 AI?

Pay-per-use AI built for agents, developers, and automation

no accounts

Sign a message to pay. No signup, no API key provisioning, no rate limit tiers.

pay per call

$0.01 to $0.08 per request. No subscriptions, no minimums, no surprise bills.

how it works

From signing a message to receiving AI output — 3 steps

Step 01

Request

Call any /v1/ endpoint with your prompt. Receive a 402 with payment requirements.

Step 02

Sign & Pay

Sign an EIP-3009 authorization with your wallet. Attach it as the PAYMENT-SIGNATURE header.

Step 03

Collect

Payment settles on-chain. The server broadcasts the transfer via CDP facilitator to collect USDC.

Step 04

Download

Receive your generated image, transcription, LLM response, or BTC event data.

traditional APIs vs x402

Same AI models, without the overhead

ACCESS API key + account wait for provisioning No account sign + pay
BILLING Monthly invoice minimum commitments Per-request USDC on Base
INTEGRATION SDK setup auth boilerplate curl + wallet no SDK needed

usage

Call any endpoint with an x402 payment header

Generate a fast image ($0.01)

curl -X POST https://x402-ai-api.civicmerge.workers.dev/v1/images/generate   -H "Content-Type: application/json"   -d '{"prompt":"A cyberpunk cat","model":"fast"}'

ready to use
pay-per-use AI?

Image generation, LLM inference, audio processing, and BTC events data — paid per request with USDC on Base. No accounts. No keys.

live Network: Base mainnet · Pay-to: 0xF22d...6B02

© 2026 x402 AI API Built on Base with USDC