{"uid":"cap_qjYiH-PQspqMrOuDynOtm","slug":"openai-gpt-5-5-long-context-chat-completions-via-mm-family-x402-c3626d07","name":"OpenAI GPT-5.5 Long Context Chat Completions (via mm.family x402)","description":"gpt-5.5-long: OpenAI GPT 5.5 (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 5.0/22.5, Standard 10.0/45.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-5.5-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-5.5-long/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["gpt-5.5-long","gpt-5.5-long:none","gpt-5.5-long:low","gpt-5.5-long:medium","gpt-5.5-long:high","gpt-5.5-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-5.5-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.001682","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.001682/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001682","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001682","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zyr9iFUiU4JF6ljO-o7Rp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001682","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI GPT-5.5 chat completions for prompts exceeding 272K input tokens, billed per call in USDC via the x402 payment protocol with configurable quality tiers.","exampleAgentPrompt":"Send this entire 400-page legal contract text to GPT-5.5 and ask it to identify all indemnification clauses — use the flex service tier and cap output at 2000 tokens.","exampleUseCases":[{"title":"Analyze a book-length codebase","prompt":"I've got the full source code of a large open-source project — it's well over 300K tokens. Feed it all to GPT-5.5 and ask it to explain the overall architecture and highlight any security vulnerabilities. Use the standard tier for best quality and allow up to 4000 output tokens."},{"title":"Summarize lengthy legal discovery documents","prompt":"I have 500 pages of legal deposition transcripts. Send them all to GPT-5.5 and ask it to produce a structured summary of key admissions and contradictions, using the flex tier and capping output at 3000 tokens."},{"title":"Multi-turn research assistant with large context","prompt":"I want to have a detailed conversation with GPT-5.5 where I've loaded in 50 academic papers as context. Start with the question: 'What are the most contested findings across these papers and where do they agree?' Use the high reasoning level and set max_tokens to 2500."}],"resultDescription":"Returns a JSON chat completion object matching the OpenAI API format, including the assistant's message content, role, finish reason, token usage breakdown (prompt, completion, total), model name, and service tier used. Empty responses when the model produces no output are free of charge.","failureModes":["Insufficient USDC balance or x402 payment failure results in 402 Payment Required","Prompt exceeds model context window limits even for long variant","max_tokens set too low causes truncated or empty responses","Invalid service_tier enum value causes request rejection","Streaming errors if network connection drops mid-response","Rate limiting if too many concurrent calls are made"],"whenToPreferThis":"Choose this endpoint when you need GPT-5.5 specifically for prompts exceeding 272K input tokens (book-length documents, large codebases, lengthy transcripts) and want to pay per call in USDC without a direct OpenAI subscription. Prefer it over the standard gpt-5.5 endpoint when your input context is very large, and use the flex tier for cost savings or standard tier for priority throughput. The x402 crypto-native payment model makes it ideal for autonomous agents that manage their own wallets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:45.871Z","isFirstParty":false,"canonicalSlug":"openai-gpt-5-5-long-context-chat-completions-via-mm-family-x402-c3626d07"}