Skip to content

OnChainAIIntel/x402-pqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x402-pqs

Express middleware that scores prompts via PQS before they hit any LLM.

Built for x402-enabled agent workflows. Free tier -- no wallet required.

PQS API Endpoints

Endpoint Price Description
POST /api/score/free Free Basic score + grade, no auth
POST /api/score $0.025 USDC Full dimension breakdown
POST /api/score/full $0.125 USDC Optimized prompt + before/after
POST /api/score/batch $0.25 USDC Score up to 10 prompts
POST /api/score/compare $1.25 USDC Claude vs GPT-4o, judged by third model

Cross-Model Scoring

Real result -- Claude 36/40 vs GPT-4o 25/40. Faithfulness: 10 vs 3. GPT-4o fabricated wallet addresses. Claude admitted data limits.

Downstream Data Partners

Gate prompts with PQS before hitting paid data APIs (threshold: 28/40).

Powered by

PQS -- https://pqs.onchainintel.net | OnChainIntel -- https://onchainintel.net

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors