{"uid":"cap_V_fKacfNqQ2hfbANlitAI","slug":"model-access-gateway-qwen3-8-max-chat-completions-9b7ac92f","name":"Model Access Gateway – Qwen3.8-Max Chat Completions","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://agent402-arb.rosariovitale0096.workers.dev/llm/qwen3.8-max?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (qwen/qwen3.8-max)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"qwen/qwen3.8-max","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0014","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ov5dfxl7H7WYiHwDZMEza","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions using the Qwen3.8-Max model, billed per request in USDC on Base via x402 with no account or API key required.","exampleAgentPrompt":"Send this conversation to the Qwen3.8-Max model and get a response: system prompt is 'You are a helpful assistant', user message is 'Explain the difference between supervised and unsupervised learning in two sentences.' — pay via x402 USDC, no API key needed.","exampleUseCases":[{"title":"Permissionless agent-to-agent LLM call","prompt":"I need you to query the Qwen3.8-Max model right now with this system prompt: 'You are a concise summarizer' and user message: 'Summarize the following article in three bullet points: [article text]' — use the pay-per-request crypto gateway, no accounts."},{"title":"Crypto-native chatbot backend","prompt":"My app needs to call Qwen3.8-Max for every user message and pay per call using USDC on Base — send the user's message 'How do I stake ETH on Lido?' with system context 'You are a DeFi expert assistant' and return the reply."},{"title":"On-chain agent reasoning step","prompt":"Run a Qwen3.8-Max inference as a reasoning step for my autonomous agent: system message 'You are a planning assistant', user message 'Given these three options, which has the lowest risk: A) buy BTC, B) hold stablecoins, C) provide liquidity on Uniswap?' — pay with USDC micropayment."}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object containing the assistant's reply text, the model name (qwen/qwen3.8-max), token usage breakdown (prompt, completion, total), finish reason, and a unique completion ID.","failureModes":["Payment not included or insufficient USDC — returns 402 Payment Required","Malformed request body missing required fields — returns 400 Bad Request","Model temporarily unavailable upstream — returns 502 or 503","Rate limiting by the underlying Cloudflare Worker — returns 429 Too Many Requests","Invalid message format not conforming to OpenAI chat schema — returns 422 or 400"],"whenToPreferThis":"Choose this endpoint when you need Qwen3.8-Max specifically, want an OpenAI-compatible interface with zero account setup, and your agent can pay per request using USDC on Base via x402. It is ideal for crypto-native agents, permissionless workflows, and scenarios where you want to avoid committing to a subscription or storing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:33:44.158Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-qwen3-8-max-chat-completions-9b7ac92f"}