{"uid":"cap_7qYMiCPG85TQ0rtTWGVDz","slug":"agent402-ox-alpha-chat-completions-9a6668d5","name":"Agent402 Ox Alpha Chat Completions","description":"OpenAI-compatible chat completions served by Ox Alpha (stealth/ox-alpha), a reasoning model with a 1,048,576-token context window. FREE TO USE while the model's own upstream is free: add ?trial=1 and no wallet, key or signup is needed (a per-client allowance, and the response says how much is left). $0.002 per call in USDC over x402 when you want it without an allowance. The model is locked to this route (sending a different model returns a 400 naming its tier).","url":"https://agent402.tools/v1/ox/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional - locked to stealth/ox-alpha; any other value is a 400 naming the tier that serves it."},"messages":{"type":"array","description":"OpenAI chat messages: [{role, content}] - text and image_url content blocks supported"},"reasoning":{"type":"object","description":"Optional - {effort: \"low\"|\"high\"|\"max\"}. Defaults to \"low\" so the budget is not spent thinking. This model always reasons; \"none\"/\"minimal\"/\"medium\" are not supported by it."},"max_tokens":{"type":"number","description":"Output token cap (default 4096, floor 1024, tier maximum 8000). Reasoning tokens count against it, which is why the floor exists."},"cache_control":{"description":"Optional - prompt caching preference. Default ON ({type:\"ephemeral\"}, 5-minute TTL): repeated prefixes across your turns are served from the provider cache (same price to you). Send false to disable. ttl:\"1h\" is not offered."},"max_completion_tokens":{"type":"integer","description":"Optional - alias of max_tokens (newer OpenAI SDKs send this)."}}},"responseSchema":{"type":"json","example":{"id":"gen-…","model":"stealth/ox-alpha","usage":{"total_tokens":13,"prompt_tokens":12,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1750000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g5n1cQaabGGT0ZNxF55OM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 using the Ox Alpha reasoning model with a 1M-token context window, payable per-call via x402 USDC or free with a trial allowance.","exampleAgentPrompt":"Use the Ox Alpha reasoning model to work through this problem step by step with high reasoning effort: given a list of 50 tasks with dependencies and deadlines, produce an optimal execution order that minimizes total latency — I need the full reasoning trace.","exampleUseCases":[{"title":"Free trial reasoning on a logic puzzle","prompt":"I want to try the Ox Alpha reasoning model for free — use the trial allowance and ask it to solve this logic puzzle with low reasoning effort: five people live in five houses, each a different color, and I need to figure out who owns the fish."},{"title":"Long-document analysis with 1M context","prompt":"Feed this entire 800-page legal contract to Ox Alpha and ask it to identify every clause that creates indemnification obligations — use high reasoning effort and a 8000 token output cap."},{"title":"Agent paying per-call via USDC x402","prompt":"Send a chat completion request to Ox Alpha via x402, paying $0.002 USDC per call, asking it to generate a detailed technical architecture for a distributed caching system — use max reasoning effort."}],"resultDescription":"An OpenAI-compatible chat completion response containing the assistant's message, token usage statistics (prompt, completion, reasoning tokens), and a field indicating remaining trial allowance if the trial parameter was used. The response follows the standard OpenAI ChatCompletion object format.","failureModes":["400 error if a model name other than stealth/ox-alpha is specified, naming which tier handles that model","402 Payment Required if trial allowance is exhausted and no x402 payment header is present","Request rejected if reasoning effort 'none', 'minimal', or 'medium' is specified (not supported by this model)","max_tokens below the floor of 1024 may be rejected or clamped","Token limit exceeded if combined prompt and reasoning tokens exceed 1,048,576"],"whenToPreferThis":"Choose this endpoint when you need a powerful reasoning model accessible via the standard OpenAI chat completions API format without account signup (using the trial allowance) or with per-call USDC micropayments via x402. It is ideal for agents that need a large 1M-token context window, want to avoid subscription commitments, or are operating in a pay-per-use x402 payment flow. Prefer it over standard OpenAI or Anthropic endpoints when you want zero-signup trial access or crypto-native per-call billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:31.160Z","isFirstParty":false}