Free Llama 2 7b Chat HF LoRA API

更新于 2026/8/29

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.

关于该模型

为什么选择 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 即可全球低延迟直接调用。

在浏览器里试用

选个模型、粘贴你自己的免费 Key,即可运行。你的 Key 只用于调用一次该提供商,绝不存储在我们的服务器上。

选个模型、粘贴你自己的免费 Key,即可运行。你的 Key 只用于调用一次该提供商,绝不存储在我们的服务器上。

如何调用 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?"}
    ]
  }'

提供方详情

以下平台通过免费层、试用额度或每日配额提供 Llama 2 7b Chat HF LoRA 的免费访问。

供应商上下文窗口免费配额需绑卡评分操作
Cloudflare Workers AI8K速率限制
每 天 10000 次请求
加载评分…
Details

常见问题

社区反馈

评论与你的 GitHub 账号绑定,登录后即可参与讨论。

知道 Llama 2 7b Chat HF LoRA 的其他免费渠道?
分享您知道的免费访问方式,帮助整个社区。