Qianfan Chinese Llama 2 13B
Llama logo

Qianfan Chinese Llama 2 13B

qianfan-chinese-llama-2-13bllms.txt
Llama

Pricing

  • Input Tokens: $0.822 /M tokens
  • Output Tokens: $0.822 /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="qianfan-chinese-llama-2-13b",
        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 Qianfan Chinese Llama 2 13B cost?

    On AIHubMix, Qianfan Chinese Llama 2 13B costs $0.822 per million input tokens and $0.822 per million output tokens.