{"uid":"cap_dZ2URue7BFdb6CFOw8ZIO","slug":"linkrra-synap-gpt-oss-20b-chat-completions-2c291133","name":"Linkrra Synap: gpt-oss-20b Chat Completions","description":"Linkrra Synap: OpenAI gpt-oss-20b (model \"gpt-oss-20b\") - fast + cheap general model. OpenAI-compatible chat completions for this one model, 32K context, served only on dedicated GPUs we operate, native 4-bit MXFP4. Pay per call in USDC on Base via x402 - no account, no API key. From $0.001 per call, usage-priced per token above that (GET /v1/models). Streaming supported. Product site: https://synap.linkrra.com","url":"https://pool.linkrra.com/api/billing/x402/models/gpt-oss-20b/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-oss-20b"],"type":"string","description":"Optional: this endpoint always runs gpt-oss-20b."},"stream":{"type":"boolean","default":false,"description":"true = stream OpenAI-format Server-Sent Events."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"description":"Text, or an array of OpenAI content parts."}}},"examples":[[{"role":"user","content":"Write a Python function that reverses a string"}]],"minItems":1,"description":"OpenAI-format chat history, oldest first: [{role, content}]."},"max_tokens":{"type":"integer","default":4096,"maximum":4096,"minimum":1,"description":"Completion token cap. The price is quoted for the prompt plus this cap."}}},"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_-TWcNVOpJhf9PsctfoBo-","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":"Serves OpenAI-compatible chat completions for the gpt-oss-20b 20B-parameter model (native MXFP4) with 32K context, billed per-call in USDC on Base via x402 — no API key required.","exampleAgentPrompt":"Use the gpt-oss-20b model on Linkrra Synap to write me a Python function that parses a CSV file and returns the top 5 rows sorted by the 'revenue' column — stream the response back to me.","exampleUseCases":[{"title":"Keyless LLM call for agentic pipeline","prompt":"I need to call a fast, cheap LLM from inside my agent workflow without setting up an account — use Linkrra Synap's gpt-oss-20b to generate a one-paragraph product description for 'EcoBottle Pro', a reusable insulated water bottle."},{"title":"Streamed code generation on a budget","prompt":"Stream a response from the gpt-oss-20b model: write a JavaScript async function that fetches paginated results from a REST API and collects all pages into a single array."},{"title":"Crypto-native AI for on-chain app","prompt":"My app pays for API calls in USDC on Base — send a chat completion request to Linkrra Synap's gpt-oss-20b asking it to summarize the following user support ticket in two sentences: 'I placed an order three days ago and still haven't received a shipping confirmation, and the customer service chat bot isn't helping.'"}],"resultDescription":"Returns an OpenAI-format chat completion object containing the assistant's generated message, finish reason, and token usage counts. When streaming is enabled, returns OpenAI-compatible Server-Sent Events (SSE) chunks delivered incrementally. The model used is always gpt-oss-20b with up to 32K context and a configurable max_tokens cap (default 4096).","failureModes":["Insufficient USDC balance or failed x402 payment — request rejected before inference begins","max_tokens exceeds 4096 — validation error returned","messages array is empty or malformed — 422 validation error","Model overload or GPU unavailability — 503 or timeout","Streaming connection dropped mid-response — partial SSE output with no finish_reason"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost general-purpose LLM inference call with no account or API key setup, and your system supports x402 payment in USDC on Base. It is ideal for agentic pipelines that need pay-per-call billing, crypto-native apps, or prototyping scenarios where you want OpenAI-compatible chat completions without a subscription. Prefer it over heavier models (30B+) when latency and cost matter more than maximum capability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:39:44.149Z","isFirstParty":false,"canonicalSlug":"linkrra-synap-gpt-oss-20b-chat-completions-2c291133"}