Last refreshed 2026-04-24. Next refresh: weekly.
Why use Llama 3 8B Instruct on Cloudflare Workers AI?
Cloudflare Workers AI offers Llama 3 8B 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 8B Instruct across 17 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: @cf/meta/llama-3-8b-instruct@cf/meta/llama-3-8b-instructRequest example
@cf/meta/llama-3-8b-instruct.Gotchas
- Use provider model ID "@cf/meta/llama-3-8b-instruct", not the LLMReference slug "llama3-8b-instruct".
Compare Llama 3 8B Instruct Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| AWS Bedrock | $0.30 | $0.60 |
| DeepInfra | $0.02 | $0.05 |
| OctoAI API (Deprecated) | $0.15 | $0.15 |
| Fireworks AI | $0.20 | $0.20 |
| Alibaba Cloud PAI-EAS | — | — |
Capabilities
About Llama 3 8B Instruct
The Llama 3 8B Instruct model, released on April 18, 2024, is Meta's latest instruction-following language model with 8 billion parameters. It utilizes an auto-regressive transformer architecture with Grouped-Query Attention for improved scalability. Trained on over 15 trillion tokens and fine-tuned with 10 million human-annotated examples, it excels in dialogue and conversational tasks. The model outperforms its predecessors on industry benchmarks, scoring 68.4 on MMLU (5-shot). Designed for commercial and research applications, it prioritizes safety and helpfulness, making it suitable for chatbots, virtual assistants, and other interactive AI applications. For more details, visit the Hugging Face page [1].
FAQ
What is the context window for Llama 3 8B Instruct on Cloudflare Workers AI?
Llama 3 8B Instruct supports a 8k token context window on Cloudflare Workers AI.
How does Cloudflare Workers AI compare to other Llama 3 8B Instruct providers?
Llama 3 8B Instruct is available from 17 providers. The cheapest input pricing is $0.02/1M tokens from DeepInfra.
What API model ID do I use for Llama 3 8B Instruct on Cloudflare Workers AI?
Use the model ID @cf/meta/llama-3-8b-instruct when calling Cloudflare Workers AI's API.
Who created Llama 3 8B Instruct?
Llama 3 8B Instruct was created by AI at Meta as part of the Llama 3 model family.
Is Llama 3 8B Instruct open source?
Llama 3 8B Instruct has open weights under Llama 3 Community according to the seed data, but that does not necessarily mean an OSI-approved open-source license.