{"uid":"cap_wSYSuGYZ8xqifBVXSJHDK","slug":"x402-gateway-production-up-railway-app-d22c4ea1","name":"Qwen LLM via x402 Gateway","description":"Alibaba's flagship open model — excellent multilingual and coding capabilities","url":"https://x402-gateway-production.up.railway.app/api/llm/qwen","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"messages":[{"role":"user","content":"Say hello"}]},"response":{"model":"qwen/qwen-2.5-72b-instruct","usage":{"cost":0.0000076,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0000076,"upstream_inference_prompt_cost":0.0000036,"upstream_inference_completions_cost":0.000004},"total_tokens":20,"prompt_tokens":10,"completion_tokens":10,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":0}},"content":"Hello there! How can I assist you today?"}},"exampleRequest":{"messages":[{"role":"user","content":"Say hello"}]},"tags":["x402"],"displayCostAmount":"0.004000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"0.75","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ukjNgfQt2Gpyk9b4IBELK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calls Alibaba's Qwen flagship model for multilingual text generation, reasoning, and coding tasks via a pay-per-call x402 gateway","exampleAgentPrompt":"Use Qwen to write me a Python function that parses a JSON file and extracts all keys with null values, with comments explaining each step.","exampleUseCases":[{"title":"Translate content into Asian languages","prompt":"Use Qwen to translate this product description into Mandarin, Japanese, and Korean, making sure the phrasing sounds natural and culturally appropriate for each market."},{"title":"Debug and fix my code","prompt":"Run this JavaScript function through Qwen and have it identify any bugs, explain what's going wrong, and rewrite the function so it works correctly."},{"title":"Summarize multilingual customer feedback","prompt":"I have a batch of customer reviews written in a mix of English, Chinese, and Arabic — use Qwen to summarize the key themes and complaints from all of them into a single English report."}],"resultDescription":"Returns a text completion or chat response from Alibaba's Qwen model, which may include prose, code, translations, reasoning, or structured output depending on the prompt.","failureModes":["Payment not included or insufficient USDC — payment required error","Malformed prompt or missing message body — 400 bad request","Model temporarily unavailable — 503 service error","Context window exceeded for very long prompts — token limit error","Rate limiting if too many concurrent requests — 429 too many requests"],"whenToPreferThis":"Choose this endpoint when you need strong multilingual capabilities (especially Asian languages), want an open-model alternative to GPT/Claude, need solid coding assistance at low cost ($0.004/call), or want Alibaba's Qwen specifically for compliance or preference reasons. Prefer over GPT-4o mini when multilingual fidelity matters most.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":21,"lastUsedAt":"2026-07-17T23:09:06.582Z","lastSuccessfullyRanAt":"2026-07-17T23:09:06.582Z","lastHealthCheckAt":"2026-09-13T18:34:14.156Z","isFirstParty":false}