🚨 **Primary Error:** 400 Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
✅ **Resolution:** Rename max_tokens to max_completion_tokens (it also counts reasoning tokens) and drop unsupported sampling parameters such as temperature for o-series models.