Graphrt

Groq

Chat completions (non-streaming), Whisper transcription and translation, text to speech, models, files and batches (deletes and cancels are node only)

Beta v0.1.0 Node.js 16 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the OpenAI-compatible Groq API. Groq serves open models (Llama, GPT-OSS, Qwen, Whisper and more) at very high speed, which suits workflows that need a fast second model: classify, extract, summarize, transcribe calls, speak text, or run large jobs through the Batch API. Requests are non-streaming. Every operation is a workflow node, deletes and batch cancellation are node only.

What it can do

  • create_chat_completion: messages, response_format (JSON mode, JSON schema), tools, reasoning_effort and reasoning_format for reasoning models
  • Audio: transcribe_audio (Whisper, any language), translate_audio (to English) from a file or a public url, create_speech (text to speech, saved to disk)
  • Models: list_models, get_model
  • Files: list_files, upload_file, get_file, download_file_content (saved to disk), delete_file
  • Batch API: create_batch, get_batch, list_batches, cancel_batch
  • api_request: any other endpoint under https://api.groq.com/openai/v1 (GET only for agents)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Create chat completion groq.create_chat_completion
  • List models groq.list_models
  • Get model groq.get_model
  • Transcribe audio groq.transcribe_audio
  • Translate audio to English groq.translate_audio
  • Text to speech groq.create_speech
  • List files groq.list_files
  • Upload file groq.upload_file
  • Get file groq.get_file
  • Download file content groq.download_file_content
Show all 16 actions
  • Delete file groq.delete_file
  • Create batch groq.create_batch
  • Get batch groq.get_batch
  • List batches groq.list_batches
  • Cancel batch groq.cancel_batch
  • Groq API request groq.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • GROQ_API_KEY Required
    API key (gsk_...), sent as Authorization: Bearer
  • GROQ_UPLOAD_DIR Optional
    Directory audio and batch files may be read from (absolute path). Without it, file must be an https URL
  • GROQ_TOOL_ALLOW_BATCH Optional
    1 lets agent tools call create_batch (off by default: one call can queue thousands of paid requests)
  • GROQ_OUTPUT_DIR For create_speech, download_file_content
    Absolute directory where audio and file content are saved

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Groq.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install groq
workflow.yaml
- id: transcript
  type: groq.transcribe_audio
  file: "{{#start.recording_url#}}"
  language: id
- id: summary
  type: groq.create_chat_completion
  model: llama-3.3-70b-versatile
  messages:
    - { role: system, content: Summarize the call in three bullet points. }
    - { role: user, content: "{{#transcript.data.text#}}" }
- id: answer
  type: answer
  answer: "{{#summary.data.choices.0.message.content#}}"
Plugins in the docs