# Qwen LLM via x402 Gateway

> Qwen LLM via x402 Gateway is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.004000/call, status unknown (last checked 2026-09-13, last successful call 2026-07-17).

Calls Alibaba's Qwen flagship model for multilingual text generation, reasoning, and coding tasks via a pay-per-call x402 gateway

## Facts

- Endpoint: POST https://x402-gateway-production.up.railway.app/api/llm/qwen
- Price: $0.004000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Last successful call: 2026-07-17
- Success rate: 75% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 21
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-d22c4ea1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wSYSuGYZ8xqifBVXSJHDK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-gateway-production-up-railway-app-d22c4ea1 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Alibaba's flagship open model — excellent multilingual and coding capabilities

## Output

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.

## Example request

```json
{
 "messages": [
  {
   "role": "user",
   "content": "Say hello"
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-d22c4ea1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
