Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 954 Bytes

File metadata and controls

31 lines (22 loc) · 954 Bytes
summary GroqCloud provider setup and Prometheus metrics usage source.
read_when
Configuring GroqCloud usage tracking
Debugging GroqCloud request or token-rate display

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:

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.

Menu display

  • 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.