Skip to content

OpenSecret: serve stock Kimi K3.1 Pro from dedicated i03 and withdraw the uncensored model - #1662

Merged
AnthonyRonning merged 2 commits into
masterfrom
kimi-i03-stock-route
Nov 20, 2026
Merged

AnthonyRonning merged 2 commits into
masterfrom
kimi-i03-stock-route

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • Stock Kimi K3.1 Pro gets dedicated i03 as a second route. It is split the way stock DeepSeek is: 1% of fresh account buckets go to shared Tinfoil and 99% to i03 (provider multipliers 70 * 10 : 100 * 693). Both routes send and return kimi-k3-1-pro.
  • i03 is re-pinned to the stock release MaplePrivacyLabs/inference-kimi-k3-1-pro v0.2.5: its digest and its SEV-SNP, RTMR1 and RTMR2 measurements. That is the guest's only approved release. v0.2.5 is the release chosen by the capacity study: stock weights, with a prefix cache of about 14 million tokens instead of v0.1.0's 2.4 million.
  • The public model kimi-k3-1-pro-uncensored is removed: id, catalog entry, route and tests. The uncensored DeepSeek entry returns to sort order 66.
  • The Maple routing policy version becomes v11 for the new topology.

Why

The node now serves the stock Kimi K3.1 Pro weights under the stock name. The uncensored Kimi model is withdrawn. It was offered on Dev only and never reached Production.

How the two routes behave

  • Fallback. Readiness and health gates exclude i03 until its approved release attests, or while it is failing, and shared Tinfoil then serves every account. With shared Tinfoil unavailable, i03 serves the one shared bucket too. With both unavailable the model reports capacity; no other model or guest stands in.
  • Sticky routes. An account's remembered route keeps its normal precedence over the bucket while it stays eligible.
  • Same model turn. Kimi's request policy is keyed on the model, not the provider, so reasoning levels (low, high, max; max by default; reasoning mandatory), sampling defaults, reasoning replay with preserve_thinking, developer-as-system, Kimi tool-call ids and the 262,144-token window are identical on both routes.
  • What differs by provider, as for every dual route: shared Tinfoil receives the backend's user_cache_secret; i03 receives the backend's cache_salt and passes through the Maple sanitizer, which drops a caller's priority, mm_processor_kwargs, media_io_kwargs and media cache identifiers.
  • Usage. i03 traffic is reported as provider maple, shared traffic as tinfoil, both as model kimi-k3-1-pro.

What is kept

Everything about the guest itself: MapleInstanceId::I03, provider maple-i03, host i03.tfinf.maple.ai, enclave loopback 127.0.0.44 and VSOCK port 8052 in entrypoint.sh, the request sanitizer, and the test support for a guest without an approved release.

Tests

Run from services/opensecret in the pinned #ci shell with RUSTFLAGS="-D warnings", the os-rust lane's commands:

  • cargo fmt --all -- --check: clean
  • cargo clippy --locked --all-targets --all-features -- -D warnings: clean
  • cargo test --locked --all-features: 1185 passed, 0 failed, 103 ignored
  • bash scripts/test_maple_inference_entrypoint.sh: passed

New or rewritten tests cover the 1/99 bucket allocation on every surface, fallback in both directions, sticky routes, readiness of a guest without an approved release, the complete model turn on each route with its cache field and sanitizer, usage identity per provider, and the new pin.

The pin's SEV-SNP measurement was compared with the attestation report the node serves today and matches. That read the report's measurement field only; it did not verify the report's signature chain, which the backend's verifier does at runtime.

Nothing here was exercised against a live provider or a deployed enclave.

Before this deploys

  • i03 serves inference-kimi-k3-1-pro v0.2.5 and attests against this pin. It does today.
  • Dev enclave parents already forward VSOCK port 8052.
  • Production enclave parents still need the i03 forwarder.
  • The billing change that prices kimi-k3-1-pro on the maple provider must be live first: maple-billing-server PR 170.
  • Busy is not a fallback condition. An account moves to shared Tinfoil only when i03 is unavailable. Under more load than the node can serve, requests queue on i03; spill-over by load is not built.

🤖 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 2 commits November 20, 2026 10:19
… the uncensored model

Dedicated i03 now serves the stock Kimi K3.1 Pro checkpoint under the stock
name `kimi-k3-1-pro`, from the measured release
`MaplePrivacyLabs/inference-kimi-k3-1-pro` `v0.1.0`. The uncensored Kimi
model it served before is withdrawn. It was offered on Dev only and never
reached Production.

Stock Kimi gains i03 as a second route, split the way stock DeepSeek is:
provider multipliers allocate 1% of fresh account buckets to shared Tinfoil
and 99% to i03 (70 * 10 : 100 * 693). Both routes send and return
`kimi-k3-1-pro`. The one shared bucket keeps Tinfoil's health and circuit
state exercised, so it stays a proven fallback: readiness and health gates
exclude i03 until its approved release attests or while it is failing, and
shared Tinfoil then serves every account. An eligible remembered route keeps
its normal precedence over the bucket. Usage on i03 is reported as provider
`maple`, on shared Tinfoil as `tinfoil`, both as model `kimi-k3-1-pro`.

i03's pin changes to the stock release's digest and SEV-SNP, RTMR1 and RTMR2
measurements. It is the guest's only approved release, so the former
uncensored release no longer attests on this route.

The public model `kimi-k3-1-pro-uncensored` is removed: its id, catalog
entry, route and tests. The uncensored DeepSeek entry returns to sort order
66, where it was before the Kimi entry took that place.

Nothing about the guest itself changes: `MapleInstanceId::I03`, provider
`maple-i03`, host `i03.tfinf.maple.ai`, enclave loopback 127.0.0.44 and VSOCK
port 8052, and the Maple request sanitizer that drops a caller's `priority`,
`mm_processor_kwargs` and `media_io_kwargs`. Kimi's request policy is keyed
on the model, not the provider, so reasoning levels, sampling, reasoning
replay, tool-call ids and the 262,144-token window are the same on both
routes. Only the provider's cache field and that sanitizer differ.

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

Co-Authored-By: Claude <[email protected]>
v0.2.5 is the release the node runs after the capacity study: Tinfoil's
v0.0.3 recipe (a prefix cache of about 14 million tokens instead of 2.4
million) plus Maple's tuning for long cached conversations. The digest and
the SEV-SNP and RTMR2 measurements change; RTMR1 does not.

The Kimi pin no longer shares the tag `v0.1.0` with the retired DeepSeek
release, so the retired-release test returns to its plain tag check.

Co-Authored-By: Claude <[email protected]>
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review November 20, 2026 23:18
@AnthonyRonning
AnthonyRonning merged commit 1ff8999 into master Nov 20, 2026
23 checks passed
@AnthonyRonning
AnthonyRonning deleted the kimi-i03-stock-route branch November 20, 2026 23:19
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