{"partialResults":false,"resources":[{"accepts":[{"amount":"2000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x2b14ad50d63c7fee5a33847f95153ac37a690170","scheme":"exact"}],"description":"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.","extensions":{"bazaar":{"info":{"input":{"body":{"max_tokens":400,"messages":[{"content":"In one sentence, what is HTTP status 402 for?","role":"user"}],"model":"gpt-oss-20b"},"bodyFields":{"max_tokens":400,"messages":[{"content":"In one sentence, what is HTTP status 402 for?","role":"user"}],"model":"gpt-oss-20b"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"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"}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"max_tokens":{"default":512,"maximum":1024,"minimum":1,"type":"integer"},"messages":{"description":"total content at most 8000 bytes of UTF-8","items":{"properties":{"content":{"type":"string"},"role":{"enum":["system","user","assistant"],"type":"string"}},"required":["role","content"],"type":"object"},"maxItems":64,"minItems":1,"type":"array"},"model":{"description":"default gpt-oss-20b","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"],"type":"string"},"reasoning_effort":{"description":"gpt-oss-20b only; default low","enum":["low","medium","high"],"type":"string"},"seed":{"maximum":9999999999,"minimum":1,"type":"integer"},"temperature":{"maximum":2,"minimum":0,"type":"number"},"top_p":{"maximum":1,"minimum":0.001,"type":"number"}},"required":["messages"],"type":"object"},"bodyFields":{"properties":{"max_tokens":{"default":512,"maximum":1024,"minimum":1,"type":"integer"},"messages":{"description":"total content at most 8000 bytes of UTF-8","items":{"properties":{"content":{"type":"string"},"role":{"enum":["system","user","assistant"],"type":"string"}},"required":["role","content"],"type":"object"},"maxItems":64,"minItems":1,"type":"array"},"model":{"description":"default gpt-oss-20b","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"],"type":"string"},"reasoning_effort":{"description":"gpt-oss-20b only; default low","enum":["low","medium","high"],"type":"string"},"seed":{"maximum":9999999999,"minimum":1,"type":"integer"},"temperature":{"maximum":2,"minimum":0,"type":"number"},"top_p":{"maximum":1,"minimum":0.001,"type":"number"}},"required":["messages"],"type":"object"},"bodyType":{"const":"json","type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"const":"POST","type":"string"},"queryParams":{"properties":{"network":{"description":"base (the default) is real USDC on Base mainnet; base-sepolia is the test-USDC sandbox (model llama-3.1-8b-instruct-fp8-fast, max_tokens 64, content 2000 bytes)","enum":["base","base-sepolia"],"type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-23T23:18:49.94Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-23T23:18:49.548Z"},"resource":"https://badhttp.dev/v1/chat/completions","serviceName":"badhttp","tags":["testing","http","x402","edge-cases","developer-tools"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"xph3xsndogcvuaa"}}
