which-llm is a deterministic model-selection API for agents. Submit constraints, receive a stable
ranking, pay only when you use it, and keep structured explainability for retries, audits, and downstream automation.
POST /decision/optimize 402 Payment Required pay exact USDC on supported chain retry with X-Payment-* headers receive deterministic ranking + reasons
https://api.which-llm.com/decision/optimize for ranking, https://api.which-llm.com/decision/outcome for outcome credits,
and https://api.which-llm.com/capabilities for machine-readable discovery.
402 Payment Required and accept exact USDC payments on
Base, Ethereum, Arbitrum, Optimism, Avalanche. Use a separate low-balance wallet. Prefer an encrypted keystore over a raw private key.
The API never needs your signing secret and only verifies the transaction hash, payer address, and related public proof.