cpaua
·1 min0

How to Get Free DeepSeek V4 Access in Claude Code (Bailian & ModelScope)

How to Get Free DeepSeek V4 Access in Claude Code (Bailian & ModelScope)
photo_3061.jpgphoto_3062.jpgphoto_3063.jpg

Chon Hyeonwoo from Tokyo shared a guide on free access to DeepSeek V4 in Claude Code:

Step 1: get an API key
You can use Aliyun Bailian or ModelScope — both provide a free quota

Aliyun Bailian (1 million tokens each for V4 flash and pro)

ModelScope (on average 2000 free calls per day, limit — 500 calls per model)

Step 2: download CC Switch and create a provider
farion1231/cc-switchgithub.com/farion1231/cc-switch — a desktop tool for switching between providers

After installation:
— open the app
— create a new provider
— choose Bailian or ModelScope from the presets
— paste the API key

Step 3: configure the model
Configuration depends on the task. Example:
— main model: V4 flash
— for complex tasks: V4 pro

Nuance: by default, the context is 200K
To enable 1M, you need to add [1m] to the model name

Model name formats :
— Aliyun Bailian:
deepseek-v4-flash[1m], deepseek-v4-pro[1m]

— ModelScope:
deepseek-ai/DeepSeek-V4-Flash[1m], deepseek-ai/DeepSeek-V4-Pro[1m]

Step 4: save the config and launch Claude Code

Share:
Author
cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Comments

To leave a comment, log in or sign up
Loading...

Related articles