{"uid":"cap_Hu4Q32ZA-iyIfSQ1Teoak","slug":"citiview-gpt-oss-20b-chat-completions-3ed6e894","name":"Citiview GPT-OSS-20B Chat Completions","description":"Citiview Agent Market: 211 pay-per-call tools for AI agents. Cited answers, deep research, agent memory, file hosting, webhooks, schedules, sanctions and link safety checks, OpenAI-compatible LLMs on 11 models, web search, scraping, PDF, OCR, speech, Solana and EVM token risk, DeFi, prediction odds, SEC data. Pay per call in USDC with x402. No key, no signup.","url":"https://agents.citiviewgroup.com/v1/gpt-oss-20b/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User message"},"system":{"type":"string","description":"Optional system message"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"gpt-oss-20b","usage":{"total_tokens":18,"prompt_tokens":14,"completion_tokens":4},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Bonjour !"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003856","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.003856/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003856","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003856","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GSgt_-A43vrhdXOgKlwFY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003856","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completions via a pay-per-request open-weight reasoning model with tool calling and streaming support","exampleAgentPrompt":"Ask the GPT-OSS-20B reasoning model: 'What are the key tradeoffs between microservices and monolithic architectures?' — use a system message saying 'You are a senior software architect' and keep the response under 512 tokens.","exampleUseCases":[{"title":"Open-weight LLM for agent reasoning","prompt":"Use the open-weight reasoning model to think through this problem step by step: I have a dataset of 10,000 customer orders and want to reduce churn — what are the top 3 analytical approaches I should consider? Keep the answer concise, under 300 tokens."},{"title":"Tool-calling without API key","prompt":"I need to call a chat completions endpoint that supports tool calling but I don't want to sign up for an API key — just pay per request. Send this prompt to the GPT-OSS-20B model: 'Extract the company name, date, and total amount from this invoice text: Acme Corp, Invoice #1042, Dec 3 2024, $4,750.'"},{"title":"Drop-in OpenAI SDK replacement","prompt":"My agent is already using the OpenAI SDK but I want to switch to a pay-per-use open-weight model with no subscription. Point the base URL at the GPT-OSS-20B endpoint and ask it: 'Summarize the following meeting notes in 5 bullet points' with temperature 0.3."}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the model's generated response text, up to 4096 output tokens, and optionally tool call payloads or streamed chunks if streaming is enabled.","failureModes":["Missing required 'prompt' query parameter returns a 400 error","Payment failure or insufficient USDC balance returns a 402 Payment Required","Prompt exceeds model context window returns a 400 or 413 error","Invalid temperature or max_tokens values may return a 422 validation error","Model overload or timeout may return a 503 or 504 error","Streaming connection drops mid-response can leave incomplete output"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible chat completions on a pay-per-request basis without API key registration, especially when using the OpenAI SDK and wanting to swap in an open-weight reasoning model with tool calling. Prefer it over managed OpenAI when you want per-call micropayments via x402 USDC, no subscription commitment, or access to an open-weight model with comparable interface semantics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:48:38.717Z","isFirstParty":false,"canonicalSlug":"citiview-gpt-oss-20b-chat-completions-3ed6e894"}