﻿# Browser model storage: persistence, quota and runtime memory are separate

A persistent-storage grant protects a different boundary from model allocation. Interpret browser quota estimates, actual writes and recoverability without promising unlimited offline capacity.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/edge-browser-storage-persistence-quota-runtime-memory/
Language: en

## Downloaded once does not mean retained forever

A browser assistant downloads a model, runs successfully and advertises permanent offline availability. Later the owner returns to find the model missing, or a larger model cannot be stored despite an encouraging capacity estimate. These are storage-policy and write-outcome questions before they become inference questions. Preserve which artifact actually reached local storage, the persistence decision for that environment and how the application recognizes missing data. A previous successful generation does not establish an unlimited retention contract.

## Persistence is a permission-backed storage mode

The [Storage Standard](https://storage.spec.whatwg.org/) distinguishes best-effort storage from persistent storage and defines requesting and observing persistence. Inspect the returned outcome rather than treating a persist call as a granted decision. Persistent storage changes the relevant automatic-clearing policy; it is not a promise against user-directed deletion or loss of the whole browser profile. Keep a recoverable artifact record outside the assumption that the same local bytes will always remain present, especially when the model can be reacquired from a known release.

## Quota estimates do not reserve writable bytes

The standard describes usage as a rough estimate. A favorable estimate cannot reserve space against competing writes or changing policy. [WebKit’s storage-policy explanation](https://webkit.org/blog/14403/updates-to-storage-policy/) likewise distinguishes an upper quota from guaranteed writable capacity and requires handling actual write failures. Its published policy is engine-specific context, not a fixed percentage to hard-code for every browser. Budget preparation work and partial downloads, then treat completed storage operations as separate evidence from the initial estimate.

## Disk retention does not supply inference memory

The stored model and live inference state consume different resources. Loading can require decoded weights, temporary workspaces, JavaScript or Wasm memory and device resources according to the runtime. Persistence permission neither allocates those resources nor increases their limits. Classify a storage write failure, missing retained artifact and runtime allocation failure independently. Removing useful documents to fix a GPU allocation problem can harm recoverability without addressing the actual constraint, so identify the failed operation before offering destructive storage cleanup.

## Propose independent retention and loading checks

Use a small harmless artifact to observe persistence requested, granted or denied, completed writes and rediscovery after an ordinary application restart. In an isolated test profile, separately remove the fixture through supported user controls and confirm truthful missing-data recovery. Exercise write failure without declaring every failure to be eviction. Then test runtime loading as another stage. No browser data was removed, permission requested or memory allocation measured here; these fixtures describe evidence to collect under the target deployment’s policy.

## Report a layered offline claim

[Pinned model packages](/journal/huggingface-pinned-offline-snapshot/) establish intended content. [Browser memory-budget audits](/journal/webgpu-bench-browser-token-agreement-memory-budget-audit/) establish the limits of capacity observations. Add persistence outcome and actual write evidence without collapsing them into a single durable-model badge. A useful offline claim identifies recoverable artifacts and currently verified availability, while leaving runtime-fit and future storage-policy changes explicit. This supports clear recovery when the environment changes instead of promising that a granted storage mode makes model execution permanently available.
