Back to Codexbar

GroqCloud

docs/groqcloud.md

0.27.0765 B
Original Source

GroqCloud

CodexBar's GroqCloud provider is separate from the xAI Grok provider. It uses a GroqCloud API key and the Enterprise Prometheus metrics API.

Setup

Store the key in the shared app/CLI config:

bash
printf '%s' "$GROQ_API_KEY" | codexbar config set-api-key --provider groq --stdin

Or set GROQ_API_KEY in the process environment. GROQ_API_URL can override the default https://api.groq.com/v1 base URL for private gateways.

  • Primary: requests per minute.
  • Secondary: tokens per minute.
  • Tertiary: prompt cache hits per minute when the metric exists.
  • Dashboard link: GroqCloud metrics dashboard.

If the key lacks Prometheus metrics access, CodexBar shows the API error instead of guessing from unrelated endpoints.