# 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. 

**ID**: `meta-llama/llama-2-7b-chat-hf-lora`  
**Creator**: Meta  
**Category**: text  
**Context**: 8K tokens  
**Status**: Disabled (since 2026-08-14) — no longer routable or listed; kept for history/usage reference.  
**Reason**: Workers AI LoRA host — sibling Gemma LoRA SKUs already 404 on this account. Disabled so smoke does not pick it as the next Cloudflare cheapest model.  
**Input**: $0.11/M  
**Output**: $0.11/M  
**Released**: 2024-04-02  
**Web page**: https://anyrouter.dev/model/meta-llama/llama-2-7b-chat-hf-lora

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "meta-llama/llama-2-7b-chat-hf-lora",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| Cloudflare AI Workers | $0.11/M | $0.11/M |
