| curl -sS https://router.huggingface.co/v1/chat/completions \ | |
| -H "Authorization: Bearer $HF_TOKEN" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "model": "meta-llama/Llama-3.1-8B-Instruct", | |
| "messages": [{"role":"user","content":"Say hi in 1 short sentence."}], | |
| "max_tokens": 80 | |
| }' |