r/CommandCode • u/Wherearemyquartz • 8d ago
How are u using Claude Code + DeepSeek V4.1 Flash together?
I'm been trying to figure out a good setup where Claude Code handles planning/orchestration and DeepSeek V4.1 Flash 1017 does most of the actual coding. Got the $10 Command Code Goat subscription and I'm using Pi inside T3 Code, alongside Claude Code (Pro) and Codex (Plus).
The idea is to have Claude break down tasks and guide the implementation, DeepSeek do the heavy lifting, and occasionally use GPT models for reviewing the changes. Basically trying to reduce Claude usage without sacrificing quality.
How are you guys actually setting this up? Are you using CLAUDE.md instructions, skills, subagents or some MCP/CLI integration to make Claude delegate automatically? Or do you just manually tell Claude to hand off tasks? Would be great to see some actual configs or workflows that are working well.
1
u/Money-String4165 8d ago
Claude code is on the same box as my hermes. Hermes has deepseek flash 4.1 1017 as the default model. Fable or Opus can spin that up whenever they want. They sip tokens orchestrating/planning then letting cheap models execute the plan perfectly. DM me if you need anything.
2
u/MiraiHatada 8d ago
Custom deepseek runner / auto codex reviewer programmed in Rust, claude will do in a day or two, at least mine did. It does communicate with headless dsh and codex cli (with json stream), automatically until codex gives a LGTM. Well, in fact a lot more comprecated thIngs with determInistic reviewing/feedback/dispute, but basically just cli wrapper to start with, and it doesn't make workflow mistakes unlike MCP/skills task management bullshit. Again, claude will do the whole system in a day so don't hesitate! Let all your possible workflow be coded.
3
u/Legitimate_Fan_3240 8d ago
Yo uso Claude para planificar y auditar y command code lo uso para hacer código 🗿
2
u/bigheartenergy17 8d ago
I use a hook. When Claude calls a tool, the hook triggers and asks Claude to evaluate whether the specific tasks it's trying to do is better off handed to DeepSeek. Saves me a lot of tokens and I can sometimes even last 5 hours of coding on the 20-dollar plan.
1
u/Lovelywanz 8d ago
How to setup deepseek model in claude code? I'm facing this error.
I asked Gemini and it said CommandCode only support OpenAI Chat Completions format for Deepseek model, but Claude only recognize Anthropic Messages format.
1
u/ivanjxx 8d ago
omp
1
u/PerfectReflection155 8d ago
I am using pi chamber with Claude oauth bridge so I can use everything there.
Haven’t heard of Claude code and deepseek together. Claude code is also quite bloated compared to pi. 80k context filled on first turn for me compared to 14k with pi.
1
u/tronkk 7d ago
opencode + subagents
1
u/Striking_Union_1610 7d ago
I'm using everything in opencode. Planner + Review are handled by Opus and Sonnet, implementation by deepseek 4.1 flash
1
u/Broad_Opportunity_98 6d ago
To be honest I had the same problem. What I did was to create two skills. I'm also using claude pro with command code. You don't need to add multiple layers like, Pi and then T3 code.
My workflow is:
I would send you my skills, but i'm trying to improve them a bit more, i'm sorry, but try to make them yourself is actually not that hard.
The token usage is difference is crazy, to be honest is the best method i have tried and neither my command code nor my claude subscription pass the 30% of 5 hour rolling session.
Maybe then you can save some money with the extra codex haha.
But trust man, i really tried a lot of methods and this is the one that has gave me best results
0
u/ahmadawaiscom 8d ago
Try this, Claude to plan and DeepSeek to execute.
https://commandcode.ai/docs/plan-mode#a-model-for-each-phase
Planning and implementing want different things: a strong reasoner to explore and design, a fast, cheap coder to grind through the edits. Set a planning and an implementation model and Command Code switches between them for you: