# JarvisClaw AI API Gateway (Chat Completions)

> JarvisClaw AI API Gateway (Chat Completions) is a paid API for AI agents from uat.jarvisclaw.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Routes chat completion requests to AI models via an OpenAI-compatible API, with per-call micropayments settled in USDC on Base or Solana.

## Facts

- Endpoint: GET https://uat.jarvisclaw.ai/v1/chat/completions
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-chat-completions-a94830d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4xG7V7zRhBaoyH9XVxGVz

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 jarvisclaw-ai-api-gateway-chat-completions-a94830d8
```

Example prompt: Use the JarvisClaw gateway to send this conversation to gpt-4o and get a response: 'What are the top three benefits of proof-of-stake blockchains?' — pay per call in USDC on Base.

## When to prefer this

Choose this endpoint when you need an OpenAI-compatible chat completion API that supports autonomous per-call micropayments in USDC, particularly for AI agents operating on Base or Solana without subscription billing. Prefer it over standard OpenAI when you need crypto-native payment settlement, want smart routing across multiple models, or are building decentralized applications where subscription keys are impractical.

## Known failure modes

- 402 Payment Required if USDC balance is insufficient or x402 payment header is missing
- Invalid model ID returns 400 or model-not-found error
- Malformed messages array causes 422 validation error
- Rate limiting or gateway overload returns 429 or 503
- UAT environment instability may cause intermittent 500 errors
- Network timeout if upstream model provider is slow

## How this service works

AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.

## Output

Returns an OpenAI-compatible chat completion object containing the model's generated assistant message, finish reason, token usage statistics, and model metadata — identical in structure to the OpenAI Chat Completions API response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model ID"
  },
  "messages": {
   "type": "array",
   "description": "Chat messages"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jarvisclaw-ai-api-gateway-chat-completions-a94830d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uat.jarvisclaw.ai](https://www.zero.xyz/host/uat.jarvisclaw.ai/llms.txt)
