Private Models

Jared Palmer: Kev 4B

NewBetaTrusted Execution Environment
jaredpalmer/kev-4bModel weights

Kev 4B is an open-weight System One model from Jared Palmer, fine-tuned from Qwen3.5 4B Base. It makes fast, structured decisions for software: given a state and typed questions, it returns calibrated answers instead of text, as a yes/no probability (noul), a pick among options (choice), or a level on a scale (score). Call it through POST /v1/systemone, compatible with the TypeSafe SDK; it does not serve chat. Served on Phala in a TDX-attested enclave with an 8,192-token context.

Modalities
TexttoDecisions
In / out price
$0.042 / $0.00per 1M
Context
8,192
Released
Oct 13, 2026

Providers

RedPill routes this private model across verified providers with automatic fallbacks. Pricing is unified, so you pay the same price no matter which provider serves your request, while live metrics show latency and uptime.

phalaCheckingChecking

Start building

Ask this model typed questions from your application, or through your agents, with the TypeSafe SDK.

For applications

Point your OpenAI SDK at the Gateway. Chat, completions, and embeddings work unchanged.

1
Create a key
2
Set base URL
3
Verify receipt

For agents

Connect Claude Code, Codex, Pi, and more through Private AI Proxy. Traffic is protected while a verified session is active.

1
Install Proxy
2
Turn on Protected
3
Connect agents
Release notes
import { TypeSafeClient, choice, noul } from "@typesafe-ai/sdk";

const client = new TypeSafeClient({
  baseURL: "https://tee.redpill.ai",
  apiKey: process.env.REDPILL_API_KEY,
});

const response = await client.systemOne({
  model: "jaredpalmer/kev-4b",
  state: "I was charged twice this month. Please fix it today.",
  questions: {
    billing: noul("Is this about billing?"),
    tone: choice("What is the tone?", { calm: null, upset: null }),
  },
});

Check privacy evidence

Follow the receipt from the gateway response to its verified session using four curl requests.

  1. 1
    Check the gateway

    Fetch the current TEE evidence and check that the keyset has not expired.

    curl -fsS "https://tee.redpill.ai/v1/aci/attestation" \
      -H "Authorization: Bearer $REDPILL_API_KEY"

    Output

    {
      "api_version": "aci/1",
      "workload_keyset_digest": "sha256:4f3dc45e...",
      "attestation": { "workload_keyset": { "not_after": 1790498751, ... }, ... },
      ...
    }
  2. 2
    Send a private request

    The response header contains the receipt ID, not the receipt itself.

    curl -fsS -i "https://tee.redpill.ai/v1/systemone" \
      -H "Authorization: Bearer $REDPILL_API_KEY" --json '{"model":"jaredpalmer/kev-4b","state":"Hello","questions":{"greeting":{"type":"noul","instructions":"Is this a greeting?"}},"provider":{"aci_verified":true}}'

    Output

    HTTP/2 200
    x-receipt-id: rcpt-e0eefe63b3673e2a5984951f
    ...
    
    {
      "model": "jaredpalmer/kev-4b",
      ...
    }
  3. 3
    Inspect the receipt

    Paste the x-receipt-id above and compare its keyset digest with step 1.

    curl -fsS "https://tee.redpill.ai/v1/aci/receipts/REPLACE_WITH_RECEIPT_ID" \
      -H "Authorization: Bearer $REDPILL_API_KEY"

    Output

    {
      "api_version": "aci/1",
      "receipt_id": "rcpt-e0eefe63b3673e2a5984951f",
      "workload_keyset_digest": "sha256:4f3dc45e...",
      "event_log": [
        ...,
        { "type": "upstream.verified", "session_id": "63c5a08de14e5c5253e6fb29271151f40621beb83b552ccca65772772856053f", "result": "verified", "required": true },
        { "type": "response.returned", "body_hash": "sha256:..." }
      ],
      ...
    }
  4. 4
    Inspect the session

    Copy session_id from the upstream.verified event above, then fetch that session.

    curl -fsS "https://tee.redpill.ai/v1/aci/sessions/PASTE_SESSION_ID_FROM_RECEIPT" \
      -H "Authorization: Bearer $REDPILL_API_KEY"

    Output

    {
      "api_version": "aci/1",
      "upstream_name": "...",
      "verifier_id": "...",
      "claims": { "tee_attested": { "status": "asserted", ... }, ... },
      ...
    }
Full cryptographic verification guide

Search

Search models and pages.