4 ms·
wait, you can use other models with CC harness?
by nebben64 3mo ago
wait, you can use other models with CC harness?
- aftbit 3mo agoYes, as long as they support the Anthropic API standard. You might have luck converting between standards using litellm's proxy. The system prompt and tool choice are tuned for Anthropic's models. For example, this setup will use Deepseek V4 Pro with their first-party (subsidized) API. Things like the Read tool on images won't work, but mostly this works well. Your mileage may vary. #!/bin/sh export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic export ANTHROPIC_AUTH_TOKEN=sk-secret export ANTHROPIC_MODEL=${ANTHROPIC_MODEL:-deepseek-v4-pro} export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 exec claude $@
- nebben64 3mo agoThank you!