Chat · Completions
badhttp /v1/chat/completions: an OpenAI-compatible chat completion from Cloudflare Workers AI (@cf/openai/gpt-oss-20b), 0.002 USDC per request on Base mainnet, settled only after the model has answered.
POST https://badhttp.dev/v1/chat/completions
0.002 USDC on Base · payTo 0x2b14ad50d63c7fee5a33847f95153ac37a690170
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"max_tokens": 400,
"messages": [
{
"content": "In one sentence, what is HTTP status 402 for?",
"role": "user"
}
],
"model": "gpt-oss-20b"
}{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "HTTP 402 Payment Required is reserved for digital payment schemes; this endpoint uses it for x402.",
"role": "assistant"
}
}
],
"created": 1793311099,
"id": "chatcmpl-00000000-0000-0000-0000-000000000000",
"model": "@cf/openai/gpt-oss-20b",
"object": "chat.completion",
"usage": {
"completion_tokens": 58,
"prompt_tokens": 81,
"total_tokens": 139
},
"x402": {
"amount_atomic": "2000",
"amount_usd": 0.002,
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"charged_for": "one request, flat",
"explorer": "https://basescan.org/tx/0x0000000000000000000000000000000000000000000000000000000000000000",
"facilitator": "https://example.invalid",
"network": "eip155:8453",
"network_name": "base",
"paid": true,
"pay_to": "0x2b14ad50d63c7fee5a33847f95153ac37a690170",
"payer": "0x0000000000000000000000000000000000000000",
"real_money": true,
"transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://badhttp.dev/v1/chat/completions · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"enum": [
"gpt-oss-20b",
"@cf/openai/gpt-oss-20b",
"llama-3.1-8b-instruct-fp8-fast",
"@cf/meta/llama-3.1-8b-instruct-fp8-fast"
],
"description": "default gpt-oss-20b"
},
"messages": {
"type": "array",
"minItems": 1,
"maxItems": 64,
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string",
"enum": [
"system",
"user",
"assistant"
]
},
"content": {
"type": "string"
}
}
},
"description": "total content at most 8000 bytes of UTF-8"
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"maximum": 1024,
"default": 512
},
"temperature": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"top_p": {
"type": "number",
"minimum": 0.001,
"maximum": 1
},
"seed": {
"type": "integer",
"minimum": 1,
"maximum": 9999999999
},
"reasoning_effort": {
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"description": "gpt-oss-20b only; default low"
}
},
"required": [
"messages"
]
}Output schema
{
"type": "object"
}curl -i -X POST 'https://badhttp.dev/v1/chat/completions' \
-H 'content-type: application/json' -d '{"model":"gpt-oss-20b","messages":[{"role":"user","content":"In one sentence, what is HTTP status 402 for?"}],"max_tokens":400}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs