# Maxwell International LLM Chat (maxwell-chat)

> Maxwell International LLM Chat (maxwell-chat) is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.0055/call, status unknown (last checked 2026-10-01).

Generates AI chat completions using Maxwell International's maxwell-chat model via an OpenAI-style API, billed per call via x402 micropayments.

## Facts

- Endpoint: POST https://api.maxwellinternational.ai/v1/llm/chat?utm_source=zero.xyz
- Price: $0.0055/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-international-llm-chat-maxwell-chat-d5434d79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FN4K4PccBaNPl8aYRobpr

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 maxwell-international-llm-chat-maxwell-chat-d5434d79 -d '<json body>'
```

Example prompt: Ask Maxwell's maxwell-chat model to explain the difference between supervised and unsupervised learning in simple terms, keeping the reply under 80 tokens so I stay within budget.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call LLM chat completion without managing API keys or subscriptions — ideal for agents that need occasional AI-generated text responses billed via x402 micropayments. Prefer it over OpenAI or Anthropic direct APIs when you want automatic per-call cost control via the max_tokens spend cap and seamless crypto micropayment billing. Not suitable when you need streaming, function/tool calling, vision inputs, or live web search.

## Known failure modes

- Insufficient x402 payment or payment failure — request rejected before execution
- max_tokens set too low causing truncated or empty responses
- Model name not recognized — returns error if model is not 'maxwell-chat' or similar listed model
- Malformed messages array — missing required role/content fields causes validation error
- Network timeout on the provider side for very long prompts
- Rate limiting if too many concurrent calls are made

## How this service works

AI assistant from the Maxwell International LLM service (model maxwell-chat), OpenAI-style chat completion: POST {model, messages, max_tokens}. Priced per call before it runs: estimated prompt tokens x $1.50/M + max_tokens x $3.00/M + $0.005, so max_tokens is your spend limit (a short question with max_tokens 80 is about $0.0059). Text only; no streaming, tools or live search. Free model list and rates: GET /v1/llm/models.

## Output

Returns an OpenAI-style chat completion response containing the assistant's text reply, along with token usage metadata (prompt tokens consumed, completion tokens generated). No streaming, tool calls, or image content is included — plain text only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-international-llm-chat-maxwell-chat-d5434d79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
