GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Opencode Go/Deepseek V4 flash · Issue #33473 · anomalyco/opencode

Opencode Go/Deepseek V4 flash #33473

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Opencode Go/Deepseek V4 flash#33473
Copy link
Assignees
MrMushrooooom

Description

@tthoele89
tthoele89
opened on Jun 23, 2026
Issue body actions

Description

I upgraded to 1.17.8 and was developing all day. when I checked my usage, I am at 25%!! it seems that there were no cache hits, and apparently some kind of bug. I just had my opencode go subcription renew today, only to watch 25 percent disappear.

What do I do next? Is this fixed in 1.17.9?

Plugins

No response

OpenCode version

1.17.8

Steps to reproduce

The bug has been tested in this Reddit thread:

https://www.reddit.com/r/opencodeCLI/comments/1u9grix/opencode_not_using_prompt_caching_with_deepseek/

Every prompt I send costs 160–170K input tokens because the full conversation history gets re-sent each turn with no caching. Tested in a brand new empty folder — even "hello" costs ~8K tokens (that's OpenCode's fixed system prompt + tool definitions overhead, apparently normal). The real problem: after a long session there's zero cache reduction. No "cache read" field in the UI, no cost savings between turns.

DeepSeek V3/V4 supports native prompt caching so the model can do it. The issue seems to be OpenCode not sending cache_control in its API requests.

Screenshot and/or share link

Image Image

Operating System

Debian Trixie

Terminal

Tabby Terminal

Reacted by AD

Activity

  1. github-actions
    assigned
    MrMushrooooom
    on Jun 23, 2026
  2. github-actions commented on Jun 23, 2026

    @github-actions
    github-actionsBot
    on Jun 23, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Steps to reproduce is empty — please describe what you were doing when you noticed the cache miss behavior (e.g., which model/provider configuration, session length, etc.)
    • OpenCode version is missing — please include the exact version (you mentioned 1.17.8 in the description, add it to the field)
    • Operating System and Terminal fields are empty — system info helps diagnose environment-specific issues

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    • Deepseek API burning too many tokens. #32911: Deepseek API burning too many tokens — same symptom (no cache hits with Deepseek, excessive token/billing usage, version 1.17+)
    • [FEATURE]: improve Deepseek prompt cache reuse #31979: [FEATURE]: improve Deepseek prompt cache reuse — related Deepseek caching issue

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions
    added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Jun 23, 2026
  4. github-actions commented on Jun 23, 2026

    @github-actions
    github-actionsBot
    on Jun 23, 2026 – with GitHub Actions
    Contributor
    More actions

    Thanks for updating the issue! It now includes a clear description, reproduction steps, version info, OS, terminal, and screenshots. Everything looks good — the compliance flag has been removed.

  5. axetroy commented on Jun 30, 2026

    @axetroy
    axetroy
    on Jun 30, 2026
    More actions
    Image

    A simple self-introduction consumed 9K tokens.

  6. github-actions commented on Aug 30, 2026

    @github-actions
    github-actionsBot
    on Aug 30, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  7. github-actions
    closed this as not plannedon Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @MrMushrooooom
    MrMushrooooom

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.