Skip to main content
Groq retired the source’s Qwen-2.5-32b model in April 2025. Replace it with qwen/qwen3.6-27b. Groq retired the source’s Deepseek-r1-distill-qwen-32b model in April 2025. Replace it with qwen/qwen3.6-27b. See Groq deprecations.
demo_deepseek_qwen.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your Groq API key

4

Replace Qwen 2.5 32B

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

Replace DeepSeek Qwen Distill

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

Run the example

Save the code above as demo_deepseek_qwen.py, then run:
Full source: cookbook/90_models/groq/reasoning/demo_deepseek_qwen.py