AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Cloudflare AI Gateway

Llama 3.2 1B Instruct API

Cloudflare AI Gateway
About

Process massive datasets with Llama 3.2 1B Instruct, featuring an expansive 128K context window for long-document analysis. This model delivers cost-effective pricing at $0.03/1M input and $0.20/1M output tokens. Access Llama 3.2 1B Instruct via the Cloudflare AI Gateway API with up to 16K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
No
WeightsClosed
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
128K

Tokens

Input Limit
128K

Tokens

Max Output
16K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.03
Output
$0.20
Frequently Asked Questions

Llama 3.2 1B Instruct by Cloudflare AI Gateway costs $0.03 per 1M input tokens and $0.20 per 1M output tokens.

Model Details
ID
workers-ai/@cf/meta/llama-3.2-1b-instruct
Provider
Cloudflare AI Gateway
Family
llama
Release Date
Apr 3, 2025
Knowledge Cutoff
N/A
API Integration
NPM Package
ai-gateway-provider
Environment Variables
CLOUDFLARE_API_TOKEN
CLOUDFLARE_ACCOUNT_ID
CLOUDFLARE_GATEWAY_ID
API Base URL
https://gateway.ai.cloudflare.com/v1/${CLOUDFLARE_ACCOUNT_ID}/${CLOUDFLARE_GATEWAY_ID}/compat/
Documentation