{"uid":"cap_Zwl4eAxPzo-xwb5TJi2A0","slug":"omniprovider-chat-completion-small-tier-cdb09aaf","name":"OmniProvider Chat Completion (Small Tier)","description":"Pay-per-call LLM chat completions and cited briefs, served via an upstream provider. MPP (Tempo USDC.e) on /v1/*, x402 v2 (Base USDC) on /x402/*. Charged only after the result is produced. /v1/chat/completions is an OpenAI-style chat completion over a multi-model catalog served via an upstream provider (JSON, or Server-Sent Events with stream:true; function tools on models whose card says capabilities.tools). Prepaid token packages are sold under /v1/packages. Restricted-access models (card field access: aup): Restricted-access models are open-weight models with their built-in refusals removed or reduced. Adults only (18+): a paid request carries the header X-Omni-Aup-Accept: 18+. Not permitted: sexual content involving minors; weapons capable of mass harm and explosives; malware, phishing and credential theft; instructions for self-harm; violence and terrorism; fraud; anything unlawful. Prompts and outputs are screened by an automated first-line filter: a matching prompt is refused before payment (400, not charged), a matching output is withheld (422, not charged). Hashes of refused requests are kept for abuse handling and repeat violations are blocked by client address. Per-call payment only (x402 or MPP), no prepaid packages, no streaming, lower daily limits than the main catalog. Policy: https://provider.omnidev.tech/docs/restricted","url":"https://pay.omnidev.tech/x402/chat-small?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["auto","llama-3.1-8b","kimi-k3"],"type":"string","description":"auto selects the tier model."},"prompt":{"type":"string","description":"Shorthand for one user message; used when messages is absent."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","developer","user","assistant"],"type":"string"},"content":{"type":"string","description":"Message text."}},"additionalProperties":false},"maxItems":64,"minItems":1,"description":"Conversation, oldest first."},"max_tokens":{"type":"integer","maximum":1024,"minimum":1,"description":"Upper bound on output tokens."}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"id":"chatcmpl-example","model":"auto","usage":{"total_tokens":42,"prompt_tokens":18,"completion_tokens":24},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"A server answers 402 with payment requirements, the client signs a payment, and the server settles it after serving."},"finish_reason":"stop"}]},"settled":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xlx3uz9hPNcsDml51Gbve","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call LLM chat completion on the small tier, supporting up to 8000 input and 1024 output tokens at $0.008 USDC per call on Base, with idempotent retry via client nonce.","exampleAgentPrompt":"Using the small-tier model (auto-select), answer this in up to 500 tokens: 'What are the three most important factors to consider when evaluating a startup investment?'","exampleUseCases":[{"title":"Quick factual Q&A for an agent","prompt":"Ask the small LLM tier to explain the difference between REST and GraphQL in plain English, using auto model selection and no more than 300 tokens."},{"title":"Lightweight code snippet generation","prompt":"Have the small-tier model write a Python function that sorts a list of dictionaries by a given key — use llama-3.1-8b and cap the output at 512 tokens."},{"title":"Summarize a customer message","prompt":"I got a long complaint from a customer about a delayed shipment; use the small model to summarize it in 2 sentences so I can triage it quickly — keep it under 200 tokens."}],"resultDescription":"A single assistant message as a text completion, generated by the selected small-tier model (auto, llama-3.1-8b, or kimi-k3), up to 1024 output tokens. Payment of 0.008 USDC on Base settles after the response is produced. Retrying with the same client nonce header avoids a duplicate charge.","failureModes":["Insufficient USDC balance or payment failure — request rejected before inference","Input exceeds 8000 token limit — request rejected with token limit error","max_tokens set above 1024 — schema validation error","Neither prompt nor messages provided — missing required field error","Invalid model enum value — schema validation error","Network timeout before response delivered — retry with same nonce is free"],"whenToPreferThis":"Choose this endpoint when you need a single chat completion at low cost ($0.008 USDC) and your context fits within 8000 input tokens. Prefer this over the nano tier when you need slightly more capability or a larger context; prefer it over the large/research tiers when cost matters more than maximum intelligence. Ideal for high-volume agentic workflows where many small LLM calls are made per session and a subscription model is undesirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:30:12.896Z","isFirstParty":false,"canonicalSlug":"omniprovider-chat-completion-small-tier-cdb09aaf"}