# GEDX402 Mistral-7B-Instruct LLM via x402

> GEDX402 Mistral-7B-Instruct LLM via x402 is a paid API for AI agents from chat.gedx402.com, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Run inference against Mistral-7B-Instruct-v0.1 hosted on Cloudflare Workers AI, paying per-call with USDC via x402 — no API key required.

## Facts

- Endpoint: GET https://chat.gedx402.com/v1/llm/mistral-7b-instruct-v0.1
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-mistral-7b-instruct-llm-via-x402-b1bff002
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c6PO6HJdVTS4IFjRtmNiG

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 gedx402-mistral-7b-instruct-llm-via-x402-b1bff002
```

Example prompt: Using the Mistral-7B instruct model, reply to this conversation: system says 'You are a helpful assistant', user says 'What are the three laws of thermodynamics?' — keep the response under 300 tokens.

## When to prefer this

Choose this endpoint when you need Mistral-7B-Instruct inference without registering for an API key, and you can pay per-call in USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol. Ideal for autonomous agents that hold crypto wallets and need LLM access without centralized credential management.

## Known failure modes

- Payment not sent or insufficient USDC balance — 402 Payment Required response
- Invalid message format (missing role or content field) — likely 400 or malformed response
- max_tokens exceeds 4096 — validation error
- Network timeout if Workers AI inference is slow under load
- Unsupported blockchain network for payment — transaction not accepted

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing the model identifier ('model': '@cf/mistral/mistral-7b-instruct-v0.1') and the generated assistant reply text ('response': '<generated text>'). The response reflects the conversation turns passed in and respects the max_tokens limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string",
      "description": "Speaker role for this turn."
     },
     "content": {
      "type": "string",
      "description": "Message text for this turn."
     }
    }
   },
   "description": "Conversation turns in order (system, user, assistant)."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 4096,
   "minimum": 1,
   "description": "Maximum tokens to generate in the assistant reply."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/mistral/mistral-7b-instruct-v0.1",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-mistral-7b-instruct-llm-via-x402-b1bff002/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.gedx402.com](https://www.zero.xyz/host/chat.gedx402.com/llms.txt)
