Skip to content

Meta: Llama 3.1 8B Instruct

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

About this model

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...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "meta-llama/llama-3.1-8b-instruct",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

0.166 TND

per 1M tokens

Output tokens

0.266 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 0.299 TND.

Specifications

Provider
Meta
Context window
131,072 tokens
Input modality
Text
Added
Jul 23, 2024
Supported parameters
frequency_penaltylogit_biaslogprobsmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_format