Pay-per-call LLM API

LLM inference
pay per call

11 specialized endpoints for AI agents. Chat, reason, code review, translate, analyze — all paid with USDC on Base.

Start BuildingView API Spec
11
Endpoints
$0.02
Starting price
1M
Context window
Base
Chain

Endpoints

Every endpoint returns 402 with x402 payment instructions. Pay with USDC, get your response.

Core LLM

Chat
Flash
$0.02
Fast inference for general tasks, Q&A, and generation
Think
Pro
$0.05
Deep reasoning with thinking mode. Complex analysis and coding
Search
Flash
$0.03
Web search combined with AI synthesis for structured answers

Specialized

Code
Pro
$0.08
Code review with security scan, bug detection, and suggestions
Translate
Flash
$0.03
50+ languages with tone control and idiom localization
Summarize
Flash
$0.05
Document summarization in paragraph, bullets, TLDR, or JSON
Extract
Pro
$0.07
Structured data extraction from untext with schema support
Analyze
Omni
$0.10
Multimodal understanding — images, audio, and video
TTS
TTS
$0.05
Text-to-speech synthesis. Returns MP3 audio

Power Tools

Pipeline
Multi-model
$0.15
Chain up to 5 LLM steps. Each step can use previous outputs
Batch
Multi-model
$0.10
Process up to 10 inputs in one call. Sequential or concurrent

How it works

x402 protocol — HTTP-native payments for AI agents

1
Request
Agent sends POST to any endpoint
2
402
Server returns payment instructions
3
Pay
Agent signs USDC payment on Base
4
Response
Server verifies, returns LLM output

Get started

One curl command. That's it.

# Chat completion — $0.02
curl -X POST https://momoai.vercel.app/api/chat \
-H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"Hello"}]}'
# Response (without payment → 402)
{
"x402Version": 1,
"accepts": [{ "scheme": "exact", "maxAmountRequired": "20000" }],
"paymentRequired": true
}
# With USDC payment → 200
{
"success": true,
"data": { "content": "Hello! How can I help?" }
}

Playground

Try any endpoint right here. Free during testing.

POST/api/chat$0.01
Request Body