Skip to main content
Anthropic retired claude-3-7-sonnet-20250219 on February 19, 2026. Replace it with claude-sonnet-4-6 before running. See Claude model deprecations. Groq shut down qwen/qwen3-32b for free and developer tiers on July 17, 2026. Replace it with qwen/qwen3.6-27b. See Groq deprecations.
deepseek_plus_claude.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Update the Claude model

Replace claude-3-7-sonnet-20250219 with claude-sonnet-4-6 in the saved file.
5

Replace Qwen3 32B

Replace qwen/qwen3-32b with qwen/qwen3.6-27b in the saved file.
6

Run the example

Save the code above as deepseek_plus_claude.py, then run:
Full source: cookbook/10_reasoning/models/groq/deepseek_plus_claude.py