Try Hanzo
Meta

Llama 3.1 8B Instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.

POST /v1/chat/completions
example
{ "model": "meta-llama/llama-3.1-8b-instruct", "messages": [{ "role": "user", "content": "Who are you?" }] }
Llama 3.1 8B Instruct

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

131Ktext

Specifications

Context Window131K
Modalitiestext
Price…
Model IDmeta-llama/llama-3.1-8b-instruct
TypeScript
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})

const response = await client.chat.completions.create({
  model: 'meta-llama/llama-3.1-8b-instruct',
  messages: [{ role: 'user', content: 'Hello!' }]
})

console.log(response.choices[0].message.content)
…

Use Llama 3.1 8B Instruct via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

Build what’s next.