Both of those models have Anthropic API compatible endpoints, so you just set an environmental variable pointing to them before you run Claude Code.