# X402-NVIDIA NIM AI Models API – Streaming Chat Completions

> X402-NVIDIA NIM AI Models API – Streaming Chat Completions is a paid API for AI agents from x402-nvidia.vercel.app, paid per call via x402, $0.082553/call, status unknown (last checked 2026-09-13).

Streams AI chat completion responses from NVIDIA NIM models via x402 micropayment-gated API endpoint

## Facts

- Endpoint: POST https://x402-nvidia.vercel.app/api/streampetr
- Price: $0.082553/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-nvidia-nim-ai-models-api-streaming-chat-completions-e3ab9d1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eODf-_ZO6NWQd03O6C-uF

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 x402-nvidia-nim-ai-models-api-streaming-chat-completions-e3ab9d1d -d '<json body>'
```

Example prompt: Send a chat message to an NVIDIA NIM AI model asking 'What are the key differences between transformer and diffusion models?' and stream back the response — pay per call using x402.

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call access to NVIDIA NIM AI models (including vision, safety, and translation models) without managing subscriptions or API keys — ideal for agents that need cost-controlled, per-inference billing via x402 USDC micropayments and require streaming completions from NVIDIA-hosted models.

## Known failure modes

- Payment not included or insufficient USDC causes 402 Payment Required response
- Invalid or malformed choices array in request body causes 400 Bad Request
- Requested NVIDIA NIM model unavailable or quota exceeded causes 503 or 429 error
- Network timeout if streaming response takes too long
- Missing required message fields causes parsing error

## How this service works

Access 48+ NVIDIA NIM AI models via x402 micropayments. Chat completions, vision, safety, translation, and more.

## Output

A streaming JSON response containing an array of choices, each with an assistant message including role and content fields — the generated AI model reply to the submitted prompt.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "choices": [
   {
    "message": {
     "role": "assistant",
     "content": "Hello!"
    }
   }
  ]
 },
 "properties": {
  "choices": {
   "type": "array",
   "description": "Model responses"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-nvidia-nim-ai-models-api-streaming-chat-completions-e3ab9d1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-nvidia.vercel.app](https://www.zero.xyz/host/x402-nvidia.vercel.app/llms.txt)
