{"openapi":"3.1.0","info":{"title":"GEDX402 LLM","version":"6","description":"Qwen3 30B FP8 frontier — reasoning, code, and agent tiers via ?full=1.","contact":{"email":"support@macrostrategies.ai","url":"https://llm.gedx402.com"},"x-guidance":"Pay per request with USDC on Base via x402 v2 (Coinbase CDP facilitator). Choose any listed network in the 402 accepts[] response. 4 routes on this shard (competitive heroes default; ?full=1 for all). Full catalog: GET https://gedx402.com/v1/models Start here: POST /v1/llm/qwen3-30b-a3b-fp8","x-service":{"serviceName":"GEDX402 LLM","tags":["llm","reasoning","code","inference","usdc"],"iconUrl":"https://llm.gedx402.com/favicon.svg"},"x-hub":"https://gedx402.com","x-payments":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"x-openapi-scope":"competitive","full_catalog":"https://llm.gedx402.com/openapi.json?full=1"},"servers":[{"url":"https://llm.gedx402.com"}],"paths":{"/v1/llm/qwen3-30b-a3b-fp8":{"post":{"operationId":"llm_qwen3-30b-a3b-fp8","summary":"QWEN3 30B A3b FP8 Chat","description":"Frontier chat on QWEN3 30B A3b FP8 (@cf/qwen/qwen3-30b-a3b-fp8). POST messages[] for reasoning-heavy agent workloads; dynamic token pricing. Hero: GET /heroes/frontier-llm. Tiers: /v1/chat/reasoning, /v1/chat/code, /v1/chat/agent, /v1/chat/70b. Deprecated wildcard — see GET https://gedx402.com/v1/models?bundle=winners for hero routes.","tags":["Chat"],"security":[{"x402":[]}],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.008000","max":"0.009095"}},"responses":{"200":{"description":"Inference result","content":{"application/json":{"schema":{"type":"object"},"example":{"model":"@cf/qwen/qwen3-30b-a3b-fp8","response":"Hello!"}}}},"400":{"description":"Invalid or over-limit payload"},"402":{"description":"Payment required (x402 v2 USDC on Base). Unpaid 402 includes PAYMENT-REQUIRED. After a rejected PAYMENT-SIGNATURE the JSON body is { reason_code, detail, next_step }.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired with accepts[] per network","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{}}}}},"deprecated":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","description":"Conversation turns in order (system, user, assistant).","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"],"description":"Speaker role for this turn."},"content":{"type":"string","description":"Message text for this turn."}},"required":["role","content"]}},"max_tokens":{"type":"integer","minimum":1,"maximum":4096,"description":"Maximum tokens to generate in the assistant reply."}},"required":["messages"]},"example":{"messages":[{"role":"user","content":"Say hello in one sentence."}],"max_tokens":128}}}},"servers":[{"url":"https://llm.gedx402.com"}],"x-resource-url":"https://llm.gedx402.com/v1/llm/qwen3-30b-a3b-fp8"}},"/v1/decision/clef":{"post":{"operationId":"decision_clef","summary":"Clef","description":"Decision on Clef (@cf/cloudflare/clef). POST state plus 1 to 64 typed questions (noul, choice, or score) and up to 4 images. USDC scales with the input bound. Output tokens are not billed. Audio and video are not accepted on this route.","tags":["Decisions"],"security":[{"x402":[]}],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.003238","max":"0.041325"}},"responses":{"200":{"description":"Inference result","content":{"application/json":{"schema":{"type":"object"},"example":{"model":"clef","answers":{"urgent":{"noul":0.9}}}}}},"400":{"description":"Invalid or over-limit payload"},"402":{"description":"Payment required (x402 v2 USDC on Base). Unpaid 402 includes PAYMENT-REQUIRED. After a rejected PAYMENT-SIGNATURE the JSON body is { reason_code, detail, next_step }.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired with accepts[] per network","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"Model selector. Omit it, or send clef."},"state":{"description":"Text, object, or array to judge. Long text is truncated to the context window."},"questions":{"type":"object","description":"1 to 64 typed questions, keyed by id. type is noul, choice, or score."},"images":{"type":"array","description":"Up to 4 base64 or data-URL images (PNG, JPEG, or WebP). Each is at most 1,024 tokens.","items":{"type":"string"}}},"required":["state","questions"]},"example":{"state":"Checkout has been failing for every customer for the last hour.","questions":{"urgent":{"type":"noul","instructions":"Is this support request urgent?"}}}}}},"servers":[{"url":"https://llm.gedx402.com"}],"x-resource-url":"https://llm.gedx402.com/v1/decision/clef"}},"/v1/decision/clef-flash":{"post":{"operationId":"decision_clef-flash","summary":"Clef-flash","description":"Decision on Clef Flash (@cf/cloudflare/clef-flash). POST state plus 1 to 64 typed questions (noul, choice, or score) and up to 4 images. USDC scales with the input bound. Output tokens are not billed. Audio and video are not accepted on this route.","tags":["Decisions"],"security":[{"x402":[]}],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.002220","max":"0.004338"}},"responses":{"200":{"description":"Inference result","content":{"application/json":{"schema":{"type":"object"},"example":{"model":"clef-flash","answers":{"urgent":{"noul":0.9}}}}}},"400":{"description":"Invalid or over-limit payload"},"402":{"description":"Payment required (x402 v2 USDC on Base). Unpaid 402 includes PAYMENT-REQUIRED. After a rejected PAYMENT-SIGNATURE the JSON body is { reason_code, detail, next_step }.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired with accepts[] per network","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"Model selector. Omit it, or send clef-flash."},"state":{"description":"Text, object, or array to judge. Long text is truncated to the context window."},"questions":{"type":"object","description":"1 to 64 typed questions, keyed by id. type is noul, choice, or score."},"images":{"type":"array","description":"Up to 4 base64 or data-URL images (PNG, JPEG, or WebP). Each is at most 1,024 tokens.","items":{"type":"string"}}},"required":["state","questions"]},"example":{"state":"Checkout has been failing for every customer for the last hour.","questions":{"urgent":{"type":"noul","instructions":"Is this support request urgent?"}}}}}},"servers":[{"url":"https://llm.gedx402.com"}],"x-resource-url":"https://llm.gedx402.com/v1/decision/clef-flash"}},"/v1/decision/clef-omni":{"post":{"operationId":"decision_clef-omni","summary":"Clef-omni","description":"Decision on Clef Omni (@cf/cloudflare/clef-omni). POST state plus 1 to 64 typed questions (noul, choice, or score) and up to 4 images. USDC scales with the input bound. Output tokens are not billed. Audio and video are not accepted on this route.","tags":["Decisions"],"security":[{"x402":[]}],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.002770","max":"0.026008"}},"responses":{"200":{"description":"Inference result","content":{"application/json":{"schema":{"type":"object"},"example":{"model":"clef-omni","answers":{"urgent":{"noul":0.9}}}}}},"400":{"description":"Invalid or over-limit payload"},"402":{"description":"Payment required (x402 v2 USDC on Base). Unpaid 402 includes PAYMENT-REQUIRED. After a rejected PAYMENT-SIGNATURE the JSON body is { reason_code, detail, next_step }.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired with accepts[] per network","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"Model selector. Omit it, or send clef-omni."},"state":{"description":"Text, object, or array to judge. Long text is truncated to the context window."},"questions":{"type":"object","description":"1 to 64 typed questions, keyed by id. type is noul, choice, or score."},"images":{"type":"array","description":"Up to 4 base64 or data-URL images (PNG, JPEG, or WebP). Each is at most 1,024 tokens.","items":{"type":"string"}}},"required":["state","questions"]},"example":{"state":"Checkout has been failing for every customer for the last hour.","questions":{"urgent":{"type":"noul","instructions":"Is this support request urgent?"}}}}}},"servers":[{"url":"https://llm.gedx402.com"}],"x-resource-url":"https://llm.gedx402.com/v1/decision/clef-omni"}},"/v1/models":{"get":{"operationId":"models","summary":"Shard route catalog","description":"Free catalog for this shard with pricing and descriptions.","tags":["Catalog"],"security":[],"responses":{"200":{"description":"Catalog JSON"}}}},"/v1/demo":{"get":{"operationId":"demo_index","summary":"Response shape previews","description":"Free cached JSON examples (not charged).","tags":["Catalog"],"security":[],"responses":{"200":{"description":"Demo index"}}}},"/v1/health":{"get":{"operationId":"health","summary":"Service health","tags":["Catalog"],"security":[],"responses":{"200":{"description":"Health JSON"}}}}},"x-agentcash-guidance":{"llmsTxtUrl":"https://llm.gedx402.com/llms.txt"},"x-agentcash-provenance":{"ownershipProofs":["0xb3C2776cE3F99cb3366520c27b4aC5D436942Ab6"]},"x-discovery":{"ownershipProofs":["0xb3C2776cE3F99cb3366520c27b4aC5D436942Ab6"]},"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2. First POST without this header returns 402 + PAYMENT-REQUIRED. Sign the Base accept (eip155:8453) with @x402/fetch and retry once. After a rejected signature the 402 body is { reason_code, detail, next_step }."}}}}