# ZeroReader Mistral 7B Chat Completion

> ZeroReader Mistral 7B Chat Completion is a paid API for AI agents from api.zeroreader.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-03).

Runs chat completions using Mistral 7B, a European open-source model optimized for structured output, via a pay-per-call API

## Facts

- Endpoint: POST https://api.zeroreader.com/v1/ai/mistral-7b?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zeroreader-mistral-7b-chat-completion-9fa38de8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J6d0ze4x34Lt-K6xCu8F1

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 zeroreader-mistral-7b-chat-completion-9fa38de8 -d '<json body>'
```

Example prompt: Send this to Mistral 7B via ZeroReader: system prompt 'You are a helpful assistant that outputs only valid JSON', user message 'Extract the name, date, and amount from this invoice text: Invoice #1042, John Smith, 2024-06-01, $450.00', max 512 tokens, temperature 0.2.

## When to prefer this

Choose this endpoint when you need a fast, cost-effective, European open-source LLM with strong structured output capabilities (JSON, markdown, etc.), especially when compliance with EU AI regulations matters or when GPT-class quality is not required. Prefer over larger models when latency and cost are priorities, and over proprietary APIs when open-source provenance is important.

## Known failure modes

- Payment failure or insufficient USDC balance returns 402
- Prompt exceeds max_tokens limit causing truncation or error
- Temperature or max_tokens out of allowed range returns 400 validation error
- Model unavailable or overloaded returns 503
- Malformed messages array (missing role or content) returns 400
- Streaming not supported in certain client configurations

## How this service works

Mistral 7B — European open-source model. Good at structured output.

## Output

Returns an OpenAI-compatible chat completion object with an id, object type 'chat.completion', a choices array containing the assistant's generated message, and a finish_reason (e.g. 'stop'). The assistant content field holds the model's text response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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",
   "default": 1024,
   "maximum": 4096
  },
  "temperature": {
   "type": "number",
   "default": 0.7,
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "id": "chatcmpl-example",
 "object": "chat.completion",
 "choices": [
  {
   "index": 0,
   "message": {
    "role": "assistant",
    "content": "I'm doing well!"
   },
   "finish_reason": "stop"
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zeroreader-mistral-7b-chat-completion-9fa38de8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zeroreader.com](https://www.zero.xyz/host/api.zeroreader.com/llms.txt)
