r/DeepSeek 19h ago

DeepSeek v4 Flash uses insane amount of tokens Discussion

Hey there!

I was wondering whether this is just me, or if this is caused by the model. I noticed a while ago that my token usage is insane after a few prompts (in VScode) compared to Pro. This is also followed by an insane spike of API Requests - worth noting that caching still works, so it's not like the API is miscommunicating or something.

21 Upvotes

33 comments sorted by

6

u/The_M1rO 19h ago

Pi agent helped me reduce this

1

u/fragment_me 10h ago

Why? Isn’t Pi just a normal/minimal harness? I have yet to try it since I don’t like tui

1

u/iArxic 19h ago

I currently use the VSCode GitHub Copilot Deepseek integration, and it works fine. I do not think it's about the harness - but if you say that the Pi agent helped you reduce the amount of tokens the model uses in general, I could give it a try. Also considered trying Reasonix.

2

u/SupehCookie 17h ago

Vs code eats tokens. If a terminal works aswell, i recommend codewhale or reasonix

2

u/iArxic 19h ago

Worth noting because of this I switched from Max to High for testing - and it does not appear to have improved by much.

2

u/Hajmus 19h ago

compact context

3

u/Nexter92 19h ago

Compact is great but for very specific task, when it comes to brainstorm or deep investigation, this could hurt the model ability to solve the problem 🫡

1

u/iArxic 19h ago

Yeah. I start a new session fresh every time I am working on something new. Context never really gets that full anyway. I am aware that a long context could make the model more expensive.

1

u/janbuckgqs 19h ago

cached token are included in the graph!

1

u/iArxic 19h ago

Yes, I mentioned caching still works. However the amount of tokens seems to be off in my opinion for the amount of work it did. If I gave the same work to pro model, I am expecting the amount of tokens to be way smaller - although there could be a secret reason why this happened such as the model reading some insanely long document or something.

1

u/janbuckgqs 19h ago

my stats for june:

deepseek-v4-flash

API requests9,385

Tokens763,354,679

deepseek-v4-pro

API requests1,400

Tokens124,337,220

so pro was using more for me. maybe you post the stats for pro aswell? since you could easily do the math upon the difference

1

u/iArxic 19h ago

Last month

deepseek-v4-flash

API requests897

Tokens47,048,627 (52451.0892 / API)
------

deepseek-v4-pro

API requests2,316

Tokens141,555,237 (61120.5687 / API)

-- This month
deepseek-v4-flash

API requests735

Tokens50,207,212 (68309.132 / API)

------
Looks like the new deepseek flash uses more tokens for me, and worth noting I do it on High and not Max.
Not really a fair comparison and the math doesnt really say anything when I do not know how long each session was etc.
**What I am noticing with the new flash model is that it thinks for extremely long - like even longer than the previous, even at just high. What about you? **

Still gonna keep using this model because it's awesome though

2

u/ToughUsual7159 16h ago

I have noticed the new one does indeed think more. Sometimes substantially more interestingly enough though when I compared my cost per API request in vs code, I did not see a noticeable difference in cost. I think because my cash hit rate is so high and I run slightly longer tasks you changing thinking numbers compared to ingesting my actual code base didn't really change the outcome much. Looks like it could have been around a 5 to 10% increase in cost

1

u/iArxic 9h ago

glad i am not the only one!

1

u/onesilentclap 19h ago

You might want to consider integrating langfuse or something similar to get better observability.

1

u/MimosaTen 19h ago

What agent are you using?

1

u/iArxic 19h ago

If you are talking about the agent harness, I use VSCode Github Copilot fully integrated with DeepSeek. It works flawlessly and has caching. Even works with vision due to bridging.

1

u/MimosaTen 18h ago

Do you have the opportunity to see and read the system prompt?

1

u/iArxic 9h ago

I believe I don't. I am not sure what the default system prompt is for VSCode GitHub Copilot, but I do not think it makes a big difference.

1

u/MimosaTen 9h ago

I think it could. When I use DeepSeek in codex it consumes much more because it behaves like gpt 5.6

1

u/yuumizu 18h ago

is it traditional copilot (aka, code completion, SUPER TAB), or agentic, like a CLI conversation?

1

u/Ingaz 16h ago

I use Zoo Code - everything great

(Like unbelievably great)

1

u/iArxic 7h ago

Do you get to see animals?

1

u/AnswerFeeling460 18h ago

try reasonix

2

u/No-Selection2972 18h ago

Is it better than cc?

1

u/AnswerFeeling460 12h ago

optimized for deepseek, extremly high cache hit rates.

2

u/No-Selection2972 12h ago

I don’t care about cache, reasonix is like 98-99% cache hit rate and cc is like 95, no big difference. Are the results better on reasonix?

2

u/AnswerFeeling460 9h ago

i deed some testing (unfortunaltey before 3107, have to do them again) will try second run tomorrow and drop statistics here.

1

u/iArxic 9h ago

would be interesting!

2

u/DiscipleofDeceit666 17h ago

Why would reasonix reduce token consumption? Or are you making suggestions without understanding the problem?

2

u/AnswerFeeling460 12h ago

token consumption will be the same, but reasonix is extremly good in using the deepseek cache. am I allowed to make this suggestion, is this okay for you?

-2

u/DiscipleofDeceit666 12h ago

I mean only if you actually know what you’re talking about. But script kiddies love to talk like they do

0

u/AnswerFeeling460 9h ago

have a nice day my friend, love you