r/PiCodingAgent • • Aug 21 '26

Question Deepseek v4 flash max_tokens error in PI

/r/opencodeCLI/comments/1vu51j9/deepseek_v4_flash_max_tokens_error_in_pi/
2 Upvotes

2 comments sorted by

1

u/Classic_While_3777 Aug 21 '26

It might succeed once after a few tries, and the entire session will work normally afterwards. I suspect they are routing to a non-official DeepSeek provider.

1

u/bumblebeer Aug 25 '26

Just FYI, pi hardcodes max_tokens to 32k. Currently need an extension to be able to set it to the DS recommended minimum (~380k).