> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.empiriolabs.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.empiriolabs.ai/_mcp/server.

# Verifiable Inference

Native Inference chat models run on GPU infrastructure that EmpirioLabs manages. A request to one is answered there and is not sent to another model provider. Verifiable inference makes both checkable: every response carries a receipt signed by EmpirioLabs, and each fingerprinted model can be checked against its public weights through the API.

Both checks are open source in the [verifiable-inference repository](https://github.com/EmpirioLabs-AI/verifiable-inference). Each is a single Python file with no dependencies.

## Signed receipts

Every successful response to `POST /v1/chat/completions` from a Native Inference model carries a receipt. It names the model that served the request and holds the SHA-256 of your request body exactly as it was received and of the response exactly as it was sent.

* **Not streamed.** The receipt is the last member of the JSON body, `receipt`. It covers the body with that member removed.
* **Streamed.** The receipt is one SSE comment after `data: [DONE]`, `: receipt {...}`. It covers every byte of the stream before that comment.

**`A receipt`**

```json title="A receipt"
{
  "version": 1,
  "issuer": "api.empiriolabs.ai",
  "key_id": "35e175bcb43aadf4",
  "served_by": "empiriolabs-native",
  "model": "qwen3-5-9b",
  "issued_at": 1795651200,
  "request_sha256": "9f1c...",
  "response_sha256": "4be0...",
  "signature": "Qk3t..."
}
```

The signature is Ed25519 over the receipt without `signature`, written as JSON with sorted keys and no spaces, and encoded as base64url without padding. `GET /v1/receipts/keys` lists the public keys, and the repository keeps the same list in `keys/receipt-keys.json`. A key that no longer signs stays listed as `retired`, so earlier receipts still verify.

## Check a response

Keep the request body exactly as you sent it and the response exactly as you received it, then run the checker on the two files:

```bash
python check_receipt.py files --request request.json --response response.bin
```

To send a test request and check its receipts, streamed and not:

```bash
export EMPIRIOLABS_API_KEY="sk-empiriolabs-..."
python check_receipt.py live --model qwen3-5-9b
```

The checker confirms that EmpirioLabs signed the receipt and that the receipt names your exact request and response.

## Check a model

A fingerprint is made once from a model's public weights: for 50 fixed questions, the 20 tokens the model finds most likely to begin its answer, with their log-probabilities. The check asks the live API the same questions for one token each and compares. It runs no model and takes about half a minute.

```bash
python check_model.py --model qwen3-5-9b
python check_model.py --all
```

The repository lists every fingerprinted model. Each fingerprint names the public repository, the revision and the SHA-256 of every weight file it was made from, and it contains nothing about how EmpirioLabs serves the model. The check also verifies the receipt on each answer. A model check sends 50 requests of one output token each, billed at the model's listed price.

## What it covers

* Receipts cover every Native Inference chat model on `POST /v1/chat/completions`. Other endpoints and third-party models do not carry one.
* Fingerprints cover the models listed in the repository.
* A model check confirms the model when it runs. The receipt on every response ties each answer to its model and to EmpirioLabs.
* A fingerprint confirms the model, not the numeric precision it runs at.
* A receipt shows what EmpirioLabs returned for a request. It does not encrypt anything, and it does not show whether an answer is correct.
* A receipt holds no request or response content, only hashes of it. Anyone who already has the exact text can confirm it against a receipt, so share a receipt only with someone who may see the request.
* With web search on, the search query also goes to a search provider.

Verifiable inference is available in the API for every Native Inference chat model. How EmpirioLabs handles request and response content is set out in the [Privacy Policy](https://empiriolabs.ai/privacy-policy).