# Qwen 2.5 Coder 0.5B (on-device)

> Qwen 2.5 Coder 0.5B, run on a user's own paired machine with Ollama and relayed to AnyRouter over an outbound WebSocket (no API key, no server-side compute). Ships $0 in/out — the user supplies their own hardware. Text in, text out, tuned for code generation and fixing.

**ID**: `qwen/qwen2.5-coder-0.5b-instruct`  
**Creator**: Qwen  
**Category**: text  
**Context**: 33K tokens  
**Input**: $0  
**Output**: $0  
**Released**: 2024-11-12  
**Web page**: https://anyrouter.dev/model/qwen/qwen2.5-coder-0.5b-instruct

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

**Capabilities**: chat, coding, streaming, function-calling

## 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": "qwen/qwen2.5-coder-0.5b-instruct",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| anyrouter | $0 | $0 |

## Source

- Upstream docs: https://ollama.com/library/qwen2.5-coder
