Back to Models
Meta Llama 3 8B Instruct Lite
meta-llama/meta-llama-3-8b-instruct-lite
Meta
Chat
Description
Meta Llama 3 8B Instruct Lite by Meta. This model supports chat capabilities. Variant: Instruct.
Specifications
- Context Length:
- 8192
- Variant:
- Instruct
- Parameters:
- 8B
Pricing
- Input Cost:
- $0.0200/100K tokens
- Output Cost:
- $0.0200/100K tokens
Usage Example
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.yourproxy.com/v1",
apiKey: process.env.PROXY_KEY,
});
const completion = await client.chat.completions.create({
model: "meta-llama/meta-llama-3-8b-instruct-lite",
messages: [{ role: "user", content: "Hello!" }],
});