Call Alibaba’s new Qwen4-Max from Python via QwenCloud’s OpenAI-compatible API: 1M context, thinking control, tool calls, caching and cost tips.