Seedream 5.0 Pro è LIVE | Prova nel Generatore di immagini →
meta
meta-llama/llama-3.2-3b-instruct

meta-llama/llama-3.2-3b-instruct

Data di rilascio: 2024-09-25

80,000 context · $0.05/M input tokens · $0.34/M output tokens

Llama 3.2 3B is a 3-billion-parameter multilingual large language model, optimized for advanced natural language processing tasks like dialogue generation, reasoning, and summarization. Designed with the latest transformer architecture, it...

Prezzi

Pay-per-use

Nessun costo iniziale, paga solo per ciò che usi

Input$0.05 / M Tokens
Output$0.34 / M Tokens

Prova il modello

meta-llama/llama-3.2-3b-instruct
Online
meta
Ciao! Sono un assistente IA utile. Come posso aiutarti?
Pronto a usare questo modello in un coding agent locale?Setup agent

Utilizzo API

Usa i seguenti esempi di codice per integrare la nostra API:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'meta-llama/llama-3.2-3b-instruct',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

Introduzione al modello

Meta-Llama llama-3.2-3b-instruct

meta-llama llama-3.2-3b-instruct


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 131072 context window for long document handling
  • Competitive pricing at $0.0/$0.0 per million tokens

Key Features

  • Context Window: 131072 tokens
  • Max Output: 16384 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMeta-Llama
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window131072 tokens
Max Output16384 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: meta-llama/llama-3.2-3b-instruct


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-3.2-3b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "meta-llama/llama-3.2-3b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: meta-llama/llama-3.2-3b-instruct
  • Provider: Meta-Llama

Info

Providermeta
Tipollm

Funzionalità supportate

Input
Testo
Output
Testo
Contesto80,000
Output massimo16,384
Vision-
Function Calling-

Guida all'accesso API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID modellometa-llama/llama-3.2-3b-instruct

Llama 3.2 3b Instruct API

meta-llama/llama-3.2-3b-instruct

Llama 3.2 3B is a 3-billion-parameter multilingual large language model, optimized for advanced natural language processing tasks like dialogue generation, reasoning, and summarization. Designed with the latest transformer architecture, it...

Input

$0.051 /M

Output

$0.34 /M

Contesto

80K

Output max

16K

Prova Llama 3.2 3b Instruct su WaveSpeedAI

Accedi a Llama 3.2 3b Instruct tramite la nostra API unificata — compatibile con OpenAI, senza cold start, prezzi trasparenti.

Domande frequenti su Llama 3.2 3b Instruct

Quanto costa Llama 3.2 3b Instruct via API?+

Prezzi su WaveSpeedAI: $0.05 per milione di token in input e $0.34 per milione di token in output. Prompt caching e batch processing sono fatturati separatamente e riducono il costo effettivo su carichi lunghi e ripetitivi.

Qual è la context window di Llama 3.2 3b Instruct?+

Llama 3.2 3b Instruct supporta fino a 80K token di contesto e fino a 16K token di output per richiesta.

Llama 3.2 3b Instruct è compatibile con OpenAI?+

WaveSpeedAI espone Llama 3.2 3b Instruct su https://llm.wavespeed.ai/v1 tramite l’interfaccia Chat Completions compatibile con OpenAI. Per la maggior parte dei client OpenAI SDK basta cambiare base URL e API key; i campi opzionali dipendono dal modello.

Come si inizia con Llama 3.2 3b Instruct?+

Accedi a WaveSpeedAI, crea una API key in Access Keys e invia una richiesta a https://llm.wavespeed.ai/v1/chat/completions con il model id mostrato sopra. Consulta il catalogo attuale per disponibilità, funzionalità e prezzi.

API LLM correlate

Llama 3.2 3b Instruct | Meta LLM API | WaveSpeedAI