{"uid":"cap_0Wfxg8gzP0A80H0fenakn","slug":"taifoon-inkling-small-chat-completion-bc296586","name":"Taifoon Inkling-Small Chat Completion","description":"OpenAI-compatible chat completion on thinkingmachines/Inkling-Small, served by DeepInfra (serverless inference) and sold by Taifoon at the provider's price plus a 20 % reseller cut: 0.54 / 1.44 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/inkling-small?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_5ILFToQDFanviKx9Skna1","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":"Serves OpenAI-compatible chat completions via a pay-per-call x402 micropayment gateway, defaulting to a small model with access to 71 selectable LLMs","exampleAgentPrompt":"Using the Taifoon inkling-small endpoint, send this conversation to the phi-4 model and get a response — system: 'You are a helpful assistant', user: 'What is the capital of France?', and limit the reply to 200 tokens.","exampleUseCases":[{"title":"Quick LLM answer via micropayment","prompt":"Ask the Taifoon chat endpoint using the gemma-3-12b-it model: 'Explain the difference between supervised and unsupervised learning in two sentences.' Limit the response to 150 tokens."},{"title":"Multi-turn assistant conversation","prompt":"Send a two-message conversation to the Taifoon inkling-small API — first message is 'You are a Python expert' as system, then my question 'How do I read a CSV file with pandas?' — use qwen2.5-7b-instruct and cap it at 300 tokens."},{"title":"Cheap batch reasoning with small model","prompt":"I need to run a quick math check through Taifoon: send the user message '17 times 24 equals what? Show your working.' to the default small model with max 100 tokens."}],"resultDescription":"A JSON chat completion object in OpenAI format containing the assistant's reply text, the model name used, prompt/completion/total token counts, a finish_reason (e.g. 'stop'), a unique completion ID, and a creation timestamp.","failureModes":["Missing or invalid x402 payment header returns 402 Payment Required","Exceeding max_tokens of 700 returns validation error","Invalid model name not in the 71-model list returns 400","Message array empty or exceeding 32 items returns 400","Underlying model provider outage causes 503 or timeout","No API key returns 200 with get_key guidance instead of blocking"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call OpenAI-compatible chat completion without a subscription, especially if you want to pay in USDC via x402 micropayments. Ideal for agents making sporadic LLM calls, testing multiple small models, or operating in environments where subscription-based APIs are impractical. Prefer this over hosted OpenAI or Anthropic when you need crypto-native pay-as-you-go inference at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:49:07.663Z","isFirstParty":false,"canonicalSlug":"taifoon-inkling-small-chat-completion-bc296586"}