Qwen/Qwen2-72B-Instruct
Qwen logo

Qwen/Qwen2-72B-Instruct

Qwen

Pricing

  • Input Tokens: $0.800 /M tokens
  • Output Tokens: $0.800 /M tokens

Input Modalities

    Try this model

    Python
    import os
    from openai import OpenAI
    
    client = OpenAI(
        api_key=os.environ["AIHUBMIX_API_KEY"],
        base_url="https://aihubmix.com/v1",
    )
    
    response = client.chat.completions.create(
        model="Qwen/Qwen2-72B-Instruct",
        messages=[
          {
            "role": "user",
            "content": "Hello, how are you?"
          }
        ],
        max_tokens=1024,
        stream=False,
    )
    
    print(response.choices[0].message.content)

    Frequently asked questions

    How much does Qwen/Qwen2-72B-Instruct cost?

    On AIHubMix, Qwen/Qwen2-72B-Instruct costs $0.8 per million input tokens and $0.8 per million output tokens.