# OpenAI GPT-4.1 Nano Chat Completions (x402/USDC)

> OpenAI GPT-4.1 Nano Chat Completions (x402/USDC) 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).

Runs GPT-4.1 Nano chat completions via a pay-per-call x402 USDC micropayment gateway, billed at $0.10/$0.40 per 1M tokens in/out (standard tier)

## Facts

- Endpoint: POST https://openai.mm.family/x402/v1/models/gpt-4.1-nano/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-4-1-nano-chat-completions-x402-usdc-234fd66d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bKXt6nTMBXLga1eJ_VnCX

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-4-1-nano-chat-completions-x402-usdc-234fd66d -d '<json body>'
```

Example prompt: Using the GPT-4.1 Nano model on the standard service tier, summarize the following support ticket in 3 bullet points, keeping the answer under 200 tokens: 'Customer reports the mobile app crashes on login after the latest update, affecting iOS 17 devices only.'

## When to prefer this

Choose this endpoint when you need the lowest-cost OpenAI chat model with per-call USDC micropayment billing via x402, particularly for high-volume, short-context tasks like classification, summarization, or Q&A where GPT-4.1 Nano's smaller size is sufficient. Prefer this over sibling endpoints (gpt-4o, gpt-5) when budget is the primary constraint and task complexity is low. Use the 'fast' service tier when latency matters more than cost.

## Known failure modes

- Payment failure if USDC balance is insufficient for the quoted call cost
- Context length exceeded if messages plus max_tokens surpasses model limits
- Empty/null response returned if the model produces no content (charged $0)
- Invalid service_tier enum value returns a 400 error
- Malformed messages array (missing role or content) causes a validation error
- Rate limiting or capacity errors under high load

## How this service works

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

## Output

Returns a JSON chat completion object containing the assistant's reply text, token usage breakdown (prompt, completion, total tokens), finish reason (e.g. 'stop'), model name, service tier used, and a unique completion ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "gpt-4.1-nano"
   ],
   "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-4.1-nano",
  "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": "default"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openai-gpt-4-1-nano-chat-completions-x402-usdc-234fd66d/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)
