Free Llama 2 7b Chat HF LoRA API
Updated 8/29/2026
This is a Llama2 base model that Cloudflare dedicated for inference with LoRA adapters. Llama 2 is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. This is the repository for the 7B fine-tuned model, optimized for dialogue use cases and converted for the Hugging Face Transformers format.
About the Model
为什么选择 Llama 2 7b Chat HF LoRA?
This is a Llama2 base model that Cloudflare dedicated for inference with LoRA adapters. Llama 2 is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. This is the repository for the 7B fine-tuned model, optimized for dialogue use cases and converted for the Hugging Face Transformers format.
核心优势与特性
- 每日 10,000 Neurons 免费算力:Cloudflare 为所有开发者提供每日免费额度,0 成本调用。
- 全球边缘网络超低延迟:部署于全球 300+ 城市边缘节点,享受 Serverless GPU 秒级冷启动。
- 开箱即用无缝集成:无需自行部署与管理硬件,支持 REST API 与 Cloudflare Workers 原生绑定直连。
- 支持 8,192 tokens 上下文窗口,适配长文本与复杂多轮任务。
- 核心特性能力:LoRA。
免费调用与开发者福利
Cloudflare Workers AI 为所有免费账户提供每天 10,000 Neurons 的免费额度(约合每日 10k Tokens、数十次图像生成或多段音频转录)。无需绑定海外信用卡,支持 GitHub 账号一键快捷登录,通过 Workers 绑定或统一 REST API 即可全球低延迟直接调用。
Try it in your browser
Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.
Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.
How to call Llama 2 7b Chat HF LoRA
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/meta-llama/llama-2-7b-chat-hf-lora \
-H "Authorization: Bearer $CF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello! How can I use Workers AI?"}
]
}'Provider Details
The following platforms provide free access to Llama 2 7b Chat HF LoRA through free tiers, trial credits, or daily quotas.
| Provider | Context Window | Free Quota | Requires CC | Rating | Action |
|---|---|---|---|---|---|
| Cloudflare Workers AI | 8K | 10000 requests per day | No | Details |
Community Feedback
Comments are tied to your GitHub account — sign in to join the discussion.