Back to Models
M

LLaMA 2 70B Chat

by Meta AI

Natural Language Processing
LLaMA
Commercial
chat
reasoning
multilingual
instruction-following

LLaMA 2-Chat is a collection of fine-tuned large language models (LLMs) ranging in scale from 7B to 70B parameters. This is the 70B parameter version optimized for dialogue use cases.

4.8

Rating

125,000

Downloads

94%

Accuracy

150ms

Latency

Pricing
$0.02
per 1k tokens
Version:2.0.1
Model Size:70B parameters
Context Length:4096 tokens
Last Updated:2024-01-15
Interactive Playground
LLaMA 2 70B Chat
Integration Code
import { OpenAI } from 'openai';

const client = new OpenAI({
  apiKey: 'your-api-key',
  baseURL: 'https://api.aimarket.com/v1'
});

const response = await client.chat.completions.create({
  model: 'llama-2-70b-chat',
  messages: [
    { role: 'user', content: 'Explain quantum computing in simple terms.' }
  ],
  temperature: 0.7,
  max_tokens: 150
});