{"uid":"cap_gU6-M3OFQakH-fzWPr68x","slug":"agent-hub-gpt-oss-120b-chat-completions-openai-compatible-a5074e84","name":"Agent Hub – GPT-OSS-120B Chat Completions (OpenAI-Compatible)","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.torbrooknews.com/v1/gpt-oss and pay $0.006 per request with x402 instead of an API key. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported), up to 4096 output tokens. Also callable as GET with the same fields as query parameters.","url":"https://agents.torbrooknews.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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CgTiv6Fo2XLDGqVukQeTM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions on GPT-OSS-120B, a large open-weight reasoning model with tool calling and streaming, billed per-request via x402 micropayments.","exampleAgentPrompt":"Using the 120B reasoning model, figure out the best multi-step strategy for migrating a monolithic Node.js app to microservices — think through the trade-offs carefully and call any tools you need.","exampleUseCases":[{"title":"Complex multi-step reasoning task","prompt":"I need the biggest, smartest open-weight model to reason through this legal contract clause and tell me what risks it poses for a software vendor — here's the clause: 'Vendor shall indemnify Buyer for any third-party IP claims arising from Vendor's software.'"},{"title":"Agentic tool-calling pipeline","prompt":"Use the 120B reasoning model to analyze my sales data summary and call a calculator tool to project Q4 revenue growth if we grow at 12% month-over-month from a $500k baseline."},{"title":"Pay-per-use LLM without API key","prompt":"I don't have an OpenAI API key but I want to run a tough reasoning prompt — use the GPT-OSS-120B endpoint that takes x402 micropayments and ask it: what are the top five failure modes of distributed consensus algorithms?"}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing an assistant message, optional tool calls, and reasoning traces. Supports streaming responses. Output is capped at 4096 tokens per request.","failureModes":["Prompt missing or empty — 400 bad request","Payment not provided or x402 handshake fails — 402 Payment Required","Model overloaded or unavailable — 503 Service Unavailable","Output truncated at 4096 token limit if prompt+completion exceeds context","Invalid temperature or max_tokens value — 422 Unprocessable Entity","Streaming connection dropped mid-response"],"whenToPreferThis":"Choose this endpoint when you need the largest, most capable open-weight OpenAI model (120B) with full tool-calling and reasoning support, especially when you want OpenAI SDK compatibility without an OpenAI API key, or when per-request micropayment billing via x402 is preferred over a subscription. Prefer this over the 20B sibling when task complexity demands deeper reasoning or more nuanced multi-step outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:41.901Z","isFirstParty":false,"canonicalSlug":"agent-hub-gpt-oss-120b-chat-completions-openai-compatible-a5074e84"}