{"uid":"cap_vS2aAhy5I1mBVbYPUiDf1","slug":"openai-gpt-6-1-sol-long-long-context-chat-completions-3e233cec","name":"OpenAI gpt-6.1-sol-long (Long-Context Chat Completions)","description":"gpt-6.1-sol-long: OpenAI GPT 6.1 Sol (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 2.0/7.5, Standard 4.0/15.0, Fast 8.0/30.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 gpt-6.1-sol-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-6.1-sol-long/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-6.1-sol-long","gpt-6.1-sol-long:low","gpt-6.1-sol-long:medium","gpt-6.1-sol-long:high","gpt-6.1-sol-long: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":"gpt-6.1-sol-long","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":"flex"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vAeCiaoFNsfmAV89Iuhr9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI GPT-6.1 Sol chat completions with >272K input token context, billed per call in USDC via x402 protocol","exampleAgentPrompt":"Using GPT-6.1 Sol long-context mode, summarize the following 300,000-token research corpus and give me a structured executive summary — use the flex service tier and cap the output at 2000 tokens.","exampleUseCases":[{"title":"Full codebase review with GPT-6.1","prompt":"I've pasted my entire monorepo — about 400K tokens of code. Use GPT-6.1 Sol long context with the standard service tier to review it for security vulnerabilities and give me a prioritized list, capped at 4000 output tokens."},{"title":"Book-length document Q&A","prompt":"Here's a 280,000-token legal contract. Ask GPT-6.1 Sol (long context, flex tier) to identify every indemnification clause and summarize each one clearly, with a max of 3000 tokens in the response."},{"title":"Multi-turn reasoning over massive context","prompt":"I want GPT-6.1 Sol at xhigh quality to read through this 350K-token clinical trial dataset and reason through which patient cohorts show statistically significant improvement — use the fast tier and limit output to 1500 tokens."}],"resultDescription":"A JSON chat.completion object containing the assistant's reply message, token usage breakdown (prompt, completion, total), finish reason (e.g. 'stop'), the model variant used, and the service tier that processed the request.","failureModes":["Insufficient USDC balance or failed x402 payment — returns 402 Payment Required","Input token count exceeds model maximum — returns 400 with token limit error","Invalid model variant or service_tier enum value — returns 400 validation error","max_tokens quota exceeded for the funded amount — call may be rejected before processing","Rate limiting on the mm.family proxy — returns 429 Too Many Requests","Model unavailable or upstream OpenAI outage — returns 503 or 500"],"whenToPreferThis":"Choose this endpoint when you need GPT-6.1 Sol with more than 272K tokens of input context and want per-call USDC micropayment billing without a standing OpenAI subscription. It is especially suited for agents that process book-length documents, large codebases, or long multi-turn histories, and need to pay only for what they use. If your input is under 272K tokens, the non-long sibling (gpt-6.1-sol) may be more cost-effective.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:00.324Z","isFirstParty":false,"canonicalSlug":"openai-gpt-6-1-sol-long-long-context-chat-completions-3e233cec"}