{"uid":"cap_25-kRkr3PhyzGY4Vlk6p2","slug":"zeroreader-qwen-2-5-coder-32b-f6923b6e","name":"ZeroReader Qwen 2.5 Coder 32B","description":"Qwen 2.5 Coder 32B — Code generation specialist. Excellent for programming tasks.","url":"https://api.zeroreader.com/v1/ai/qwen-coder-32b?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stream":{"type":"boolean","default":false},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","default":1024,"maximum":4096},"temperature":{"type":"number","default":0.7,"maximum":2,"minimum":0}}},"responseSchema":{"id":"chatcmpl-example","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"I'm doing well!"},"finish_reason":"stop"}]},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NG_VuiWPGLHMUNl8SeO12","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs chat completions against Qwen 2.5 Coder 32B, a 32-billion-parameter model specialized in code generation and programming tasks.","exampleAgentPrompt":"Write me a Python function that parses a JWT token without using any external libraries, validates the expiry field, and raises a ValueError if it's expired — keep temperature at 0.2 and limit the response to 1024 tokens.","exampleUseCases":null,"resultDescription":"Returns an OpenAI-compatible chat completion object containing the assistant's generated code or explanation as a text string, along with the finish reason (e.g. 'stop') and a completion ID.","failureModes":["temperature out of range (0-2) returns validation error","max_tokens exceeds 4096 returns error","malformed messages array (missing role or content) returns 400","payment failure via x402 if USDC balance insufficient","model timeout on very long prompts near token limit","streaming not supported in all client configurations"],"whenToPreferThis":"Prefer this endpoint when the task is specifically code generation, debugging, code explanation, or any programming-related completion — Qwen 2.5 Coder 32B is purpose-trained for code and outperforms general-purpose models of similar size on coding benchmarks. Choose this over DeepSeek R1 32B when you need direct code output rather than chain-of-thought reasoning, and over smaller models when code quality and correctness matter more than latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:53:54.081Z","isFirstParty":false,"canonicalSlug":"zeroreader-qwen-2-5-coder-32b-f6923b6e"}