{"uid":"cap_makvnYq4qJLH48kNsrbzl","slug":"taifoon-coordination-layer-chat-completions-ling-3-0-flash-d7110c86","name":"Taifoon Coordination Layer – Chat Completions (ling-3.0-flash)","description":"OpenAI-compatible chat completion on inclusionAI/Ling-3.0-flash, served by DeepInfra (serverless inference) and sold by Taifoon at the provider's price plus a 20 % reseller cut: 0.072 / 0.216 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/ling-3.0-flash?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.0012","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_fYXcRHxEKdvxCa3P3QIxo","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":"Sends a chat message to the Taifoon coordination layer's ling-3.0-flash model endpoint and returns an OpenAI-compatible chat completion response.","exampleAgentPrompt":"Using the Taifoon coordination layer's ling-3.0-flash model, send a chat message asking 'What are the three laws of thermodynamics?' with a max of 300 tokens and give me the assistant's reply.","exampleUseCases":[{"title":"Quick factual Q&A via paid LLM","prompt":"Ask the Taifoon ling-3.0-flash model: 'Explain the difference between HTTP and HTTPS in two sentences.' Limit the response to 150 tokens."},{"title":"Coding assistant via micropayment API","prompt":"I need a short Python function that reverses a string — can you send that as a user message to Taifoon's ling-3.0-flash model with up to 400 tokens and return the code it gives back?"},{"title":"Automated text summarization workflow","prompt":"Send this article excerpt as a user message to the Taifoon coordination layer chat model and ask it to summarize in three bullet points: 'Renewable energy adoption has surged globally in 2024, driven by falling solar costs and new grid-storage technologies...' Use at most 500 tokens."}],"resultDescription":"Returns an OpenAI-compatible JSON object with a choices array containing the assistant's reply message, finish reason, token usage breakdown (prompt, completion, total tokens), model name used, and a completion ID.","failureModes":["Missing or invalid x402 payment header → 402 Payment Required with get_key guidance","No messages provided or messages array empty → validation error","max_tokens exceeds 700 → schema validation rejection","Model name not in the 71-model list → fallback to default NVIDIA-Nemotron model or error","Rate limit exceeded → 429 Too Many Requests","Network timeout on inference → 504 Gateway Timeout"],"whenToPreferThis":"Choose this endpoint when you need a cheap ($0.001 USDC per call), pay-per-call OpenAI-compatible chat completion via the x402 micropayment protocol with no subscription required. Prefer it for agents that need to make occasional LLM calls without managing API keys upfront, especially in x402-aware pipelines. The ling-3.0-flash model is the specific default served here; use sibling endpoints for named models like DeepSeek or Qwen3-235B.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T12:42:16.070Z","isFirstParty":false,"canonicalSlug":"taifoon-coordination-layer-chat-completions-ling-3-0-flash-d7110c86"}