---
title: "Llama 3.2 3B Instruct API Pricing & Context | Inference.net"
description: "Run Llama 3.2 3B Instruct by Meta on Inference.net: $0.05/1M input, $0.33/1M output, 131K context. OpenAI-compatible API quickstart."
url: "https://inference.net/models/llama-3-2-3b-instruct/"
---

# Llama 3.2 3B Instruct

Run Llama 3.2 3B Instruct by Meta on Inference.net through a serverless, OpenAI-compatible API at $0.05 per 1M input tokens and $0.33 per 1M output tokens. Built on a 3B-parameter Dense Transformer architecture with a 131K-token context window for production text generation, it streams low-latency responses with Zero Data Retention enabled by default.

Meta Text Generation Model Dense Transformer 131K context

[Get started](https://inference.net/register/) [Documentation](https://inference.net/docs/api/quickstart/)`llama-3.2-3b-instruct`

MODEL API PRICING

PER 1M TOKENS

Input

$0.05

Cache read

N/A

Output

$0.33

[See all pricing](https://inference.net/subscription/)

MODEL SPEC

Developed by

Meta

Model family

Llama 3.2 3B Instruct

Size

3B parameters

Architecture

Dense Transformer

Context window

131K tokens

Max output

131K tokens

License

Llama Community License

Overview

Llama 3.2 3B Instruct is a 3B-parameter text generation model from Meta built on a Dense Transformer architecture, available through the Inference.net serverless API. Use the same OpenAI-compatible request shape across the catalog and switch models by changing a single identifier.

The API supports streaming responses and project-scoped credentials. Usage, token volume, and spend appear in the dashboard automatically, so the model can move from evaluation to production without a second integration path.

QUICKSTART [Get API key](https://inference.net/dashboard/api-keys/)

```typescript
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'llama-3.2-3b-instruct',
  messages: [{ role: 'user', content: 'Hello' }],
})
```

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inference.net/v1",
    api_key=os.environ["INFERENCE_API_KEY"],
)

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

```curl
curl https://api.inference.net/v1/chat/completions \
  -H "Authorization: Bearer $INFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3.2-3b-instruct",
    "messages": [
      { "role": "user", "content": "Hello" }
    ]
  }'
```

## PRICING & TOKEN RATES

USD per 1M tokens

| Token type | Rate (per 1M) | Details |
| --- | --- | --- |
| Input | $0.05 | Standard prompt tokens |
| Cache read | N/A | No cache read discount listed |
| Output | $0.33 | Generated completion tokens |
| Reasoning | $0.00 | Reasoning / thinking output tokens |

## SPECIFICATIONS & CAPABILITIES

llama-3.2-3b-instruct

| Specification | Value |
| --- | --- |
| Maker | Meta |
| Architecture | Dense Transformer |
| Parameters | 3B |
| Quantization | Native / Unspecified |
| Context window | 131K tokens (131,072) |
| Max output | 131K tokens (131,072) |
| Input modalities | Text |
| Output modalities | Text |
| Tool calling | Not supported |
| Structured outputs | Not supported |
| JSON object mode | Not supported |
| Logprobs | Not specified |
| Reasoning efforts | Not supported |
| Supported wire endpoints | `/v1/chat/completions``/v1/responses``/v1/messages` |
| Data residency | Global (`api.inference.net`) |
| License | Llama Community License |
| Artificial Analysis Intelligence Index | [4 (captured Jul 31, 2026)](https://artificialanalysis.ai/models/llama-3-2-instruct-3b) |
| Hugging Face repository | [`meta-llama/Llama-3.2-3B-Instruct`](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) |
| Release date | Sep 25, 2024 |

AGENT INTEGRATIONS [View all](https://inference.net/docs/integrations/overview/)

[### Claude Code Native Anthropic /v1/messages. Six model slots for every Claude Code workload. `fast claude on`](https://inference.net/docs/integrations/claude-code/) [### Codex OpenAI-compatible Responses API with a reversible Codex configuration. `fast codex on`](https://inference.net/docs/integrations/codex/) [### Grok Chat completions with a catalog-backed section for each supported alias. `fast grok on`](https://inference.net/docs/integrations/grok/) [### OpenCode Chat completions with Inference.net models registered as an OpenCode provider. `fast opencode on`](https://inference.net/docs/integrations/opencode/) [### Pi Chat completions with model and provider settings written for Pi Agent. `fast pi on`](https://inference.net/docs/integrations/pi/) [### Hermes Hermes provider configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/hermes/) [### OpenClaw OpenClaw provider routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/openclaw/) [### Fx Fx gateway configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/fx/) [### Cursor Cursor base URL routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/cursor/)

FAQ

## Frequently asked questions about Llama 3.2 3B Instruct

### How much does Llama 3.2 3B Instruct cost on Inference.net, and is prompt caching supported?

On Inference.net, Llama 3.2 3B Instruct is priced at $0.05 per 1M input tokens and $0.33 per 1M output tokens. Prompt cache discounts are not currently listed for this model.

### What are the context window and max output token limits for Llama 3.2 3B Instruct?

Llama 3.2 3B Instruct supports a 131K tokens (131,072) input context window and up to 131K tokens (131,072) output tokens per request. It accepts text input and produces text output.

### What capabilities and API endpoints does Llama 3.2 3B Instruct support?

Llama 3.2 3B Instruct supports standard text inference. It is callable over /v1/chat/completions, /v1/responses, and /v1/messages on Inference.net.

### Does Inference.net offer Zero Data Retention and US data residency for Llama 3.2 3B Instruct?

Yes. Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and outputs sent to Llama 3.2 3B Instruct are not retained after processing. Inference.net is SOC 2 Type 2 compliant; see our [ZDR policy](https://inference.net/zero-data-retention/) for full details. Requests are served via the global api.inference.net endpoint.

### Can I call Llama 3.2 3B Instruct with the standard OpenAI SDK?

Yes. Point the official OpenAI TypeScript or Python SDK (or any OpenAI-compatible coding agent) to https://api.inference.net/v1 with your Inference.net API key and set model to "llama-3.2-3b-instruct".

Related models

[See all models](https://inference.net/models/)

[**Llama 3.3 70B Instruct**Meta 131K context In **$0.13** Out **$0.40**](https://inference.net/models/llama-3-3-70b-instruct/) [**Llama 3.2 1B Instruct**Meta 60K context In **$0.027** Out **$0.201**](https://inference.net/models/llama-3-2-1b-instruct/) [**Schematron V2 Small**InferenceNet 128K context In **$0.05** Out **$0.23**](https://inference.net/models/schematron-v2-small/) [**Schematron V2 Turbo**InferenceNet 128K context In **$0.03** Out **$0.15**](https://inference.net/models/schematron-v2-turbo/)

Ready when you are

## Start building with Llama 3.2 3B Instruct today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get started](https://inference.net/register/) [Read the docs](https://inference.net/docs/api/quickstart/)
