I tested Claude Code's new experimental feature, Code Mode, on a real software project: same model, same task, 33% less cost. In this mode, released by Anthropic on November 12, Claude does not summon vehicles one by one; It simply writes a small JavaScript code, does the job in one go, and only reads the result. In this video, I show step by step how Code Mode works, how to turn it on, and how it compares to normal mode. What's in the video? - What is Harness, why is everything around the model important in Claude Code? - Why does Code Mode spend less tokens? (with an example of 50 files) - Installation: updating Claude Code and turning on experimental mode - Warm-up test: Code Mode and normal mode in a small question - Main task: adding 6 language support to my open source screen recording application Zeyvola - Results: comparison of cost, tokens and duration Chapters 0:00 Introduction: Claude Code's new experimental feature Code Mode 1:10 What is Harness? 1:52 How does Code Mode work? Why does it spend less tokens? 3:16 Installation: update and terminal command 4:19 Warm-up test: a small question 6:15 Main task: adding 6 languages to Zeyvola 7:21 Results: 33% less cost 8:06 Closing How to turn on Code Mode? Code Mode is currently experimental and turned off by default. It only works in terminal, not in Claude Desktop. 1. Check version: claude --version (must be 2.1.323 or higher) 2. Update if outdated: claude update 3. Start with experimental mode in terminal: macOS / Linux: CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude Windows (PowerShell): $env:CLAUDE_CODE_EXPERIMENTAL_CODE_MODE = "1" claude Every session If you want to keep it open, you can add this variable to the "env" block in the ~/.claude/settings.json file (it does not work in the project settings). Test results (Code Mode / normal mode) Quick question: - Cost: $0.23 / $0.43 (47% cheaper) - Input token: ~110k / ~381k (71% less) - Number of rounds: 3 / 5 Main mission (6 language support for Zeyvola): - Cost: $3.62 / $5.42 (33% less) - Input token: ~3.30M / ~4.37M (24% less) - Output token: 61.4k / 101.6k (40% less) - API time: 9 min 34 sec / 14 min 45 sec (35% faster) Note: One attempt was made for each mode. In a test by a foreign content producer, the saving was 29%. The application I used in the video: Zeyvola. A free and open source screen recording and editing application that offers automatic zoom, hiding personal information and one-click vertical (9:16) format. https://github.com/YildizDikme/zeyvola-screen-recorder Source Claude Code Code Mode documentation: https://code.claude.com/docs/en/code-mode I am preparing new videos on harness, prompt and context. Don't forget to subscribe so you don't miss it, and like the video if it was useful to you. If there is a feature or news you want me to test, write it in the comments, I read them all. #claudecode #codemode #anthropic #claude #artificialintelligence #aiagent #software #artificialintelligencetools #token #harness #javascript #zeyvola
The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!
If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.