# Laminarity Relay – MiniMax M2.7 Chat Completions

> Laminarity Relay – MiniMax M2.7 Chat Completions is a paid API for AI agents from api.laminarity.uk, paid per call via x402, $0.00123/call, status unknown (last checked 2026-11-18).

Pay-per-request chat completions via MiniMax-M2.7, billed per call in USDC with no API key or signup required.

## Facts

- Endpoint: POST https://api.laminarity.uk/v1/minimax-m2.7/chat/completions?utm_source=zero.xyz
- Price: $0.00123/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/laminarity-relay-minimax-m2-7-chat-completions-621cb4bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wIiAO4O-AA8y0VfxgbYDq

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 laminarity-relay-minimax-m2-7-chat-completions-621cb4bf -d '<json body>'
```

Example prompt: Send this conversation to MiniMax M2.7 and get a reply: system says 'You are a helpful assistant', user asks 'What is the capital of France?' — keep the response concise, cap it at 100 tokens.

## When to prefer this

Choose this endpoint when you need OpenAI-compatible chat completions with no signup or API key management, want per-request USDC billing via the x402 protocol, or need access to the MiniMax M2.7 open-weight model specifically. Ideal for autonomous agents that manage their own wallets and need to pay programmatically for inference on demand.

## Known failure modes

- Payment failure or insufficient USDC balance returns a 402 Payment Required with x402 payment details
- Invalid or missing messages array returns a 400 Bad Request
- Temperature or max_tokens out of range returns a 422 Unprocessable Entity
- Model ID not matching the allowed enum returns a 400 error
- Service overload or upstream model unavailability may return 503
- Network timeout on large completions if max_tokens is very high

## How this service works

Pay-per-request LLM inference for AI agents, served by open-weight models (DeepSeek, GLM, MiniMax). OpenAI-compatible; paid in USDC via x402 — no signup, no API keys.

## Output

Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text, the model used, finish reason (e.g. 'stop'), and token usage breakdown (prompt tokens, completion tokens, total tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "MiniMaxAI/MiniMax-M2.7"
   ],
   "type": "string",
   "default": "MiniMaxAI/MiniMax-M2.7",
   "description": "Model id from GET /v1/models."
  },
  "stream": {
   "type": "boolean",
   "default": false
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   }
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Upper bound on completion tokens; lower values cost less."
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-example",
  "model": "MiniMaxAI/MiniMax-M2.7",
  "usage": {
   "total_tokens": 12,
   "prompt_tokens": 9,
   "completion_tokens": 3
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello!"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/laminarity-relay-minimax-m2-7-chat-completions-621cb4bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.laminarity.uk](https://www.zero.xyz/host/api.laminarity.uk/llms.txt)
