Llama 3.1 8B Instruct
Compact Llama 3.1 for efficient text generation.
llama-3.1-8b-instructGet API keyContext window
128k
tokens
Max output
2k
tokens
Input
$0.15
per 1M tokens
Output
$0.29
per 1M tokens
Quick start
1curl https://api.vichar.io/v1/chat/completions \2 -H "Authorization: Bearer $VICHAR_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "llama-3.1-8b-instruct",6 "messages": [{"role": "user", "content": "Hello"}]7 }'
Supported parameters
- temperature
- max_tokens
- top_p
- response_format