Skip to content

[Bug] deepseek-v4 cache hit rate much lower than OpenRouter (same DeepSeek official provider) #346

@morirain

Description

@morirain

I am experiencing a cache problem with deepseek-v4-flash.Average input token usage is about 5 times higher than on OpenRouter (DeepSeek official provider).
On OpenRouter: ~400k input tokens only cost $0.001.
On CommandCode: ~70k input tokens cost up to $0.006.
Is there something I misunderstood?

Environment: Windows,command-code@0.25.10

Image

v4-flash:

Image

May be higher than deepseek-v4-pro:

Image

openrouter:

Image

openrouter usage:

Image

Image

Command Code Version

0.25.10

Operating System

Windows

Terminal/IDE

windows terminal

Shell

pwsh

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    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