{"uid":"cap_eauu-nHp9Dv_XhBq-Kegu","slug":"model-access-gateway-qwen3-8-max-chat-completions-x402-usdc-96e7569e","name":"Model Access Gateway – Qwen3.8-Max Chat Completions (x402, USDC)","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://modelaccessgateway.com/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_TjGw-ZZbuRJqCyp0D60Hr","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 Alibaba's Qwen3.8-Max model, billed per call in USDC on Base via x402 — no API key or account required.","exampleAgentPrompt":"Ask Qwen3.8-Max to explain the difference between supervised and unsupervised learning in 3 bullet points — pay per call in USDC, no API key needed, up to 512 tokens.","exampleUseCases":[{"title":"Agentic reasoning with tool calls","prompt":"Use Qwen3.8-Max to decide which of these three tools to invoke given this user request: 'book me a flight to Tokyo next Friday' — give it the tool definitions and let it pick one, paying per call in USDC."},{"title":"Structured JSON extraction from text","prompt":"Send this customer support email to Qwen3.8-Max and ask it to extract the issue type, urgency level, and customer name as JSON — I want structured output, 256 tokens max."},{"title":"One-off code generation without a subscription","prompt":"I don't have an OpenAI account — can you send this Python coding question to Qwen3.8-Max right now and just pay the fraction-of-a-cent USDC charge per call? Ask it to write a binary search function with comments."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply message, finish reason (stop/length/tool_calls), and token usage breakdown (prompt, completion, total tokens). Streaming mode delivers server-sent events incrementally after payment is settled.","failureModes":["Payment failure or insufficient USDC balance — x402 payment rejected, no completion returned but automatic refund issued","Model unavailable upstream — gateway returns error, automatic refund triggered","max_tokens exceeded allowed range (1–16384) — validation error","Empty or malformed messages array — request rejected with 400-level error","Temperature out of range (0–2) — validation error","Stream requested but client disconnects before completion"],"whenToPreferThis":"Choose this endpoint when you need Qwen3.8-Max specifically (Alibaba's flagship reasoning-optimized model) without committing to a subscription or managing API keys. Ideal for AI agents that need pay-as-you-go LLM inference settled in USDC on Base, for sporadic or bursty workloads, or when operating in environments where traditional API key management is impractical. Prefer over OpenAI/Anthropic direct APIs when you want crypto-native micropayment billing or need to avoid account creation overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:35:11.110Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-qwen3-8-max-chat-completions-x402-usdc-96e7569e"}