LLM Reference
Cloudflare Workers AI

Llama 3.1 70B Instruct on Cloudflare Workers AI

Llama 3.1 · AI at Meta

ServerlessOpen Weights

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

Why use Llama 3.1 70B Instruct on Cloudflare Workers AI?

Cloudflare Workers AI offers Llama 3.1 70B Instruct with competitive pricing. Cloudflare is a leading connectivity cloud company that provides a comprehensive suite of cloud-native products and developer tools to enhance web performance, security, and reliability.

Compare Llama 3.1 70B Instruct across 13 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: @cf/meta/llama-3.1-70b-instruct
Model ID
@cf/meta/llama-3.1-70b-instruct

Request example

Curated snippets for this provider are not sourced yet. Use Cloudflare Workers AI documentation with model ID @cf/meta/llama-3.1-70b-instruct.

Gotchas

  • Use provider model ID "@cf/meta/llama-3.1-70b-instruct", not the LLMReference slug "llama3.1-70b-instruct".

Compare Llama 3.1 70B Instruct Across Providers

ProviderInput (per 1M)Output (per 1M)
Cloudflare Workers AI
OctoAI API (Deprecated)
Together AI$0.88$0.88
Fireworks AI$0.90$0.90
NVIDIA NIM
View all 13 providers →

Capabilities

Structured Outputs

About Llama 3.1 70B Instruct

The Llama 3.1 70B Instruct model is a cutting-edge large language model with 70 billion parameters, designed for instruction-following tasks. It features multilingual capabilities, supporting languages like English, German, French, and others. Fine-tuned using supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF), it excels in understanding and responding to user instructions. The model can handle a context length of up to 128k tokens, making it suitable for complex dialogue systems and applications requiring detailed responses.

Get Started