# JarvisClaw Chat Completions

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

OpenAI-compatible chat completions API gateway with smart model routing, billed per-call via x402 micropayments settled in USDC on Base and Solana.

## Facts

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

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-chat-completions-d5efd362
```

Example prompt: Send a chat message to JarvisClaw using gpt-4.1-nano with a temperature of 0.7 and up to 512 tokens: the messages should be [{role: user, content: 'Summarize the key differences between Base and Solana in two sentences'}].

## When to prefer this

Prefer JarvisClaw when you need an OpenAI-compatible chat completions endpoint with no subscription required, paying per call in USDC via the x402 protocol on Base or Solana. Ideal for AI agents operating in crypto-native environments, serverless pipelines with unpredictable usage, or workflows that need smart routing across multiple model providers (GPT, Claude, etc.) without managing separate API keys for each.

## Known failure modes

- 402 Payment Required — x402 payment not provided or insufficient USDC balance
- 400 Bad Request — invalid model ID or malformed messages array
- 401 Unauthorized — missing or invalid payment credentials
- 429 Too Many Requests — rate limit exceeded
- 503 Service Unavailable — upstream model provider unreachable
- Unsupported model ID — requested model not available through the gateway

## How this service works

AI chat completions - 80+ models (GPT-4o, Claude, Gemini, DeepSeek), pay per token with USDC

## Output

An OpenAI-compatible chat completion response object containing the assistant's generated message, finish reason, model used, and token usage statistics. Streaming is optionally supported for incremental output delivery.

## 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-chat-completions-d5efd362/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.jarvisclaw.ai](https://www.zero.xyz/host/api.jarvisclaw.ai/llms.txt)
