← All projects
Project record1 mention
Originally shared on Hacker News

ScaleDown

ScaleDown is a context pruning API that prunes away irrelevant parts of a context for a given prompt (context-aware pruning). It integrates with a single extra API call before the final LLM API call, addressing performance degradation that occurs with long AI chats and large contexts.

Last shared For Developers building AI applications that pass long contexts to LLMs
01 / The problem

What it addresses

LLM context lengths are effectively capped at around 200k tokens and performance drops off a cliff beyond that, which users notice with long AI chats.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. ScaleDown

    ScaleDown is a context pruning API that prunes away irrelevant parts of a context for a given prompt (context-aware pruning). It integrates with a single extra API call before the final LLM API call, addressing performance degradation that occurs with long AI chats and large contexts.

    Problem: LLM context lengths are effectively capped at around 200k tokens and performance drops off a cliff beyond that, which users notice with long AI chats.

    Audience: Developers building AI applications that pass long contexts to LLMs

    Posted by @csoham · Original source ↗

    Source text · @csoham · · Source ↗

    I'm working on ScaleDown [1], a context pruning API. So over the past few years, I have seen how contexts have been steadily growing in AI apps. And while the context lengths of LLMs have also been increasing, they are still effectively about 200k tokens. The performance drops off a cliff after that (you might have noticed it as well with long AI chats). It is a simple API that prunes away irrelevant parts of a context for a given prompt, a.k.a. context-aware pruning. Integration is super simple: just an extra API call before the final LLM API call.