{"uid":"cap_nNiQxMd3QcR7YyV7JL7n-","slug":"taifoon-coordination-layer-llm-chat-completions-qwen3-5-397b-5fd1cfc7","name":"Taifoon Coordination Layer – LLM Chat Completions (Qwen3.5-397B)","description":"OpenAI-compatible chat completion on Qwen/Qwen3.5-397B-A17B, served by DeepInfra (serverless inference) and sold by Taifoon at the provider's price plus a 20 % reseller cut: 0.54 / 3.6 USD per 1M tokens in/out. This request is priced at its prompt and max_tokens. The answer is checked before you are charged.","url":"https://coord.taifoon.dev/v1/chat/completions/qwen3.5-397b-a17b?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","examples":["l3-8b-lunaris-v1","llama-3.1-8b-instruct","mistral-small-24b-instruct-2501","gemma-3-4b-it","gpt-oss-20b","phi-4","qwen2.5-7b-instruct","gemma-3-12b-it","qwen3.5-9b","gemma-3-27b-it","deepseek-v4-flash","ling-3.0-flash"],"description":"optional; one of the 76 models this wall delivers (GET lists them under terms.models); without it nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16 answers"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}},"maxItems":32,"minItems":1},"max_tokens":{"type":"integer","maximum":700,"minimum":1}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-gpu_…","model":"nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16","usage":{"total_tokens":28,"prompt_tokens":14,"completion_tokens":14},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"17 × 24 = 408 (17 × 20 = 340; 17 × 4 = 68; 340 + 68 = 408)."},"finish_reason":"stop"}],"created":1791763200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9vSyNDmxOzRx6gB6Q3ZuO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-compatible chat completions via a large Qwen3.5-397B model (and 70+ other models) over Taifoon's x402 pay-per-call coordination layer","exampleAgentPrompt":"Use the Taifoon coordination layer to send these messages to the Qwen3.5-397B model and get a completion — system: 'You are a concise assistant', user: 'Explain the difference between supervised and unsupervised learning in two sentences', max 300 tokens.","exampleUseCases":[{"title":"On-demand coding help via LLM","prompt":"Ask the Qwen3.5-397B model through Taifoon: 'Write a Python function that takes a list of integers and returns the top 3 largest values without using the sort method.' Keep the response under 500 tokens."},{"title":"Quick factual Q&A with open-weight model","prompt":"Send this to the Taifoon LLM endpoint using the deepseek-v4-flash model: user message is 'What are the main differences between HTTP/1.1 and HTTP/2?' — limit the answer to 400 tokens."},{"title":"Summarization task via pay-per-call AI","prompt":"I need you to summarize this paragraph using the Taifoon chat completions API with the mistral-small-24b-instruct-2501 model, max 200 tokens: 'Photosynthesis is the process by which green plants use sunlight, water, and carbon dioxide to produce oxygen and energy in the form of sugar...'"}],"resultDescription":"Returns an OpenAI-compatible JSON chat completion object containing the assistant's generated message content, the model used, finish reason (e.g. 'stop'), token usage breakdown (prompt tokens, completion tokens, total tokens), and a unique completion ID and timestamp.","failureModes":["Missing or invalid x402 payment header returns 402 with get_key instructions","messages array empty or missing required role/content fields returns 400","max_tokens exceeds 700 cap returns validation error","Unsupported model name silently falls back to default NVIDIA-Nemotron model","Rate limiting or quota exhaustion on the relay key returns 429","Network timeout on large model inference returns 504"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call LLM inference with no subscription commitment, want access to a wide roster of 71+ open-weight models (Qwen, LLaMA, Mistral, Gemma, DeepSeek, Phi) through a single OpenAI-compatible interface, and are operating in a Web3/x402 payment context where USDC micropayments per call are acceptable. Prefer it over OpenAI or Anthropic direct APIs when you want open-weight models, no monthly minimums, or on-chain payment provenance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T12:43:15.902Z","isFirstParty":false,"canonicalSlug":"taifoon-coordination-layer-llm-chat-completions-qwen3-5-397b-5fd1cfc7"}