Skip to content

OpenSecret: add Kimi K3.1 Pro Uncensored on a third dedicated node - #1651

Merged
AnthonyRonning merged 3 commits into
masterfrom
codex-kimiunc-maple
Nov 19, 2026
Merged

AnthonyRonning merged 3 commits into
masterfrom
codex-kimiunc-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the public model kimi-k3-1-pro-uncensored ("Kimi K3.1 Pro Uncensored"), an abliterated Kimi K3.1 Pro checkpoint served from a third dedicated Maple node, i03 (i03.tfinf.maple.ai, internal provider maple-i03).

  • Behaves as stock Kimi K3.1 Pro: low/high/max reasoning with max as the default and reasoning mandatory, temperature 1.0 and top-p 0.95, full reasoning replay with preserve_thinking, developer sent as system, 262,144-token window, vision and tools.
  • Catalog: Pro access (visible to Free, usable by paid), Uncensored group, "New" badge, catalog provider maple.
  • Routing: one route, i03, under its own name. Stock Kimi on shared Tinfoil is not a fallback for it, and i03 is not a fallback for stock Kimi. Usage is reported as provider maple, model kimi-k3-1-pro-uncensored.
  • Attestation pin: MaplePrivacyLabs/inference-penclaw v0.2.0, digest d1fb4b4c…0f0933, with its SEV-SNP, RTMR1 and RTMR2 registers. Tests assert the pin is the published one and is not another guest's.
  • Enclave plumbing: i03.tfinf.maple.ai maps to 127.0.0.44 and forwards to VSOCK port 8052. The entrypoint test now also rejects any reuse of an instance's address or port.

No app or SDK change is needed: the catalog is served by the backend and the Uncensored group already exists.

Changes beyond "add a model" (please check each)

  • Requests to every Maple node no longer carry a caller's mm_processor_kwargs or media_io_kwargs. Chat Completions passes the caller's JSON through, and the Kimi node runs vLLM with --trust-request-mm-kwargs, so a paid caller could have set multimodal preprocessing options on our node. sanitize_completion_request now removes both top-level fields. This also applies to i01 and i02.
  • DeepSeek V4.1 Flash Uncensored moves from sort order 66 to 67 so the Kimi entry lists first in the Uncensored group.
  • MAPLE_ROUTING_POLICY_VERSION goes from v9 to v10, as earlier topology changes did.

Order and risk

  • Billing first: https://github.com/MaplePrivacyLabs/maple-billing-server/pull/169 must be live in production before this emits the new id.
  • Single route, no fallback: until the enclave can reach and attest i03, selecting this model returns HTTP 500 while it is listed with a "New" badge. The node's custom domain and each enclave parent's VSOCK 8052 forwarder must be in place before this ships to Dev and to Prod.
  • entrypoint.sh changes, so the enclave measurement changes.

Known and unchanged

Chat Completions still forwards other engine-level fields a caller may send to Maple nodes (for example vllm_xargs, return_token_ids, n, logit_bias, chat_template). That is existing behaviour for i01 and i02. A request-level chat_template relies on the node refusing it; the Kimi node is started without --trust-request-chat-template.

Validation

  • cargo fmt --all -- --check, cargo clippy --locked --all-targets --all-features -- -D warnings: pass.
  • cargo test --locked --all-features: 1229 passed, 0 failed, 106 ignored (database tests).
  • bash scripts/test_maple_inference_entrypoint.sh: pass.

End to end, linked Local MDE stack with the real i03 node (November 19 UTC)

Backend at 8884a44b, in-tree SDK through the Transport V2 adapter the apps use, MDE Free and Pro fixtures. 24 requests for the new model: 16 reached i03, all 200; 8 were refused by the backend as intended.

Check Result
Catalog for Free and Pro Listed as "Kimi K3.1 Pro Uncensored", group uncensored, "New", provider maple, access pro, 262,144 context, low/high/max with max default and mandatory; listed before DeepSeek V4.1 Flash Uncensored. Stock Kimi unchanged
Free user 403 model_not_available_on_plan on Chat Completions and Responses
Chat Completions, streaming and not, effort unset / low / high / max 8 of 8 returned 200, reasoning in its own field, model is the public id
none, medium, minimal, xhigh 400 unsupported_value naming the three valid levels, same path as stock Kimi
Responses, two turns in one conversation Second turn recalled the first; log shows reasoning_replay="all"
Tool loop, and a developer message Tool called, result used in the final answer; developer instruction followed
Image input Solid red PNG answered "Red"
Caller-set priority, mm_processor_kwargs, media_io_kwargs 200. The outgoing-body debug line shows the same size and key count with and without them; it logs counts, not names, so their removal is otherwise covered by the unit test
Route Log: attestation succeeded for maple-i03, then requests pinned to maple-i03 with upstream model kimi-k3-1-pro-uncensored
Usage Backend logs model=kimi-k3-1-pro-uncensored, provider=maple. No queue exists locally, so billing of a real event was not observable
Stock kimi-k3-1-pro regression, one request 200, routed to tinfoil

Checked directly on the node, with a 14,800-token prompt: it reports cached input (14,336 of 14,798 tokens on a repeat, in 2,048-token steps) and a different cache_salt gets no cache hit, so caches are separate per user.

Disclosure: the backend's conversation-title helper sent one small request (82 prompt and 7 completion tokens) to stock DeepSeek on production node i02 during this test. It runs for the first Responses turn of any conversation and is unrelated to this change.

Not validated: EIF and PCR, and a request from inside the enclave through the parent forwarder. Those need the Dev deploy.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

AnthonyRonning and others added 3 commits November 18, 2026 18:25
Add the public model `kimi-k3-1-pro-uncensored`, an abliterated Kimi K3.1
Pro checkpoint served from a third dedicated Maple guest, i04
(`i04.tfinf.maple.ai`, internal provider `maple-i04`).

The model behaves as stock Kimi K3.1 Pro does: low/high/max reasoning with
max as the default and reasoning mandatory, temperature 1.0 and top_p 0.95,
complete reasoning replay with `preserve_thinking`, developer messages sent
as system, Kimi tool-call ids, a 262,144-token window, vision and tools.
It is a Pro model in the Uncensored group with the New badge and catalog
provider `maple`, listed first in that group; the uncensored DeepSeek entry
moves from sort order 66 to 67 to sit directly after it.

It has one route, i04, under its own name. Stock Kimi on shared Tinfoil is
not a fallback for it and i04 is not a fallback for stock Kimi. Usage is
reported as provider `maple` and model `kimi-k3-1-pro-uncensored`.

i04 has no approved release yet. Until its measured release is pinned the
guest is unconfigured: it gets no verifier, no transport and no network
initialization, so the model has no eligible route. Selecting it returns
the no-route error rather than reaching another model or guest.

The enclave maps `i04.tfinf.maple.ai` to 127.0.0.44 and forwards it to
VSOCK port 8052. The entrypoint test now also rejects any other host entry
or forwarder that reuses an instance's address or port.

Maple requests no longer carry a caller's `mm_processor_kwargs`. A
dedicated node may trust request processor arguments because this backend
is its only client, so the backend must not pass a caller's through.

The Maple routing policy version becomes v10 for the new topology.

Co-Authored-By: Claude <noreply@anthropic.com>
Approve the measured release of the uncensored Kimi K3.1 Pro checkpoint on
i04: `MaplePrivacyLabs/inference-penclaw` `v0.2.0`, with its digest and its
SEV-SNP, RTMR1 and RTMR2 measurements. The pin identifies that checkpoint's
published artifact. No other guest's pin applies to i04, and i04's approves
nothing on another guest.

This replaces the earlier statement that `kimi-k3-1-pro-uncensored` has no
eligible route. i04 now gets a verifier and a direct transport, so the model
has its one route whenever i04 attests against this pin, and none while it
does not. It still never falls back to stock Kimi or to another guest.

A guest without an approved release remains a supported state, now proven
with a test-only i04 endpoint that has none. Target selection takes the
guests it is given, so tests run the real selection over that endpoint and
show it gets no policy, target, transport, readiness or route.

Maple requests no longer carry a caller's `media_io_kwargs`, alongside
`mm_processor_kwargs`. vLLM honors both per request only under
`--trust-request-mm-kwargs`, which is meant for trusted API clients. Only
the top-level fields are removed; the same names inside messages, content
parts, tools or template arguments are caller data and stay.

Name the served checkpoint and its revision beside the catalog entry.

Co-Authored-By: Claude <noreply@anthropic.com>
The uncensored Kimi K3.1 Pro guest is the third dedicated node, so it is
i03: `MapleInstanceId::I03`, internal provider `maple-i03`, host
`i03.tfinf.maple.ai`. Its enclave loopback address 127.0.0.44 and VSOCK
port 8052 are unchanged; only the host name and forwarder label change.

The release pin, model id, request sanitizer, sort orders and routing
policy version are unchanged.

`maple-i04` is no longer a compiled name. It joins the names the provider
registry and client must reject, so a stale reference to the old identity
cannot resolve.

Co-Authored-By: Claude <noreply@anthropic.com>
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review November 19, 2026 03:11
@AnthonyRonning
AnthonyRonning merged commit 6fc9c8d into master Nov 19, 2026
24 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-kimiunc-maple branch November 19, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant