Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Stop paying for old chat history: a free BYOK VS Code AI agent that compresses long sessions

Описание и применение

CodeCook — расширение VS Code, которое сокращает токены в длинных чатах с ИИ, уменьшая расходы на использование моделей, поддерживая контроль затрат и предоставляя контроль версий.

Задача

Long AI coding chats become expensive because each turn resends the entire conversation, making later turns cost more than earlier ones.

Результат

In a long session, a single turn’s token count dropped from about 800k to about 15k, demonstrating significant cost savings.

Рабочий процесс

  • 1. Install the CodeCook VS Code extension.
  • 2. Configure a BYOK model (Gemini, OpenAI, Claude, Azure OpenAI, or Bedrock).
  • 3. Start an AI coding session; CodeCook summarizes older turns and tool output.
  • 4. Review token and cost estimates per turn and set daily, weekly, or monthly spend caps.
  • 5. Use checkpoints to review diffs, revert, or rewind as needed.

Доказательства

Long AI coding chats get expensive for a simple reason: every turn resends the whole conversation, so turn 30 costs far more than turn 3.

Источник

I built CodeCook to fix that. It's a free, MIT-licensed VS Code extension (disclosure: I'm the author).

Источник

Summarizes older turns and bulky tool output so you stop paying for them again

Источник

In one long session, a single turn went from about 800k to about 15k tokens.

Источник

  • Дата записи: 2026-10-12T21:41:28.185Z