FEATURE | VALUE |
---|---|
Context Window (Tokens) | 128k |
Max Output Tokens | 8,192 |
Max File Size | N/A |
Token Generation Speed | ~750 tps |
Input Token Price | $0.05 per 1M tokens |
Output Token Price | $0.08 per 1M tokens |
Tool Use | |
JSON Mode | |
Image Support |
Experience the capabilities of llama-3.1-8b-instant
with Groq speed:
pip install groq
1from groq import Groq
2client = Groq()
3completion = client.chat.completions.create(
4 model="llama-3.1-8b-instant",
5 messages=[
6 {
7 "role": "user",
8 "content": "Explain why fast inference is critical for reasoning models"
9 }
10 ]
11)
12print(completion.choices[0].message.content)