meta/llama3-8B-chat
Llama logo

meta/llama3-8B-chat

Llama

Pricing

  • Input Tokens: $0.300 /M tokens
  • Output Tokens: $0.300 /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="meta/llama3-8B-chat",
        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 meta/llama3-8B-chat cost?

    On AIHubMix, meta/llama3-8B-chat costs $0.3 per million input tokens and $0.3 per million output tokens.