{"uid":"cap_yFzWBhJhYHc74nPgwwi2b","slug":"openai-gpt-6-sol-long-context-chat-completions-e02ee691","name":"OpenAI GPT-6 Sol Long Context Chat Completions","description":"gpt-6-sol-long: OpenAI GPT 6 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: none, low, medium, high, xhigh (model gpt-6-sol-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-6-sol-long/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-6-sol-long","gpt-6-sol-long:none","gpt-6-sol-long:low","gpt-6-sol-long:medium","gpt-6-sol-long:high","gpt-6-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-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_r9-5PLJ3ZkdjNA7be48hC","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 GPT-6 Sol chat completions for prompts exceeding 272K input tokens, billed per call in USDC via x402","exampleAgentPrompt":"Send this 400-page legal contract to GPT-6 Sol — use the 'gpt-6-sol-long' model with standard service tier, up to 4000 output tokens — and ask it to summarize the key obligations and flag any unusual clauses.","exampleUseCases":[{"title":"Codebase-wide refactoring advice","prompt":"Take this entire 300K-token Python monorepo and ask GPT-6 Sol Long (standard tier, max 2000 tokens output) to identify the top five architectural problems and suggest concrete refactoring steps."},{"title":"Long document legal analysis","prompt":"I have a 250-page merger agreement — run it through GPT-6 Sol long context model with flex tier and up to 3000 output tokens, and ask it to extract all indemnification clauses and rate their risk level."},{"title":"Multi-turn research assistant over large corpus","prompt":"I want to chat with GPT-6 Sol about this 500-page scientific literature dump; use the gpt-6-sol-long model at high reasoning level with fast tier and 1500 max tokens, and ask it what the most contested findings are across these papers."}],"resultDescription":"Returns a JSON chat completion object with the assistant's reply text, token usage breakdown (prompt, completion, total), finish reason (stop/length/etc.), chosen service tier, and a unique completion ID — following the standard OpenAI chat completions response format.","failureModes":["Insufficient USDC balance causes payment failure before generation begins","Prompt exceeding model's absolute maximum context window returns a 400 error","Invalid model variant string (not in enum) returns validation error","max_tokens too large relative to remaining context causes truncation or error","Empty prompt returns a free empty answer with no completion content","Network timeout on very long generations if streaming is not enabled","Invalid service_tier enum value causes request rejection"],"whenToPreferThis":"Choose this endpoint when your prompt exceeds 272K tokens and you need GPT-6 Sol's full capability — e.g. analyzing entire codebases, book-length documents, or very long multi-turn conversations. It is preferable over shorter-context GPT-6 variants when context length is the binding constraint, and over GPT-5 or GPT-4o when you need the highest reasoning quality available. Use flex tier for cost efficiency, standard for balanced throughput, or fast for latency-sensitive workloads. Ideal for agents that pay per-call via x402 USDC without needing an OpenAI account.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:47.755Z","isFirstParty":false,"canonicalSlug":"openai-gpt-6-sol-long-context-chat-completions-e02ee691"}