← Founder Notes
Archive

Shopify gist tokens compress a 4,200-token system prompt into 47 learned tokens with 95% task…

Yethikrishna ROriginal on Threads

shopify gist tokens compress a 4,200-token system prompt into 47 learned tokens with 95% task accuracy. that is not prompt engineering anymore — that is a new file format for prompts.

everyone shipping long system prompts in 2027 will look like everyone shipping minified-by-hand css in 2014.

Context

Shopify Engineering's post of 19 August 2026 describes gisting, which uses a set of learned tokens. It reports the Sidekick GraphQL agent system prompt going from about 6,000 tokens to about 1,500 gist tokens (4:1) without losing prediction quality, with serving gains at 350 requests per second: time to first token from 438 ms to 354 ms, end-to-end from 6.8 s to 4.2 s, and throughput from 20.2 to 23.4 queries per second.

How it compares

The note's figures of a 4,200-token prompt, 47 learned tokens and 95% task accuracy are unverified: none appear in the Shopify text read, which gives 6,000 to 1,500 instead. That does not show them false, since the note may draw on another source. Gisting setups can only be compared within their actual scope. The post predates the note. The new file format for prompts and the 2027 comparison are the author's opinion.

Related work

Watch next

  • The source of the 4,200, 47 and 95 figures, if any.

Sources

  1. Gisting (Shopify Engineering, 19 Aug 2026)shopify.engineering

Provenance

The note above is reproduced unedited from the original post, first published on Threads on 5 September 2026 at 10:02 IST. Sources are the papers and datasets the note draws on.

View the original post
Embed this note
<iframe src="https://founder.myndlabs.tech/notes/embed/shopify-gist-tokens-compress-a-4-200-token-Dc5HCnEiMO_" width="480" height="420" style="border:0;max-width:100%" loading="lazy" title="Shopify gist tokens compress a 4,200-token system prompt into 47 learned tokens with 95% task…"></iframe>

More notes