{"uid":"cap_eEDf4YomIKvA3qZZn09mN","slug":"citiview-gpt-oss-120b-chat-completions-87682631","name":"Citiview GPT-OSS 120B Chat Completions","description":"OpenAI-compatible chat completions on OpenAI gpt-oss-120b, the strongest open-weight OpenAI model, reasoning with tool calling. Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/gpt-oss and pay per token with x402 instead of an API key: $1.05 per million input and $2.25 per million output tokens, minimum $0.002 a call, at most $0.0185. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI","url":"https://agents.citiviewgroup.com/v1/gpt-oss/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-120b","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.006629","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006629/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006629","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006629","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c9xMUqPo-I9MgM8TVucuB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006629","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 using the gpt-oss-120b open-weight reasoning model with tool calling, streaming, and pay-per-request via x402 micropayments","exampleAgentPrompt":"Ask the gpt-oss-120b model: 'Explain the trade-offs between transformer and state-space models for long-context tasks' — use up to 1024 output tokens and keep temperature at 0.7.","exampleUseCases":[{"title":"Agentic reasoning with tool calling","prompt":"I need you to use the gpt-oss-120b model to reason through this multi-step math problem and call a calculator tool if needed: 'If a train travels 240 miles in 3 hours, then accelerates by 20%, how long does the remaining 180 miles take?' Give me up to 512 output tokens."},{"title":"Drop-in OpenAI SDK replacement","prompt":"Switch my OpenAI SDK base URL to the Citiview gpt-oss endpoint and send this prompt through it: 'Summarize the key differences between RAG and fine-tuning for enterprise AI.' I want the response streamed back with a max of 2048 tokens."},{"title":"Pay-per-request LLM for cost-sensitive agents","prompt":"Run this one-off prompt through the gpt-oss-120b model and pay with x402 instead of using an API key: 'Draft a concise product requirements document for a mobile note-taking app targeting students.' Set temperature to 0.5 and cap output at 800 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the model's generated message, optional tool call specifications, reasoning traces, and usage metadata. Streaming mode delivers incremental token chunks. Up to 4096 output tokens per call.","failureModes":["Payment failure if USDC balance is insufficient for x402 transaction","Prompt too long exceeding context window limits","Tool call schema malformed causing parse errors","Temperature or max_tokens out of valid range","Network timeout on long reasoning responses","Model unavailability or rate limiting on the upstream provider"],"whenToPreferThis":"Choose this endpoint when you need a powerful open-weight 120B reasoning model with tool calling and prefer pay-per-request x402 micropayment billing over subscription API keys. Ideal for agents that need OpenAI SDK compatibility without a fixed API key arrangement, or when cost-per-call transparency matters. Prefer over smaller models (like Llama 3.1 8B sibling) when task complexity demands stronger reasoning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-05T23:26:33.167Z","isFirstParty":false,"canonicalSlug":"citiview-gpt-oss-120b-chat-completions-87682631"}