Seedream 5.0 Pro đã ra mắt | Thử trong Trình tạo ảnh →
meta
meta-llama/llama-3.2-3b-instruct

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

Ngày phát hành: 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...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

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

Try the model

meta-llama/llama-3.2-3b-instruct
Online
meta
Hi! I am a helpful AI assistant. What can I do for you?
Sẵn sàng dùng model này trong coding agent local?Setup agent

API Usage

Use the following code examples to integrate with our API:

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)

Model Introduction

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
Typellm

Supported Functionality

Input
Text
Output
Text
Context80,000
Max Output16,384
Vision-
Function Calling-

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDmeta-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

Context

80K

Max Output

16K

Try Llama 3.2 3b Instruct on WaveSpeedAI

Access Llama 3.2 3b Instruct through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about Llama 3.2 3b Instruct

How much does Llama 3.2 3b Instruct cost via the API?+

Pricing on WaveSpeedAI: $0.05 per million input tokens and $0.34 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Llama 3.2 3b Instruct?+

Llama 3.2 3b Instruct supports up to 80K tokens of context with up to 16K tokens of output per request.

Is Llama 3.2 3b Instruct OpenAI-compatible?+

Yes. WaveSpeedAI exposes Llama 3.2 3b Instruct through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with Llama 3.2 3b Instruct?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Llama 3.2 3b Instruct before paying per token.

Related LLM APIs

Llama 3.2 3b Instruct | Meta LLM API | WaveSpeedAI