A Quality Gate For Prompts. Before they break production. Score any AI prompt against 8 dimensions, see what's weak, and get the fixed version in seconds.
Price
from $0.0010
up to $1.25 per request
Network
base
Category
ai
On-chain txns
18
Uptime
100%
Avg latency
132ms
Checks
88
Status
Healthy
Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.
PQS injection detection - heuristic + LLM verdict on prompt-injection attempts with sanitized output
Quick pre-flight quality score: composite (0-100) + grade (A-F) + three framework sub-scores (PEEM, RAGAS, G-Eval) + verdict. Run upstream of any other paid call to filter weak prompts before inference. The cheapest gate on the AI input quality problem.
Pass/Fail before you waste budget on a doomed call. Decide whether to make a paid LLM call before you make it. Preflight scores your prompt against an 8-dimension quality rubric (pass/fail at 28/80) and optionally pulls the target endpoint's on-chain trust signals — total payments, unique payers, last activity. Two-in-one circuit breaker for agents that don't want to waste budget on weak prompts or sketchy endpoints. (rev 2)
Venice.ai chat completion with PQS preflight scoring. Returns LLM response plus 8-dimension quality score in one paid call. No signup, no API key.
PQS score - 8-dimensional prompt quality breakdown across 5 frameworks with top fixes
PQS batch scoring - score up to 10 prompts in one call (rev 2)
PQS cross-model scoring - same prompt through Claude and GPT-4o, judged by a third model (rev 2)
PQS full analysis - optimized prompt plus before/after outputs (rev 2)
PQS variants - N ranked prompt rewrites scored on the 8-dimension rubric, returned best-first
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call it
npx @apihubio/cli call https://promptqualityscore.com \
-X POST \
-d '{ /* check provider docs for input */ }'
# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://promptqualityscore.comimport { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);
const res = await x402Fetch("https://promptqualityscore.com", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.