Models / Meta
LLM

Llama 3 70B Instruct Reference

Auto-regressive LLM with optimized transformers, SFT, and RLHF for alignment with helpfulness and safety preferences.

About model

Llama 3 70B Instruct Reference provides conversational AI capabilities, excelling at generating human-like responses to user input. Its key strength lies in following instructions and engaging in productive discussions, making it suitable for developers and businesses seeking advanced chat functionality.

  • API usage

    • cURL
    • Python
    • Typescript

    Endpoint:

    meta-llama/Llama-3-70b-chat-hf

    curl -X POST "https://api.together.xyz/v1/chat/completions" \
      -H "Authorization: Bearer $TOGETHER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "meta-llama/Llama-3-70b-chat-hf",
        "messages": [
          {
            "role": "user",
            "content": "What are some fun things to do in New York?"
          }
        ]
    }'
    
    from together import Together
    
    client = Together()
    
    response = client.chat.completions.create(
      model="meta-llama/Llama-3-70b-chat-hf",
      messages=[
        {
          "role": "user",
          "content": "What are some fun things to do in New York?"
        }
      ]
    )
    print(response.choices[0].message.content)
    
    import Together from 'together-ai';
    const together = new Together();
    
    const completion = await together.chat.completions.create({
      model: 'meta-llama/Llama-3-70b-chat-hf',
      messages: [
        {
          role: 'user',
          content: 'What are some fun things to do in New York?'
         }
      ],
    });
    
    console.log(completion.choices[0].message.content);
    
Related models
  • Model provider
    Meta
  • Type
    LLM
  • Main use cases
    Chat
  • Features
    JSON Mode
  • Deployment
    Serverless
    On-Demand Dedicated
    Monthly Reserved
  • Parameters
    70B
  • Context length
    8K
  • Input price

    $0.88 / 1M tokens

  • Output price

    $0.88 / 1M tokens

  • Input modalities
    Text
  • Output modalities
    Text
  • Released
    April 17, 2024
  • Quantization level
    FP16
  • External link
  • Category
    Chat