{"uid":"cap_Y8hxYhyeQflEOjG2d3Edf","slug":"taifoon-multi-model-chat-completions-7a60d552","name":"Taifoon Multi-Model Chat Completions","description":"OpenAI-compatible chat completion on 15 models: name one in `model` (meta-llama/Meta-Llama-3.1-8B-Instruct, deepseek-ai/DeepSeek-V4-Flash, deepseek-v4-flash, openai/gpt-oss-120b, openai-gpt-oss-120b, meta-llama/Llama-3.3-70B-Instruct and 8 more) and the 402 prices that model per request; served by DeepInfra, Venice AI and Taifoon's own GPU (nvidia/NVIDIA-Nemotron-3-Nano-4B-BF16 when no model is named). Messages in, the answer and its token usage out; max_tokens at most 700.","url":"https://coord.taifoon.dev/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","examples":["meta-llama/Meta-Llama-3.1-8B-Instruct","deepseek-ai/DeepSeek-V4-Flash","deepseek-v4-flash","openai/gpt-oss-120b","openai-gpt-oss-120b","meta-llama/Llama-3.3-70B-Instruct","Qwen/Qwen2.5-72B-Instruct","deepseek-ai/DeepSeek-V3.2","deepseek-v3.2","z-ai/glm-5.3-flash","Qwen/Qwen3-VL-30B-A3B-Instruct","Qwen/Qwen3-235B-A22B-Instruct-2507"],"description":"optional; one of the 22 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":null,"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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sHFTEjaRBGTJpYJsnhh3A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completion endpoint routing across 15 LLMs (Llama, DeepSeek, Qwen, GPT-OSS, Nemotron, GLM) with pay-per-call x402 pricing","exampleAgentPrompt":"Ask the Taifoon multi-model endpoint to answer this using deepseek-ai/DeepSeek-V4-Flash with up to 500 tokens: 'Explain the difference between supervised and unsupervised learning in plain English.'","exampleUseCases":[{"title":"Agent reasoning with open-source LLM","prompt":"Use the Taifoon chat endpoint with meta-llama/Llama-3.3-70B-Instruct and up to 700 tokens to answer: 'What are the pros and cons of using microservices architecture for a startup?'"},{"title":"Cost-controlled LLM call for summarization","prompt":"Send this article text to Taifoon's chat completions using deepseek-ai/DeepSeek-V3.2 with max 300 tokens and ask it to summarize the key points in three bullet points."},{"title":"Model comparison across multiple LLMs","prompt":"Ask Taifoon's chat API with Qwen/Qwen3-235B-A22B-Instruct-2507 and 400 max tokens: 'Write a Python function that checks if a number is prime.'"}],"resultDescription":"Returns an OpenAI-compatible chat completion response containing the assistant's generated text reply and token usage statistics (prompt tokens, completion tokens, total tokens). Max response length is capped at 700 tokens.","failureModes":["Invalid or unsupported model name returns error","max_tokens exceeds 700 cap causes rejection","Empty or malformed messages array returns 400","Payment failure or insufficient USDC balance causes 402 rejection","Rate limiting or GPU availability may cause timeout or 503","messages array exceeds 32 items returns validation error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call LLM inference API with no subscription, want to select from 15 specific open-source and proprietary models (Llama, DeepSeek, Qwen, GLM, GPT-OSS, Nemotron) via an OpenAI-compatible interface, or when operating in an agentic context that supports x402 micropayment flows. Prefer alternatives if you need longer outputs (>700 tokens), streaming responses, or function-calling capabilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:29.080Z","isFirstParty":false,"canonicalSlug":"taifoon-multi-model-chat-completions-7a60d552"}