Public beta Sharding enclave attested on Intel TDX. Real models answer through the API. Relay exits are planned. See what is live

Sharding

One request, end to end.

Pseudonymise, split, route, catch refusals, rebuild, sign. Everything happens inside a Phala enclave whose measurement is in your receipt.

Request slipkid 7f2k
identity

Review the lease between [PERSON_1] and [ORG_1] for [ADDRESS_1].

qwen3.8-27b-uncensoredcatalogue · Phala TDX
financial

The penalty is [AMOUNT_1]; notices by [DATE_1].

gemma-4-26b-uncensoredcatalogue · Phala TDX
reasoning

Where is a tenant's position usually weak in a lease like this?

frontier modelplaceholders only
Press to rebuild, again to cutillustration · nothing is sent
Steps
7from your client and back
Shard classes
6four of them never reach a frontier model
Model calls when split
2–4each one on the receipt
Receipts
1per request, signed

[01] How a request flows

Seven steps. One enclave.

Pick a request and set the headers. Scroll to run it through the enclave, one step at a time. The masking runs in your browser; nothing is sent.

Request
X-Wispr-Shard
X-Wispr-Frontier
Frontier refuses
Youyour client, WISPR SDK or CLI waiting
Gatewayapi.wispr.xyz · outside the enclave
WISPR enclaveIntel TDX on Phala · attested · in memory only

Mapping · enclave memory
    Receipt · signed in here
    qwen3.8-27b-uncensoredcatalogue · Phala TDX enclave
    gemma-4-26b-uncensoredcatalogue · Phala TDX enclave
    claudefrontier · placeholders only
    resharded once
    requestciphertext · kid 7f2k
    one answer+ signed receipt

    [02] Pseudonymise · splitinside the enclave

    Typed placeholders. Six shard classes.

    Identifiers are replaced before anything leaves the enclave. Then the task is cut by what each part is, not by where a sentence happens to end.

    Specimen · before and afterillustration, masked in your browser

    Mapping · stays in enclave memory

      In pasted material, names, amounts, wallets, emails, addresses, dates and secrets become typed placeholders such as [PERSON_1] and [AMOUNT_2]; a question's own words go out as written, so the model answers the question you asked. Secrets are masked everywhere. The mapping stays in enclave memory.

      • Names
      • Amounts
      • Wallets
      • Emails
      • Addresses
      • Dates
      • Secrets

      The preview on this page is a set of regular expressions running in your browser, so you can see the shape. The enclave does the real work, and the placeholder names it uses beyond [PERSON_1] and [AMOUNT_2] may differ.

      Class 1

      identity

      Who is involved: people, organisations, addresses, contact details.

      Never to a frontier provider, whatever id you pin.

      Class 2

      financial

      Amounts, balances, wallets, invoices, the numbers that make a deal yours.

      Never to a frontier provider, whatever id you pin.

      Class 3

      medical

      Conditions, medications, results, anything that describes a body.

      Never to a frontier provider, whatever id you pin.

      Class 4

      secrets

      Keys, tokens, passwords and anything that unlocks something.

      Never to a frontier provider, whatever id you pin.

      Class 5

      code

      Source, contracts, configs. In an audit, the code and any secrets stay on catalogue models.

      Add code to X-Wispr-Sensitive to make that a rule for every request.

      Class 6

      reasoning

      The general question with nothing of yours in it: how a clause is usually challenged, how an interaction works.

      May go to a frontier model with placeholders only, if you allow it.

      A shard is useful alone and meaningless with the others missing. Today two catalogue models run on Phala TDX enclaves; the rest are routed to Venice, OpenRouter, Cerebras or Higgsfield while our own confidential VMs come online. Every model card says which.

      [03] PlansX-Wispr-Plan

      Two ways to cut a request.

      They differ in what an outside model gets to read, and in who writes the final answer.

      fundamentalsDefault
      maskedrequestdecomposeprivate modelexplain Q1question onlyexplain Q2question onlyfact sheetcatalogue modelcompose

      A private model breaks the request into general questions, one explain shard each (frontier models when allowed), a private model composes the answer; no outside model sees the request.

      splitopt in
      materialpasted textmaskedaskfacts shardprivate modelfacts shardprivate modelanswerfrom fact sheetsrestore

      Material goes to private facts shards and a frontier model answers the masked ask from the fact sheets.

      Private model: a catalogue model, never a frontier providerFrontier or catalogue model, sees a question or a fact sheet onlyYou and your answer

      [04] Cost of splitting

      Privacy costs a few calls.

      Two to four model calls for one request, so a split request costs more tokens than one direct call, and tasks that need the whole context at once can read slightly worse.

      Each call is listed in the receipt at the model's own rate, with enclave time included. X-Wispr-Shard: mask keeps one call and only replaces identifiers when that is enough.

      headers
      # one call, identifiers replaced, no split
      -H "X-Wispr-Shard: mask"
      Model calls per request, by X-Wispr-Shard
      off one model, as is1 callThe enclave never sees it. Receipt signed by the gateway, measurement none.
      mask identifiers only1 callPlaceholders in, identifiers restored on the way out. No split.
      auto pseudonymise and split2–4 callsDefault. No single model holds the whole request.
      a caught refusal+1 callRerouted once, on the receipt as resharded_from.

      [05] Catch refusalslegal work only

      A refusal does not end the request.

      A model that declines a legitimate shard does not get to end the request. The enclave detects the refusal and reshards to a model that answers.

      Decision path
      Shard reply comes back
      Refused?

      a refusal pattern, an empty answer, or a provider policy error

      No

      The answer is kept for the rebuild.

      Yes · reroute once

      to a catalogue model

      Catalogue model

      gets the same shard

      Answered

      receipt records resharded_from

      Declined again

      451 refused naming both models

      Detection looks at the shard reply, not at your prompt: a refusal pattern, an empty answer, or a provider policy error. The shard is rerouted once to a catalogue model and the receipt records resharded_from. If the second model also declines, you get 451 refused naming both models, never a silently weaker answer.

      Video too

      Hosted video providers filter. When a request to wan-2.6-hf comes back refused, the same prompt and still are sent to wan-2.7, which runs open weights on Venice's anonymised route and may still decline explicit prompts, and the receipt names both models. Ask for wan-2.7 directly to skip the first hop.

      Scope

      Resharding handles refusals of legal work. The Terms list the categories that are not allowed on the service at all, and those are enforced at the account level, not by the models. Read the Terms

      Usage in the dashboard shows how many of your requests hit a refusal and were rerouted.

      [06] ReceiptsEd25519 · lives in your client

      Every field, accounted for.

      The response is a normal chat completion plus a wispr object. It is the proof behind every claim on this site, and it lives in your client, not on our side.

      response.wispr
      "wispr": {
        : 4,
        : [
          { "id": 1, : "identity",  : "qwen3.8-27b-uncensored", : "wispr-enclave" },
          { "id": 2, "class": "financial", "model": "gemma-4-26b-uncensored", "host": "wispr-enclave" },
          { "id": 3, "class": "reasoning", "model": "claude", "host": "provider, shard only" }
        ],
        : { "in": 812, "out": 1040 },
        : 0.0147, : 0,
        : { "enclave": "wispr-casr", "measurement": "sha256:4f1c…a9e0", "quote": "…" },
        : "ed25519:…"
      }
      Adapted from the docs example: the two private model ids are the catalogue models that run on Phala TDX today. The measurement shown is the docs placeholder; the live one is on the security page.

      Point at a key in the receipt, or a row here.

      how many identifiers were replaced before anything left the enclave
      per shard: class, model id, host (phala-tee, venice-tee, venice or provider), tokens, cost, resharded_from when a refusal was caught. An exit region joins it when relay exits ship Planned
      which model got which kind of shard, and whether it ran in a WISPR enclave or at a provider with the shard only
      totals in and out
      sum of shards at provider rate with enclave time included; the fee is always 0 here because it is charged at top up
      enclave name, code measurement, TDX quote. Work the enclave never saw (sharding off, images, video, speech) carries the measurement none
      Ed25519 over the receipt, by the enclave key named in the attestation, or by the gateway key when the measurement is none

      Verify one

      Three checks: the signature is valid, the measurement is a published build, the quote matches. The dashboard keeps receipts in your browser under Receipts and can export them as JSON. Turn that off in Settings and nothing is kept anywhere.

      npx wispr receipt verify receipt.json      # signature, measurement, published build

      [07] Controlsper account, per request

      Headers, not settings pages.

      Defaults are set per account in the dashboard and can be overridden per request with headers. The request body stays OpenAI shaped.

      HeaderValuesDefault
      X-Wispr-Shardauto full pseudonymise and split · mask identifiers only, one call · off one model, as isauto
      X-Wispr-Frontierallow or deny frontier models for any shardaccount setting
      X-Wispr-Sensitiveclasses that must never go to a frontier provider, comma separated: identity financial medical secrets codeall but code
      X-Wispr-Planfundamentals or split, see plansfundamentals
      X-Wispr-Budgetmax USD for this request; the plan is refused above itkey cap
      X-Wispr-Precisionbf16 or fp8 for catalogue modelscard value
      X-Wispr-Shield-Private · X-Wispr-Shield-Frontierpin the catalogue model for the private calls (facts, decompose, compose) and for the answering or explaining callsauto
      X-Wispr-Trace32 hex characters; follow the request at /v1/trace/:id (stages, models, counts, timings, cost, never text); /v1/trace/:id/live streams the masked model text from memory. Nothing is kept after one hournone
      X-Wispr-Exit Plannedauto or a region: eu-fra eu-ams us-iad us-sjc ap-sin ap-tyo. Relay exits are plannedaccount setting

      [08] Errorscodes never change meaning

      A typed error or a real answer.

      Every error is typed. The body carries { error: { code, message } }. These four come from the sharding path.

      422unmergeable

      The rebuild could not be validated after retries. The shards are returned so you can merge yourself.

      424attestation_mismatch

      The client refused an enclave whose measurement is not a published build. Update the SDK; do not send the request.

      429budget_exceeded

      The key cap or X-Wispr-Budget is below the cheapest plan for this request.

      451refused

      A shard was refused by its model and again by the fallback. The body names both. Rephrase or pin a catalogue model.

      A refused shard is never silently swapped for a weaker answer.