Self-hosted 12-model LLM pricing telemetry, 80/20 hybrid routing, spend redline guard, MCP server & Pi Testnet sandbox.
Route routine extraction, classification, and drafting to economy models while preserving frontier models for complex synthesis.
Test Pi SDK 3-phase Testnet payments (Pi.authenticate → Pi.createPayment → /api/pi/approve → /api/pi/complete) and standards-compliant HTTP 402 x402 metering.
// Click any button above to inspect live Pi SDK, x402 HTTP 402, or MCP JSON-RPC 2.0 responses.
Live cost ranking across all 12 official LLM APIs for your active token workload above (official public list prices per 1M tokens).
| Model | Provider | Tier | In / 1M | Out / 1M | Cached In | Per Req | Monthly Est. |
|---|
Point any MCP-compatible AI coding agent or local workflow at POST /mcp on your Pi Desktop loopback port.
{
"mcpServers": {
"pi-solohost-costguard": {
"transport": "streamable-http",
"url": "http://127.0.0.1:18080/mcp"
}
}
}
// Tools exposed: estimate_llm_cost | optimize_hybrid_route | check_budget_redline
// x402 Endpoint: POST /api/x402/route-audit (HTTP 402 challenge) | ?sample=true (HTTP 200)
// Health Check: GET /health