{"uid":"cap_T2t49tzGVZZ1X7MV1oLGm","slug":"openai-o1-chat-completions-x402-usdc-8ef04ee6","name":"OpenAI o1 Chat Completions (x402 USDC)","description":"o1: OpenAI o1 chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 15.0/60.0; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Levels: low, medium, high, xhigh (model o1:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/o1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["o1","o1:low","o1:medium","o1:high","o1:xhigh"],"type":"string"},"tools":{"type":"array"},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer"},"service_tier":{"enum":["flex","default","standard","auto","fast","priority"],"type":"string"},"response_format":{"type":"object"},"reasoning_effort":{"type":"string"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-x","model":"o1","usage":{"total_tokens":9,"prompt_tokens":8,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"service_tier":"default"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003658","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.003658/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003658","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003658","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TQF6Enpfe3kyWVggtnUSq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003658","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI o1 reasoning model chat completions with per-call USDC micropayment billing via x402 protocol","exampleAgentPrompt":"Use the o1 model at high reasoning level to solve this multi-step logic puzzle: 'A farmer has 3 fields, each yielding different crops — work out the optimal rotation to maximize yield over 4 seasons' — allow up to 2000 tokens for the answer.","exampleUseCases":[{"title":"Complex math problem solving","prompt":"Use the o1 model at xhigh reasoning to prove whether this number theory conjecture holds for all integers up to 10,000 — give me a step-by-step proof or counterexample, allow up to 4000 tokens."},{"title":"Code debugging with deep reasoning","prompt":"Run o1 at high reasoning effort to find the bug in this Python recursive function and explain why it causes a stack overflow — I'll paste the code, keep response under 1500 tokens."},{"title":"Cost-efficient o1 draft generation","prompt":"Use the o1 model at low reasoning to quickly draft a short executive summary (max 500 tokens) of this business proposal: 'Launching a subscription pet food service targeting urban millennials in NYC'."}],"resultDescription":"Returns a JSON chat completion object containing the assistant's generated message content, token usage breakdown (prompt, completion, total), finish reason, model name, service tier, and a unique completion ID. Empty/refused responses are not billed.","failureModes":["Insufficient USDC balance causes payment failure before inference runs","max_tokens too low for o1 reasoning traces, resulting in truncated or empty response (not billed if empty)","Invalid model enum value returns 400 bad request","Streaming not supported by all service tiers, may return error","Rate limits or service tier unavailability may return 429 or 503","Reasoning effort string unrecognized may be silently ignored or error"],"whenToPreferThis":"Choose this endpoint when you specifically need OpenAI's o1 reasoning model — known for chain-of-thought reasoning on hard math, coding, and logic tasks — and want per-call USDC micropayment billing without a subscription. Prefer over other models on this gateway when the task requires deep deliberative reasoning (use o1:high or o1:xhigh) or when cost control matters (o1:low). Prefer over OpenAI's native API when paying per-call in USDC via x402 is required for an autonomous agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:20.082Z","isFirstParty":false,"canonicalSlug":"openai-o1-chat-completions-x402-usdc-8ef04ee6"}