Groq
Groq is fast, low cost inference.
Text Generationllmapiinference
📖 Overview
The Groq LPU (Language Processing Unit) delivers inference with the speed and cost developers need. It provides a cloud-based API for running large language models at high throughput and low latency.
💰 Free Quota Details
📝 Groq API Usage Guide
Groq provides a high-speed, low-latency API for running large language models (LLMs) on its custom Language Processing Unit (LPU). To get started:
- Sign Up & Get an API Key: Visit console.groq.com, create a free account, and generate an API key from the dashboard.
- Choose a Model: Groq offers several models (e.g., Llama 3, Mixtral). Select the one that fits your use case from the available list.
- Make API Calls: Use standard HTTP requests to the endpoint
https://api.groq.com/openai/v1/chat/completions. Include your API key in theAuthorizationheader asBearer YOUR_API_KEY.
Example request (using curl):
curl -X POST https://api.groq.com/openai/v1/chat/completions \
-H "Authorization: Bearer $GROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama3-8b-8192",
"messages": [{"role": "user", "content": "Hello!"}]
}'
- Parameters: Set
temperature,max_tokens,top_p, etc., as needed. The response will include the generated text inchoices[0].message.content.
- Rate Limits: Free tier has limits (e.g., 30 requests per minute). Check your dashboard for details.
- Streaming: For real-time responses, enable streaming by setting
stream: truein the request body.
For more details, see the official Groq documentation. The LPU ensures blazing-fast inference, suitable for chatbots, coding assistants, and more.
Free
active Health
At Risk
Free tier Active
Verified Never verified
Ratings
Ease of Use
—
Free Tier
—
Stability
—
Community
—
Is this tool useful?
Compare