日本語 — このページの一部のコンテンツは英語でのみ提供されています。 ホーム

Groq

Groq は高速で低コストな Inference です。

Text Generationllmapiinference

📖 概要

Groq LPU(Language Processing Unit)は、開発者が必要とする速度とコストでInferenceを実現します。高スループットかつ低レイテンシで大規模言語モデルを実行するためのクラウドベースのAPIを提供します。

💰 無料枠の詳細

📝 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:

  1. Sign Up & Get an API Key: Visit console.groq.com, create a free account, and generate an API key from the dashboard.
  1. Choose a Model: Groq offers several models (e.g., Llama 3, Mixtral). Select the one that fits your use case from the available list.
  1. Make API Calls: Use standard HTTP requests to the endpoint https://api.groq.com/openai/v1/chat/completions. Include your API key in the Authorization header as Bearer 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!"}]
     }'
  1. Parameters: Set temperature, max_tokens, top_p, etc., as needed. The response will include the generated text in choices[0].message.content.
  1. Rate Limits: Free tier has limits (e.g., 30 requests per minute). Check your dashboard for details.
  1. Streaming: For real-time responses, enable streaming by setting stream: true in the request body.

For more details, see the official Groq documentation. The LPU ensures blazing-fast inference, suitable for chatbots, coding assistants, and more.

無料
active

健全性

要注意
Free tier Active
Verified Never verified

多次元評価

使いやすさ
無料枠
安定性
コミュニティ

このツールは役に立ちますか?

Compare