# Locus x402 Mistral Models API

> Locus x402 Mistral Models API is a paid API for AI agents from mistral.x402.stage.paywithlocus.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Pay-per-use HTTP proxy to Mistral AI model endpoints, billed at $0.005 USDC per call via the x402 payment protocol

## Facts

- Endpoint: POST https://mistral.x402.stage.paywithlocus.com/mistral/models
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/locus-x402-mistral-models-api-5f251867
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zsifghCmrvedqCe5rvq5O

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 locus-x402-mistral-models-api-5f251867 -d '<json body>'
```

Example prompt: Send a POST request through the Locus x402 Mistral gateway to generate a short product description — the body should be JSON with my Mistral chat completion parameters, and the $0.005 USDC charge per call will be handled automatically.

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-use access to Mistral AI models without a subscription or prepaid API key, especially in agentic workflows that support the x402 micropayment protocol. Prefer it over direct Mistral API access when you want automatic per-call USDC billing and no upfront commitment.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Malformed JSON body results in 400 bad request
- Mistral upstream service unavailability causes 502 or timeout
- Invalid or missing required input fields (type, method, bodyType, body) return validation errors
- Network timeout if Mistral model inference takes too long

## How this service works

Locus public pay-per-use API

## Output

The response from the underlying Mistral AI model endpoint, proxied back through the Locus x402 gateway — typically a JSON object containing the model's generated text, completion tokens, and other standard Mistral API response fields.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/locus-x402-mistral-models-api-5f251867/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mistral.x402.stage.paywithlocus.com](https://www.zero.xyz/host/mistral.x402.stage.paywithlocus.com/llms.txt)
