Qwen2.5 Coder 32B, code LLM API: pay per call, no API key
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Chat with Alibaba's Qwen2.5 Coder 32B code model (Apache 2.0) through one paid HTTP call: send a prompt and an optional system prompt, get the answer, up to 1,024 output tokens. Also reachable as model "qwen-coder" on the OpenAI-compatible /v1/chat/completions. No account or provider key. Use when an agent wants this model by name.
Inputs
| Name | Type | Description |
|---|---|---|
prompt (required) | string | User prompt, up to 8,000 characters |
system | string | Optional system prompt, up to 2,000 characters |
maxTokens | integer | Maximum output tokens, 1-1024 (default 400) |
temperature | number | 0-1.5 (default 0.6) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/ai/model/qwen-coder?prompt=Explain%20HTTP%20status%20code%20402%20in%20one%20sentence."
Node.js
const r = await fetch("https://glyphtools.com/ai/model/qwen-coder?prompt=Explain%20HTTP%20status%20code%20402%20in%20one%20sentence.", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/ai/model/qwen-coder?prompt=Explain%20HTTP%20status%20code%20402%20in%20one%20sentence.", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"model": "@cf/qwen/qwen2.5-coder-32b-instruct",
"response": "HTTP 402 Payment Required is a status code that tells a client it must pay before the server will fulfil the request."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is ai_model_qwen_coder, paid from the first call:
https://glyphtools.com/mcp