{"version":1,"name":"GEDX402 Gateway","description":"Frontier chat via Workers AI unified catalog — OpenAI chat/completions or POST /v1/unified/run; per-model x402 pricing.","role":"shard","hub":"https://gedx402.com","origin":"https://gateway.gedx402.com","payments":{"asset":"USDC","facilitator":"coinbase-cdp","networks":[{"id":"base","label":"Base","caip":"eip155:8453","asset":"USDC","family":"evm"}],"primary_network":"base"},"instructions":"Paid routes on this shard. POST tool.endpoint with JSON body; settle x402 USDC before inference. Pay per request with USDC on Base via x402 v2 (Coinbase CDP facilitator). Choose any listed network in the 402 accepts[] response.","bundle":"winners","bundle_doc":"https://gedx402.com/llms.txt","agent_flow":"POST chat.gedx402.com/v1/chat/completions · search.gedx402.com/v1/search · browser.gedx402.com/v1/firecrawl/scrape · embed.gedx402.com/v1/translate","tool_count":1,"tools":[{"name":"gedx402_chat_completions","description":"Multi-model chat completions. POST messages[] and set model to any LLM id from GET /v1/models; dynamic USDC pricing scales with model and token usage. Hero: GET /heroes/chat-completions.","endpoint":"https://chat.gedx402.com/v1/chat/completions","method":"POST","shard":"chat","kind":"llm","tags":["unified","frontier","anthropic","openai","google","usdc","multi-chain","chat"],"model":"@cf/ibm-granite/granite-4.0-h-micro","payment":"x402","price_usd":0.001,"price_display":"$0.0010","worst_case_price_usd":0.001,"worst_case_price_display":"$0.0010","input_schema":{"type":"object","properties":{"model":{"type":"string","description":"Model id or tier alias (fast, smart, micro). See GET /v1/models."},"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_request":{"model":"fast","messages":[{"role":"user","content":"Say hello in one sentence."}],"max_tokens":128},"example_response":{"id":"chatcmpl-example","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"finish_reason":"stop"}]},"hint":"Aliases accepted (not in input_schema): messages←prompt|input|message; plain string body wraps to one user turn; message content[] arrays flatten to text.","starter":true}]}