Set up a separate DeepSeek V4.1 Flash profile using Hugging Face and these environment variables. Use the existing Claude Code install (2.1.257+); no extra tools or setup script. CLAUDE_CONFIG_DIR = Absolute path to a separate folder named claude-deepseek (not a command). ANTHROPIC_BASE_URL = https://router.huggingface.co ANTHROPIC_AUTH_TOKEN = Your HF token (Make calls to Inference Providers permission). ANTHROPIC_API_KEY = The same HF token. ANTHROPIC_MODEL = deepseek-ai/DeepSeek-V4.1-Flash ANTHROPIC_DEFAULT_FABLE_MODEL = deepseek-ai/DeepSeek-V4.1-Flash ANTHROPIC_DEFAULT_OPUS_MODEL = deepseek-ai/DeepSeek-V4.1-Flash ANTHROPIC_DEFAULT_SONNET_MODEL = deepseek-ai/DeepSeek-V4.1-Flash ANTHROPIC_DEFAULT_HAIKU_MODEL = deepseek-ai/DeepSeek-V4.1-Flash CLAUDE_CODE_SUBAGENT_MODEL = deepseek-ai/DeepSeek-V4.1-Flash CLAUDE_CODE_SUBAGENT_MODEL_FORCE = 1 CLAUDE_CODE_MAX_CONTEXT_TOKENS = 1000000 CLAUDE_CODE_AUTO_COMPACT_WINDOW = 400000 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = 1 CLAUDE_CODE_ENABLE_TODO_TOOLS = 1 Keep changes scoped to this profile, preserving native Claude settings and running sessions. Use a locally supplied key without displaying it. Ask only for missing setup details. Check for conflicting settings. In this profile’s launch environment only, clear inherited OAuth/cloud-provider overrides and unset DISABLE_AUTO_COMPACT and DISABLE_COMPACT. Report conflicts requiring changes elsewhere. The profile name claude-deepseek is a folder name, not an automatically created command. List changed files and give the OS-appropriate command to launch the existing claude binary with this profile’s environment. Keep normal permission checks. Leave launching and testing to me; do not start a session or make inference calls. References: https://code.claude.com/docs/en/env-vars https://huggingface.co/docs/inference-providers/en/integrations/claude-code https://router.huggingface.co/v1/models