Comment by d4rkp4ttern

2 days ago

It’s a very smart move for DeepSeek to put out an Anthropic-compatible API, similar to Kimi-k2, GLM4.5 (Puzzled as to why Qwen didn’t do this). You can set up a simple function in your .zhsrc to run Claude-Code with these models:

https://github.com/pchalasani/claude-code-tools/tree/main?ta...

Wow thanks! I just ran into my claude code session limit like an hour ago and tried the method you linked and added 10 CNY to a deepseek api account and an hour later i've got 7.77 CNY left and have used 3.3 million tokens.

I'm not confident enough to say it's as good as claude opus or even sonnet, but it seems not bad!

I did run into an api error when my context exceeded deepseek's 128k window and had to manually compact the context.