Back to Models
Meta: Llama 3.1 8B Instruct AI Model Icon

Meta: Llama 3.1 8B Instruct

meta-llama/llama-3.1-8b-instruct

Description

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3-1/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Meta: Llama 3.1 8B Instruct (meta-llama/llama-3.1-8b-instruct)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "meta-llama/llama-3.1-8b-instruct",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Meta: Llama 3.1 8B Instruct model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.02$ / 1M tokens
  • Output: 0.03$ / 1M tokens

Token Limits

  • Max Output: 16,384 tokens
  • Max Context: 131,072 tokens

Subscription Tiers

  • free
  • pro
  • ultimate