alibaba

Alibaba: Qwen Max

models/Qwen-Max

Qwen Max, based on Qwen2.5, provides the best inference performance among Qwen models, especially for complex multi step tasks. It's a large scale MoE model that has been pretrained on over 20 trillion tokens and further post trained with curated Supervised Fine Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) methodologies.
Currency$USD
Input$1.60
Output$6.40
Context window32.8K

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configalibaba/qwen-max
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="alibaba/qwen-max",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])