Qwen Flash
Qwen logo

Qwen Flash

qwen-flashllms.txt
Qwen
The model adopts tiered pricing.

Pricing

TierPricingCache Read
Input<=128K
$0.0205$0.2055
-
128K<Input<=256K
$0.0822$0.8219
-
256K<Input<=1000K
$0.1644$1.6438
-

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-flash",
        messages=[
          {
            "role": "user",
            "content": "Hello, how are you?"
          }
        ],
        max_tokens=1024,
        stream=False,
    )
    
    print(response.choices[0].message.content)

    Frequently asked questions

    What is Qwen Flash?

    The model adopts tiered pricing.