GPU-accessible model hosting (Llama 3.1 405B, FLUX, Whisper) — Hyperbolic under Spawnpay routing.
Apps that need raw 405B-class inference without managing a GPU lease. Image + audio + chat under one Spawnpay receipt log.
POST/v1/chat/completionsAuthorization$0.001 USDC per upstream 2xx (4xx is free)curl -X POST https://spawnpay.ai/api/proxy \
-H 'Authorization: Bearer spk_live_…' \
-H 'X-Provider-Key: $HYPERBOLIC_KEY' \
-H 'Content-Type: application/json' \
-d '{
"provider": "hyperbolic",
"path": "/v1/chat/completions",
"method": "POST",
"body": {
"model": "meta-llama/Llama-3.1-405B-Instruct",
"messages": [
{
"role": "user",
"content": "hello"
}
]
}
}'
import { proxy } from 'spawnpay-paywall';
const out = await proxy({
"provider": "hyperbolic",
"path": "/v1/chat/completions",
"method": "POST",
"body": {
"model": "meta-llama/Llama-3.1-405B-Instruct",
"messages": [
{
"role": "user",
"content": "hello"
}
]
},
"providerKey": process.env.HYPERBOLIC_KEY
});
console.log(out.status, out.body);
console.log('charged', out.charged); // txHash + $0.001 USDC receipt
The full upstream JSON body, the upstream status code, the upstream response headers, plus a charged field with the USDC receipt (tx hash) when the call succeeded.