# OpenAI GPT-5.2 Chat Completions (x402)

> OpenAI GPT-5.2 Chat Completions (x402) is a paid API for AI agents from openai.mm.family, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Provides OpenAI GPT-5.2 chat completions via pay-per-call USDC billing with configurable service tiers (Flex, Standard, Fast) and reasoning levels.

## Facts

- Endpoint: POST https://openai.mm.family/x402/v1/models/gpt-5.2/chat/completions?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openai-gpt-5-2-chat-completions-x402-b6c7bc0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PIb55GN2P1KVG0Ooy8fbF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openai-gpt-5-2-chat-completions-x402-b6c7bc0a -d '<json body>'
```

Example prompt: Using GPT-5.2 on the fast service tier, answer the following question with up to 500 tokens: 'What are the key differences between transformer and diffusion architectures in AI?'

## When to prefer this

Choose this endpoint when you need GPT-5.2 specifically (as opposed to GPT-4.1 or o3) and want per-call USDC micropayment billing without a subscription. Particularly useful for agents that pay only when invoked, need flexible tier selection (flex for cost, fast for latency), or operate on crypto-native payment rails via x402. Prefer over competitors when you want the latest OpenAI model with transparent per-token pricing and no monthly commitment.

## Known failure modes

- Insufficient USDC balance — payment fails and request is rejected
- max_tokens quota exceeded or invalid — 400 error
- Invalid model variant specified — 400 validation error
- Service tier unavailable or invalid enum value — 400 error
- Rate limiting at the gateway level — 429 response
- Network timeout on fast/standard tier — timeout error
- Streaming not supported in all client configurations

## How this service works

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

## Output

Returns a JSON chat completion object with an assistant message, finish reason, token usage breakdown (prompt, completion, total), model name, and service tier used. Empty responses are free of charge. The response mirrors the OpenAI chat completions response format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "gpt-5.2",
    "gpt-5.2:none",
    "gpt-5.2:low",
    "gpt-5.2:medium",
    "gpt-5.2:high",
    "gpt-5.2:xhigh"
   ],
   "type": "string"
  },
  "tools": {
   "type": "array"
  },
  "stream": {
   "type": "boolean"
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   }
  },
  "max_tokens": {
   "type": "integer"
  },
  "service_tier": {
   "enum": [
    "flex",
    "default",
    "standard",
    "auto",
    "fast",
    "priority"
   ],
   "type": "string"
  },
  "response_format": {
   "type": "object"
  },
  "reasoning_effort": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-x",
  "model": "gpt-5.2",
  "usage": {
   "total_tokens": 9,
   "prompt_tokens": 8,
   "completion_tokens": 1
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello",
     "refusal": null
    },
    "finish_reason": "stop"
   }
  ],
  "service_tier": "flex"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openai-gpt-5-2-chat-completions-x402-b6c7bc0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openai.mm.family](https://www.zero.xyz/host/openai.mm.family/llms.txt)
