LLM Reference
Cloudflare Workers AI

Using Llama 3.2 1B Instruct on Cloudflare Workers AI

Implementation guide · Llama 3.2 · AI at Meta

ServerlessOpen Weights

Cloudflare Workers AI exposes Llama 3.2 1B Instruct through model ID @cf/meta/llama-3.2-1b-instruct. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-07-09. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Cloudflare Workers AI and generate an API key.
  2. 2
    Use the Cloudflare Workers AI SDK or REST API to call @cf/meta/llama-3.2-1b-instruct — see the documentation for request format.
  3. 3
    You'll be billed $0.03/1M input, $0.20/1M output tokens. See full pricing.

Code Examples

See Cloudflare Workers AI documentation for integration details.

Pricing on Cloudflare Workers AI

TypePrice (per 1M)
Input tokens$0.03
Output tokens$0.20

Capabilities

Structured Outputs

About Llama 3.2 1B Instruct

Llama 3.2 1B Instruct is Meta's Llama 3.2 model. It offers a 128K-token context window with weights openly available for self-hosting and scores 25.6 on GPQA.

Model Specs

Released2024-09-25
Parameters1.23B
Context128k
ArchitectureDecoder Only
Knowledge cutoff2023-12

Provider

Cloudflare Workers AI
Cloudflare Workers AI

Cloudflare

San Francisco, California, United States