| name | ppq |
| description | PayPerQ AI API via Lightning. Use for LLM access without subscriptions or API key management. |
PPQ (PayPerQ)
Pay-per-use AI API. OpenAI-compatible. No subscription—just pay with Lightning.
Quick Start
1. Create Account
curl -X POST https://api.ppq.ai/accounts/create
2. Top Up
curl -X POST https://api.ppq.ai/topup/create/btc-lightning \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 1000, "currency": "SATS"}'
curl -X POST https://api.ppq.ai/credits/balance \
-d '{"credit_id":"CREDIT_ID"}'
3. Configure OpenClaw
Save credentials:
mkdir -p ~/.ppq
echo '{"credit_id":"...","api_key":"sk-..."}' > ~/.ppq/credentials.json
Edit ~/.openclaw/openclaw.json:
{
"agents": { "defaults": { "model": { "primary": "ppq/moonshotai/kimi-k2.5" } } },
"models": {
"providers": {
"ppq": {
"baseUrl": "https://api.ppq.ai",
"apiKey": "${PPQ_API_KEY}",
"api": "openai-completions"
}
}
},
"env": { "PPQ_API_KEY": "sk-..." }
}
Set default and restart:
openclaw models set ppq/moonshotai/kimi-k2.5
openclaw gateway restart
Cost
~1000 sats = ~$0.70 USD. Pay only for what you use.
References