Pathwise

Docs

Build with Pathwise.

OpenAI-compatible chat completions. Change the base URL. Invite keys for humans. x402 packs for agents.

Routed models are fulfilled by third-party aggregators. They are not private Mac inference. Prompts are processed by those providers under their policies. Use a routed/… id for this lane. A pathwise-* id is only valid when a Mac served the job.

Routed (cheap tokens)

curl https://api.pathwise.dev/v1/chat/completions \
  -H "Authorization: Bearer pathwise-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "routed/gpt-4o-mini-2024-07-18",
    "messages": [{"role":"user","content":"Hello"}]
  }'

Response header x-pathwise-lane: routed. Paid aggregator models typically are not trained on your traffic by default; we do not list free-tier rows. Do not assume zero-retention Pathwise does not control.

Humans add credit at /billing (Stripe card or USDC on Base). Agents send a PAYMENT-SIGNATURE header (x402). Packs are $10, $25, and $100. Empty balance returns HTTP 402.

Mac lane (when supply exists)

curl https://api.pathwise.dev/v1/chat/completions \
  -H "Authorization: Bearer pathwise-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "pathwise-a-fast",
    "messages": [{"role":"user","content":"Hello, Pathwise"}]
  }'