{"uid":"cap_r6X3TqVDNvjz2_jRadE5A","slug":"taifoon-coordination-layer-chat-completions-gpt-oss-120b-8a0f0bf2","name":"Taifoon Coordination Layer – Chat Completions (gpt-oss-120b)","description":"OpenAI-compatible chat completion on openai/gpt-oss-120b, served by DeepInfra (serverless inference) and sold by Taifoon at the provider's price plus a 20 % reseller cut: 0.0444 / 0.204 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/gpt-oss-120b?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.001512","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_1zGmrIa_e_iebY8C-kTSw","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":"Runs a pay-per-call OpenAI-compatible chat completion request against the gpt-oss-120b model (or any of 71 models) via Taifoon's x402-gated coordination layer.","exampleAgentPrompt":"Ask the gpt-oss-120b model: 'Explain the difference between RAG and fine-tuning in three paragraphs' — keep the response under 500 tokens.","exampleUseCases":[{"title":"Rapid LLM answer for agent pipeline","prompt":"Send this message to the 120b open-source model and give me the reply in under 400 tokens: 'Summarize the key risks of deploying LLMs in production systems.'"},{"title":"Low-cost reasoning for one-off queries","prompt":"I need a detailed step-by-step solution to this math problem using the gpt-oss-120b model, limit it to 600 tokens: 'How do I derive the quadratic formula from first principles?'"},{"title":"Automated content generation with micropayment","prompt":"Use the large open model to write a compelling two-paragraph product description for a noise-cancelling headphone aimed at remote workers — keep it under 700 tokens."}],"resultDescription":"A JSON chat completion object in OpenAI format containing: a unique completion ID, the model name used, the assistant's reply message, finish reason (e.g. 'stop'), and a usage block with prompt_tokens, completion_tokens, and total_tokens.","failureModes":["Missing or invalid x402 payment header returns 402 Payment Required with get_key instructions","No messages array or empty messages returns 400 Bad Request","max_tokens exceeds 700 returns validation error","Invalid model name may fall back to default (NVIDIA-Nemotron-3-Nano-4B-BF16) silently","More than 32 messages in the array returns 400","Network timeout if inference backend is overloaded"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call (no subscription), OpenAI-compatible chat completion from a large open-source model (up to 120B parameters) and want to pay via x402 USDC micropayment at $0.001 per call. Ideal for agent pipelines that need occasional LLM inference without committing to a monthly API plan, or when you specifically want access to open-weight models like gpt-oss-120b, Qwen, Gemma, or DeepSeek variants through a single unified API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:42:30.785Z","isFirstParty":false,"canonicalSlug":"taifoon-coordination-layer-chat-completions-gpt-oss-120b-8a0f0bf2"}