{"openapi":"3.1.0","info":{"title":"OpenAI gpt-6.1-sol and 25 more models via openai.mm.family","version":"1.0.0","description":"gpt-6.1-sol (OpenAI's newest model) and 25 more OpenAI chat models (gpt-6, gpt-5.x, gpt-4.1, gpt-4o, o-series), paid per call in USDC. OpenAI token rates on Flex (half price, may answer 429; default where offered), Standard (service_tier default) or Fast (fast), plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. One endpoint per model: /x402/v1/models/<key>/chat/completions. Rates: https://openai.mm.family/x402/pricing. Payments are USDC on Base (eip155:8453) or Solana through the x402 protocol with PayAI as the facilitator.","x-guidance":"POST /x402/v1/chat/completions with a standard OpenAI chat-completions JSON body; pick model from GET /x402/v1/models. Each model has its own endpoint too: POST /x402/v1/models/<key>/chat/completions with the same body (model optional). The first unpaid call returns 402 with the exact USDC quote - pay via x402 and retry with the same body. The quote charges the input plus 10% of max_tokens as output; the model may use all of max_tokens. Tiers: omit service_tier for the model's default (Flex where available, else Standard); send default for Standard or fast for OpenAI Fast mode; GET /x402/v1/models lists each model's tiers. On reasoning models, temperature must be 1. Append :<level> to a model key to pin reasoning_effort, e.g. gpt-6-sol:high; levels per model are in GET /x402/v1/models. Reasoning tokens are billed as output and are spent before visible text: for short answers send max_tokens of at least 128, or use a low level (gpt-5-mini:minimal, otherwise :low); an answer with no visible output is not charged. Non-chat: POST /x402/v1/embeddings, /x402/v1/images/generations and /x402/v1/audio/speech with standard OpenAI bodies (per-model paths under /x402/v1/models/<key>/...); images need explicit size and quality; see modalities in GET /x402/pricing. See GET /x402/pricing for rates and rules.","contact":{"email":"maxime@mm.family"}},"servers":[{"url":"https://openai.mm.family"}],"paths":{"/x402/v1/chat/completions":{"post":{"operationId":"chatCompletions","summary":"Create a chat completion (x402 paid)","description":"Paid OpenAI chat completion. An unpaid POST returns 402 with payment instructions. GET and HEAD on this path return the same 402 quote as an unpaid POST of the probe body (no separate OpenAPI operations).","tags":["LLM","OpenAI"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"21.246275"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletionRequest"}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models":{"get":{"operationId":"listModels","summary":"List models and per-model pricing","security":[],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/x402/pricing":{"get":{"operationId":"getPricing","summary":"Pricing sheet and quote rules","security":[],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/x402/health":{"get":{"operationId":"getHealth","summary":"Door health and configuration snapshot","security":[],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/x402/v1/models/chat-latest/chat/completions":{"post":{"operationId":"chat_chat_latest","summary":"chat-latest chat completion (x402 paid)","description":"chat-latest: OpenAI Chat Latest chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 5.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. Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","chat-latest"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"2.674655"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["chat-latest"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-4.1/chat/completions":{"post":{"operationId":"chat_gpt_4_1","summary":"gpt-4.1 chat completion (x402 paid)","description":"gpt-4.1: OpenAI GPT 4.1 chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 2.0/8.0, Fast 3.5/14.0; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-4.1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"1.860939"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4.1"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-4.1-mini/chat/completions":{"post":{"operationId":"chat_gpt_4_1_mini","summary":"gpt-4.1-mini chat completion (x402 paid)","description":"gpt-4.1-mini: OpenAI GPT 4.1 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 0.4/1.6, Fast 0.7/2.8; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-4.1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.372588"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4.1-mini"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-4.1-nano/chat/completions":{"post":{"operationId":"chat_gpt_4_1_nano","summary":"gpt-4.1-nano chat completion (x402 paid)","description":"gpt-4.1-nano: OpenAI GPT 4.1 Nano chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 0.1/0.4, Fast 0.2/0.8; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-4.1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.106811"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4.1-nano"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-4o/chat/completions":{"post":{"operationId":"chat_gpt_4o","summary":"gpt-4o chat completion (x402 paid)","description":"gpt-4o: OpenAI GPT 4o chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 2.5/10.0, Fast 4.25/17.0; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-4o"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"2.259604"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4o"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-4o-mini/chat/completions":{"post":{"operationId":"chat_gpt_4o_mini","summary":"gpt-4o-mini chat completion (x402 paid)","description":"gpt-4o-mini: OpenAI GPT 4o Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 0.15/0.6, Fast 0.25/1.0; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-4o"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.133388"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4o-mini"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5/chat/completions":{"post":{"operationId":"chat_gpt_5","summary":"gpt-5 chat completion (x402 paid)","description":"gpt-5: OpenAI GPT 5 chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.625/5.0, Standard 1.25/10.0, Fast 2.5/20.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: minimal, low, medium, high (model gpt-5:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"1.345770"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5","gpt-5:minimal","gpt-5:low","gpt-5:medium","gpt-5:high"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5-mini/chat/completions":{"post":{"operationId":"chat_gpt_5_mini","summary":"gpt-5-mini chat completion (x402 paid)","description":"gpt-5-mini: OpenAI GPT 5 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.125/1.0, Standard 0.25/2.0, Fast 0.45/3.6; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Levels: minimal, low, medium, high (model gpt-5-mini:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.242649"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5-mini","gpt-5-mini:minimal","gpt-5-mini:low","gpt-5-mini:medium","gpt-5-mini:high"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5-nano/chat/completions":{"post":{"operationId":"chat_gpt_5_nano","summary":"gpt-5-nano chat completion (x402 paid)","description":"gpt-5-nano: OpenAI GPT 5 Nano chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.025/0.2, Standard 0.05/0.4; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Levels: minimal, low, medium, high (model gpt-5-nano:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.027405"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5-nano","gpt-5-nano:minimal","gpt-5-nano:low","gpt-5-nano:medium","gpt-5-nano:high"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.1/chat/completions":{"post":{"operationId":"chat_gpt_5_1","summary":"gpt-5.1 chat completion (x402 paid)","description":"gpt-5.1: OpenAI GPT 5.1 chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.625/5.0, Standard 1.25/10.0, Fast 2.5/20.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 (model gpt-5.1:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"1.345770"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.1","gpt-5.1:none","gpt-5.1:low","gpt-5.1:medium","gpt-5.1:high"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.2/chat/completions":{"post":{"operationId":"chat_gpt_5_2","summary":"gpt-5.2 chat completion (x402 paid)","description":"gpt-5.2: OpenAI GPT 5.2 chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.875/7.0, Standard 1.75/14.0, Fast 3.5/28.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.2:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.2"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"1.883878"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.2","gpt-5.2:none","gpt-5.2:low","gpt-5.2:medium","gpt-5.2:high","gpt-5.2:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.4/chat/completions":{"post":{"operationId":"chat_gpt_5_4","summary":"gpt-5.4 chat completion (x402 paid)","description":"gpt-5.4: OpenAI GPT 5.4 (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 1.25/7.5, Standard 2.5/15.0, Fast 5.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-5.4:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.4"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"2.662366"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.4","gpt-5.4:none","gpt-5.4:low","gpt-5.4:medium","gpt-5.4:high","gpt-5.4:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.4-long/chat/completions":{"post":{"operationId":"chat_gpt_5_4_long","summary":"gpt-5.4-long chat completion (x402 paid)","description":"gpt-5.4-long: OpenAI GPT 5.4 (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 2.5/11.25, Standard 5.0/22.5; 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.4-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.4"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"2.662366"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.4-long","gpt-5.4-long:none","gpt-5.4-long:low","gpt-5.4-long:medium","gpt-5.4-long:high","gpt-5.4-long:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.4-mini/chat/completions":{"post":{"operationId":"chat_gpt_5_4_mini","summary":"gpt-5.4-mini chat completion (x402 paid)","description":"gpt-5.4-mini: OpenAI GPT 5.4 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.375/2.25, Standard 0.75/4.5, Fast 1.5/9.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.4-mini:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.4"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.802746"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.4-mini","gpt-5.4-mini:none","gpt-5.4-mini:low","gpt-5.4-mini:medium","gpt-5.4-mini:high","gpt-5.4-mini:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.4-nano/chat/completions":{"post":{"operationId":"chat_gpt_5_4_nano","summary":"gpt-5.4-nano chat completion (x402 paid)","description":"gpt-5.4-nano: OpenAI GPT 5.4 Nano chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.1/0.625, Standard 0.2/1.25; 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.4-nano:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.4"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.107548"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.4-nano","gpt-5.4-nano:none","gpt-5.4-nano:low","gpt-5.4-nano:medium","gpt-5.4-nano:high","gpt-5.4-nano:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.5/chat/completions":{"post":{"operationId":"chat_gpt_5_5","summary":"gpt-5.5 chat completion (x402 paid)","description":"gpt-5.5: OpenAI GPT 5.5 (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 2.5/15.0, Standard 5.0/30.0, Fast 12.5/75.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:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.5"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"5.324232"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.5","gpt-5.5:none","gpt-5.5:low","gpt-5.5:medium","gpt-5.5:high","gpt-5.5:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.5-long/chat/completions":{"post":{"operationId":"chat_gpt_5_5_long","summary":"gpt-5.5-long chat completion (x402 paid)","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","tags":["LLM","OpenAI","gpt-5.5"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"5.324232"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","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"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.6-luna/chat/completions":{"post":{"operationId":"chat_gpt_5_6_luna","summary":"gpt-5.6-luna chat completion (x402 paid)","description":"gpt-5.6-luna: OpenAI GPT 5.6 Luna (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.1/0.6, Standard 0.2/1.2, Fast 0.4/2.4; 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.6-luna:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.426399"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.6-luna","gpt-5.6-luna:none","gpt-5.6-luna:low","gpt-5.6-luna:medium","gpt-5.6-luna:high","gpt-5.6-luna:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.6-luna-long/chat/completions":{"post":{"operationId":"chat_gpt_5_6_luna_long","summary":"gpt-5.6-luna-long chat completion (x402 paid)","description":"gpt-5.6-luna-long: OpenAI GPT 5.6 Luna (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.2/0.9, Standard 0.4/1.8, Fast 0.8/3.6; 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.6-luna-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.426399"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.6-luna-long","gpt-5.6-luna-long:none","gpt-5.6-luna-long:low","gpt-5.6-luna-long:medium","gpt-5.6-luna-long:high","gpt-5.6-luna-long:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.6-sol/chat/completions":{"post":{"operationId":"chat_gpt_5_6_sol","summary":"gpt-5.6-sol chat completion (x402 paid)","description":"gpt-5.6-sol: OpenAI GPT 5.6 Sol (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 2.0/10.0, Standard 4.0/20.0, Fast 8.0/40.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.6-sol:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"8.498810"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.6-sol","gpt-5.6-sol:none","gpt-5.6-sol:low","gpt-5.6-sol:medium","gpt-5.6-sol:high","gpt-5.6-sol:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.6-sol-long/chat/completions":{"post":{"operationId":"chat_gpt_5_6_sol_long","summary":"gpt-5.6-sol-long chat completion (x402 paid)","description":"gpt-5.6-sol-long: OpenAI GPT 5.6 Sol (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 4.0/15.0, Standard 8.0/30.0, Fast 16.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: none, low, medium, high, xhigh (model gpt-5.6-sol-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"8.498810"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.6-sol-long","gpt-5.6-sol-long:none","gpt-5.6-sol-long:low","gpt-5.6-sol-long:medium","gpt-5.6-sol-long:high","gpt-5.6-sol-long:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.6-terra/chat/completions":{"post":{"operationId":"chat_gpt_5_6_terra","summary":"gpt-5.6-terra chat completion (x402 paid)","description":"gpt-5.6-terra: OpenAI GPT 5.6 Terra (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 1.0/6.0, Standard 2.0/12.0, Fast 4.0/24.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.6-terra:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"4.259486"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.6-terra","gpt-5.6-terra:none","gpt-5.6-terra:low","gpt-5.6-terra:medium","gpt-5.6-terra:high","gpt-5.6-terra:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-5.6-terra-long/chat/completions":{"post":{"operationId":"chat_gpt_5_6_terra_long","summary":"gpt-5.6-terra-long chat completion (x402 paid)","description":"gpt-5.6-terra-long: OpenAI GPT 5.6 Terra (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 2.0/9.0, Standard 4.0/18.0, Fast 8.0/36.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.6-terra-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-5.6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"4.259486"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-5.6-terra-long","gpt-5.6-terra-long:none","gpt-5.6-terra-long:low","gpt-5.6-terra-long:medium","gpt-5.6-terra-long:high","gpt-5.6-terra-long:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6-astra/chat/completions":{"post":{"operationId":"chat_gpt_6_astra","summary":"gpt-6-astra chat completion (x402 paid)","description":"gpt-6-astra: OpenAI GPT 6 Astra (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 5.0/25.0, Standard 10.0/50.0, Fast 20.0/100.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-astra:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"21.246275"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6-astra","gpt-6-astra:low","gpt-6-astra:medium","gpt-6-astra:high","gpt-6-astra:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6-astra-long/chat/completions":{"post":{"operationId":"chat_gpt_6_astra_long","summary":"gpt-6-astra-long chat completion (x402 paid)","description":"gpt-6-astra-long: OpenAI GPT 6 Astra (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 10.0/37.5, Standard 20.0/75.0, Fast 40.0/150.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-astra-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"21.246275"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6-astra-long","gpt-6-astra-long:low","gpt-6-astra-long:medium","gpt-6-astra-long:high","gpt-6-astra-long:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6-luna/chat/completions":{"post":{"operationId":"chat_gpt_6_luna","summary":"gpt-6-luna chat completion (x402 paid)","description":"gpt-6-luna: OpenAI GPT 6 Luna (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.05/0.25, Standard 0.1/0.5, Fast 0.2/1.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-luna:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.212958"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6-luna","gpt-6-luna:none","gpt-6-luna:low","gpt-6-luna:medium","gpt-6-luna:high","gpt-6-luna:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6-luna-long/chat/completions":{"post":{"operationId":"chat_gpt_6_luna_long","summary":"gpt-6-luna-long chat completion (x402 paid)","description":"gpt-6-luna-long: OpenAI GPT 6 Luna (>272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.1/0.375, Standard 0.2/0.75, Fast 0.4/1.5; 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-luna-long:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.212958"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6-luna-long","gpt-6-luna-long:none","gpt-6-luna-long:low","gpt-6-luna-long:medium","gpt-6-luna-long:high","gpt-6-luna-long:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6-sol/chat/completions":{"post":{"operationId":"chat_gpt_6_sol","summary":"gpt-6-sol chat completion (x402 paid)","description":"gpt-6-sol: OpenAI GPT 6 Sol (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 1.0/5.0, Standard 2.0/10.0, Fast 4.0/20.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:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"4.249655"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6-sol","gpt-6-sol:none","gpt-6-sol:low","gpt-6-sol:medium","gpt-6-sol:high","gpt-6-sol:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6-sol-long/chat/completions":{"post":{"operationId":"chat_gpt_6_sol_long","summary":"gpt-6-sol-long chat completion (x402 paid)","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","tags":["LLM","OpenAI","gpt-6"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"4.249655"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","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"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6.1-sol/chat/completions":{"post":{"operationId":"chat_gpt_6_1_sol","summary":"gpt-6.1-sol chat completion (x402 paid)","description":"OpenAI's newest model. gpt-6.1-sol: OpenAI GPT 6.1 Sol (<=272K input tokens) chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 1.0/5.0, Standard 2.0/10.0, Fast 4.0/20.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:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","gpt-6.1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"4.249655"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6.1-sol","gpt-6.1-sol:low","gpt-6.1-sol:medium","gpt-6.1-sol:high","gpt-6.1-sol:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-6.1-sol-long/chat/completions":{"post":{"operationId":"chat_gpt_6_1_sol_long","summary":"gpt-6.1-sol-long chat completion (x402 paid)","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","tags":["LLM","OpenAI","gpt-6.1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"4.249655"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","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"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/o1/chat/completions":{"post":{"operationId":"chat_o1","summary":"o1 chat completion (x402 paid)","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","tags":["LLM","OpenAI","o1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"7.973810"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["o1","o1:low","o1:medium","o1:high","o1:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/o3/chat/completions":{"post":{"operationId":"chat_o3","summary":"o3 chat completion (x402 paid)","description":"o3: OpenAI o3 chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 1.0/4.0, Standard 2.0/8.0, Fast 3.5/14.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 o3:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","o3"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"1.860939"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["o3","o3:low","o3:medium","o3:high","o3:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/o3-mini/chat/completions":{"post":{"operationId":"chat_o3_mini","summary":"o3-mini chat completion (x402 paid)","description":"o3-mini: OpenAI o3 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 1.1/4.4; 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 o3-mini:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","o3-mini"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.585209"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["o3-mini","o3-mini:low","o3-mini:medium","o3-mini:high","o3-mini:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/o4-mini/chat/completions":{"post":{"operationId":"chat_o4_mini","summary":"o4-mini chat completion (x402 paid)","description":"o4-mini: OpenAI o4 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Flex (default) 0.55/2.2, Standard 1.1/4.4, Fast 2.0/8.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 o4-mini:<level>). Empty answers are free. Rates: https://openai.mm.family/x402/pricing","tags":["LLM","OpenAI","o4-mini"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"1.063608"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","enum":["o4-mini","o4-mini:low","o4-mini:medium","o4-mini:high","o4-mini:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["messages"]}}}},"responses":{"200":{"description":"Chat completion (JSON when stream is false or omitted; SSE when stream is true).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletion"},"example":{"id":"chatcmpl-x","object":"chat.completion","created":1,"model":"gpt-6-sol","service_tier":"flex","choices":[{"index":0,"message":{"role":"assistant","content":"Hello","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":8,"completion_tokens":1,"total_tokens":9}}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events (OpenAI stream format)."}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/embeddings":{"post":{"operationId":"embeddings","summary":"Create embeddings (x402 paid)","description":"OpenAI embeddings (text-embedding-3-large, text-embedding-3-small, text-embedding-ada-002), paid per call in USDC. OpenAI list $0.13 / $0.02 / $0.1 per 1M input tokens, plus $0.0005 (Base) or $0.0005 (Solana) per call; minimum $0.001 per call. Standard OpenAI body (model, input, dimensions, encoding_format). One endpoint per model: /x402/v1/models/<key>/embeddings. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","embeddings"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.020390"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["text-embedding-3-large","text-embedding-3-small","text-embedding-ada-002"]},"input":{"type":["string","array"]},"dimensions":{"type":"integer"},"encoding_format":{"type":"string","enum":["float","base64"]}},"required":["input","model"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/text-embedding-3-large/embeddings":{"post":{"operationId":"embeddings_text_embedding_3_large","summary":"text-embedding-3-large Create embeddings (x402 paid)","description":"text-embedding-3-large: OpenAI Text Embedding 3 Large embeddings, paid per call in USDC. OpenAI list $0.13 per 1M input tokens, plus $0.0005 (Base) or $0.0005 (Solana) per call; minimum $0.001 per call; up to 8192 tokens per input. Standard OpenAI body. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","embeddings","text-embedding"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.020390"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["text-embedding-3-large"]},"input":{"type":["string","array"]},"dimensions":{"type":"integer"},"encoding_format":{"type":"string","enum":["float","base64"]}},"required":["input"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/text-embedding-3-small/embeddings":{"post":{"operationId":"embeddings_text_embedding_3_small","summary":"text-embedding-3-small Create embeddings (x402 paid)","description":"text-embedding-3-small: OpenAI Text Embedding 3 Small embeddings, paid per call in USDC. OpenAI list $0.02 per 1M input tokens, plus $0.0005 (Base) or $0.0005 (Solana) per call; minimum $0.001 per call; up to 8192 tokens per input. Standard OpenAI body. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","embeddings","text-embedding"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.003560"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["text-embedding-3-small"]},"input":{"type":["string","array"]},"dimensions":{"type":"integer"},"encoding_format":{"type":"string","enum":["float","base64"]}},"required":["input"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/text-embedding-ada-002/embeddings":{"post":{"operationId":"embeddings_text_embedding_ada_002","summary":"text-embedding-ada-002 Create embeddings (x402 paid)","description":"text-embedding-ada-002: OpenAI Text Embedding Ada 002 embeddings, paid per call in USDC. OpenAI list $0.1 per 1M input tokens, plus $0.0005 (Base) or $0.0005 (Solana) per call; minimum $0.001 per call; up to 8192 tokens per input. Standard OpenAI body. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","embeddings","text-embedding"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.015800"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["text-embedding-ada-002"]},"input":{"type":["string","array"]},"dimensions":{"type":"integer"},"encoding_format":{"type":"string","enum":["float","base64"]}},"required":["input"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/images/generations":{"post":{"operationId":"image","summary":"Generate images (x402 paid)","description":"OpenAI image generation (gpt-image-2.5, gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini, chatgpt-image-latest), paid per call in USDC. OpenAI list rates per 1M image tokens (1024x1024 low = 196 tokens on gpt-image-2), plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. One endpoint per model: /x402/v1/models/<key>/images/generations. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["chatgpt-image-latest","gpt-image-1","gpt-image-1-mini","gpt-image-1.5","gpt-image-2","gpt-image-2.5-flare","gpt-image-2.5-sunburst"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt","model"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/chatgpt-image-latest/images/generations":{"post":{"operationId":"image_chatgpt_image_latest","summary":"chatgpt-image-latest Generate images (x402 paid)","description":"chatgpt-image-latest: OpenAI ChatGPT Image Latest image generation, paid per call in USDC. OpenAI list $32 per 1M image tokens (1024x1024: low 272, medium 1056, high 4160 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","chatgpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["chatgpt-image-latest"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-image-1/images/generations":{"post":{"operationId":"image_gpt_image_1","summary":"gpt-image-1 Generate images (x402 paid)","description":"gpt-image-1: OpenAI GPT Image 1 image generation, paid per call in USDC. OpenAI list $40 per 1M image tokens (1024x1024: low 272, medium 1056, high 4160 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","gpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-1"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-image-1-mini/images/generations":{"post":{"operationId":"image_gpt_image_1_mini","summary":"gpt-image-1-mini Generate images (x402 paid)","description":"gpt-image-1-mini: OpenAI GPT Image 1 Mini image generation, paid per call in USDC. OpenAI list $18.4 per 1M image tokens (1024x1024: low 272, medium 1056, high 4160 tokens), text in $2 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","gpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-1-mini"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-image-1.5/images/generations":{"post":{"operationId":"image_gpt_image_1_5","summary":"gpt-image-1.5 Generate images (x402 paid)","description":"gpt-image-1.5: OpenAI GPT Image 1.5 image generation, paid per call in USDC. OpenAI list $32 per 1M image tokens (1024x1024: low 272, medium 1056, high 4160 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","gpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-1.5"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-image-2/images/generations":{"post":{"operationId":"image_gpt_image_2","summary":"gpt-image-2 Generate images (x402 paid)","description":"gpt-image-2: OpenAI GPT Image 2 image generation, paid per call in USDC. OpenAI list $30 per 1M image tokens (1024x1024: low 196, medium 1756, high 7024 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","gpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-2"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-image-2.5-flare/images/generations":{"post":{"operationId":"image_gpt_image_2_5_flare","summary":"gpt-image-2.5-flare Generate images (x402 paid)","description":"gpt-image-2.5-flare: OpenAI GPT Image 2.5 Flare image generation, paid per call in USDC. OpenAI list $30 per 1M image tokens (1024x1024: low 196, medium 439, high 1756 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","gpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-2.5-flare"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-image-2.5-sunburst/images/generations":{"post":{"operationId":"image_gpt_image_2_5_sunburst","summary":"gpt-image-2.5-sunburst Generate images (x402 paid)","description":"gpt-image-2.5-sunburst: OpenAI GPT Image 2.5 Sunburst image generation, paid per call in USDC. OpenAI list $30 per 1M image tokens (1024x1024: low 196, medium 439, high 1756 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","image","gpt-image"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.250500"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-image-2.5-sunburst"]},"prompt":{"type":"string"},"n":{"type":"integer"},"size":{"type":"string"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max"]},"output_format":{"type":"string","enum":["png","jpeg","webp"]},"background":{"type":"string"},"moderation":{"type":"string","enum":["auto"]}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/audio/speech":{"post":{"operationId":"speech","summary":"Text to speech (x402 paid)","description":"OpenAI text to speech (gpt-4o-mini-tts, tts-1, tts-1-hd), paid per call in USDC. OpenAI list $15 / $30 per 1M characters (tts-1 / tts-1-hd) or $12 per 1M audio tokens (gpt-4o-mini-tts, quoted at 4 per character), plus $0.0005 (Base) or $0.0005 (Solana) per call; up to 4096 characters. Standard OpenAI body (input, voice, response_format, speed). Returns the audio bytes. One endpoint per model: /x402/v1/models/<key>/audio/speech. Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","speech"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.101311"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4o-mini-tts","tts-1","tts-1-hd"]},"input":{"type":"string"},"voice":{"type":"string"},"response_format":{"type":"string","enum":["mp3","opus","aac","flac","wav","pcm"]},"speed":{"type":"number"},"instructions":{"type":"string"}},"required":["input","voice","model"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"Audio bytes","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}},"audio/ogg":{"schema":{"type":"string","format":"binary"}},"audio/aac":{"schema":{"type":"string","format":"binary"}},"audio/flac":{"schema":{"type":"string","format":"binary"}},"audio/wav":{"schema":{"type":"string","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/gpt-4o-mini-tts/audio/speech":{"post":{"operationId":"speech_gpt_4o_mini_tts","summary":"gpt-4o-mini-tts Text to speech (x402 paid)","description":"gpt-4o-mini-tts: OpenAI GPT 4o Mini TTS text to speech, paid per call in USDC. OpenAI list $12 per 1M audio tokens (quoted at 4 per character) plus $0.6 per 1M text tokens, plus $0.0005 (Base) or $0.0005 (Solana) per call; up to 4096 characters; accepts instructions. Returns the audio bytes (mp3 by default). Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","speech","gpt-4o"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.101311"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-4o-mini-tts"]},"input":{"type":"string"},"voice":{"type":"string"},"response_format":{"type":"string","enum":["mp3","opus","aac","flac","wav","pcm"]},"speed":{"type":"number"},"instructions":{"type":"string"}},"required":["input","voice"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"Audio bytes","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}},"audio/ogg":{"schema":{"type":"string","format":"binary"}},"audio/aac":{"schema":{"type":"string","format":"binary"}},"audio/flac":{"schema":{"type":"string","format":"binary"}},"audio/wav":{"schema":{"type":"string","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/tts-1/audio/speech":{"post":{"operationId":"speech_tts_1","summary":"tts-1 Text to speech (x402 paid)","description":"tts-1: OpenAI TTS 1 text to speech, paid per call in USDC. OpenAI list $15 per 1M characters, plus $0.0005 (Base) or $0.0005 (Solana) per call; up to 4096 characters; voices: alloy, ash, coral, echo, fable, onyx, nova, sage, shimmer. Returns the audio bytes (mp3 by default). Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","speech","tts-1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.031220"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["tts-1"]},"input":{"type":"string"},"voice":{"type":"string","enum":["alloy","ash","coral","echo","fable","onyx","nova","sage","shimmer"]},"response_format":{"type":"string","enum":["mp3","opus","aac","flac","wav","pcm"]},"speed":{"type":"number"},"instructions":{"type":"string"}},"required":["input","voice"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"Audio bytes","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}},"audio/ogg":{"schema":{"type":"string","format":"binary"}},"audio/aac":{"schema":{"type":"string","format":"binary"}},"audio/flac":{"schema":{"type":"string","format":"binary"}},"audio/wav":{"schema":{"type":"string","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}},"/x402/v1/models/tts-1-hd/audio/speech":{"post":{"operationId":"speech_tts_1_hd","summary":"tts-1-hd Text to speech (x402 paid)","description":"tts-1-hd: OpenAI TTS 1 HD text to speech, paid per call in USDC. OpenAI list $30 per 1M characters, plus $0.0005 (Base) or $0.0005 (Solana) per call; up to 4096 characters; voices: alloy, ash, coral, echo, fable, onyx, nova, sage, shimmer. Returns the audio bytes (mp3 by default). Rates: https://openai.mm.family/x402/pricing","tags":["OpenAI","speech","tts-1"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001000","max":"0.061940"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"model":{"type":"string","enum":["tts-1-hd"]},"input":{"type":"string"},"voice":{"type":"string","enum":["alloy","ash","coral","echo","fable","onyx","nova","sage","shimmer"]},"response_format":{"type":"string","enum":["mp3","opus","aac","flac","wav","pcm"]},"speed":{"type":"number"},"instructions":{"type":"string"}},"required":["input","voice"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},"responses":{"200":{"description":"Audio bytes","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}},"audio/ogg":{"schema":{"type":"string","format":"binary"}},"audio/aac":{"schema":{"type":"string","format":"binary"}},"audio/flac":{"schema":{"type":"string","format":"binary"}},"audio/wav":{"schema":{"type":"string","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request"},"402":{"description":"Payment Required"},"429":{"description":"Rate limited or capacity short"},"503":{"description":"Facilitator or upstream unavailable"}}}}},"components":{"schemas":{"ChatMessage":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}},"required":["role","content"]},"ChatCompletionRequest":{"type":"object","properties":{"model":{"type":"string","enum":["gpt-6.1-sol","gpt-6.1-sol:low","gpt-6.1-sol:medium","gpt-6.1-sol:high","gpt-6.1-sol:xhigh","chat-latest","gpt-4.1","gpt-4.1-mini","gpt-4.1-nano","gpt-4o","gpt-4o-mini","gpt-5","gpt-5:minimal","gpt-5:low","gpt-5:medium","gpt-5:high","gpt-5-mini","gpt-5-mini:minimal","gpt-5-mini:low","gpt-5-mini:medium","gpt-5-mini:high","gpt-5-nano","gpt-5-nano:minimal","gpt-5-nano:low","gpt-5-nano:medium","gpt-5-nano:high","gpt-5.1","gpt-5.1:none","gpt-5.1:low","gpt-5.1:medium","gpt-5.1:high","gpt-5.2","gpt-5.2:none","gpt-5.2:low","gpt-5.2:medium","gpt-5.2:high","gpt-5.2:xhigh","gpt-5.4","gpt-5.4:none","gpt-5.4:low","gpt-5.4:medium","gpt-5.4:high","gpt-5.4:xhigh","gpt-5.4-long","gpt-5.4-long:none","gpt-5.4-long:low","gpt-5.4-long:medium","gpt-5.4-long:high","gpt-5.4-long:xhigh","gpt-5.4-mini","gpt-5.4-mini:none","gpt-5.4-mini:low","gpt-5.4-mini:medium","gpt-5.4-mini:high","gpt-5.4-mini:xhigh","gpt-5.4-nano","gpt-5.4-nano:none","gpt-5.4-nano:low","gpt-5.4-nano:medium","gpt-5.4-nano:high","gpt-5.4-nano:xhigh","gpt-5.5","gpt-5.5:none","gpt-5.5:low","gpt-5.5:medium","gpt-5.5:high","gpt-5.5:xhigh","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","gpt-5.6-luna","gpt-5.6-luna:none","gpt-5.6-luna:low","gpt-5.6-luna:medium","gpt-5.6-luna:high","gpt-5.6-luna:xhigh","gpt-5.6-luna-long","gpt-5.6-luna-long:none","gpt-5.6-luna-long:low","gpt-5.6-luna-long:medium","gpt-5.6-luna-long:high","gpt-5.6-luna-long:xhigh","gpt-5.6-sol","gpt-5.6-sol:none","gpt-5.6-sol:low","gpt-5.6-sol:medium","gpt-5.6-sol:high","gpt-5.6-sol:xhigh","gpt-5.6-sol-long","gpt-5.6-sol-long:none","gpt-5.6-sol-long:low","gpt-5.6-sol-long:medium","gpt-5.6-sol-long:high","gpt-5.6-sol-long:xhigh","gpt-5.6-terra","gpt-5.6-terra:none","gpt-5.6-terra:low","gpt-5.6-terra:medium","gpt-5.6-terra:high","gpt-5.6-terra:xhigh","gpt-5.6-terra-long","gpt-5.6-terra-long:none","gpt-5.6-terra-long:low","gpt-5.6-terra-long:medium","gpt-5.6-terra-long:high","gpt-5.6-terra-long:xhigh","gpt-6-astra","gpt-6-astra:low","gpt-6-astra:medium","gpt-6-astra:high","gpt-6-astra:xhigh","gpt-6-astra-long","gpt-6-astra-long:low","gpt-6-astra-long:medium","gpt-6-astra-long:high","gpt-6-astra-long:xhigh","gpt-6-luna","gpt-6-luna:none","gpt-6-luna:low","gpt-6-luna:medium","gpt-6-luna:high","gpt-6-luna:xhigh","gpt-6-luna-long","gpt-6-luna-long:none","gpt-6-luna-long:low","gpt-6-luna-long:medium","gpt-6-luna-long:high","gpt-6-luna-long:xhigh","gpt-6-sol","gpt-6-sol:none","gpt-6-sol:low","gpt-6-sol:medium","gpt-6-sol:high","gpt-6-sol:xhigh","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","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","o1","o1:low","o1:medium","o1:high","o1:xhigh","o3","o3:low","o3:medium","o3:high","o3:xhigh","o3-mini","o3-mini:low","o3-mini:medium","o3-mini:high","o3-mini:xhigh","o4-mini","o4-mini:low","o4-mini:medium","o4-mini:high","o4-mini:xhigh"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"max_tokens":{"type":"integer"},"max_completion_tokens":{"type":"integer"},"stream":{"type":"boolean"},"service_tier":{"type":"string","enum":["flex","default","standard","auto","fast","priority"]},"reasoning_effort":{"type":"string"},"tools":{"type":"array"},"tool_choice":{},"response_format":{"type":"object"},"temperature":{"type":"number"},"top_p":{"type":"number"},"seed":{"type":"integer"},"n":{"type":"integer"},"user":{"type":"string"},"stream_options":{"type":"object"},"parallel_tool_calls":{"type":"boolean"},"verbosity":{"type":"string"},"logprobs":{"type":"boolean"},"top_logprobs":{"type":"integer"},"safety_identifier":{"type":"string"},"prompt_cache_key":{"type":"string"},"metadata":{"type":"object"}},"required":["model","messages"]},"ChatCompletion":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"created":{"type":"integer"},"model":{"type":"string"},"service_tier":{"type":"string"},"choices":{"type":"array","items":{"type":"object"}},"usage":{"type":"object"}}}}}}