tongflow-router-openrouter

July 26, 2026 · View on GitHub

Official TongFlow plugin for OpenRouter. Exposes OpenRouter's catalog through a per-node model picker — text (free by default), vision, image, audio understanding and transcription.

Formerly tongflow-api-openrouter-free (then tongflow-api-openrouter). "Free" is now just one of the model options; text slots still default to a free model to avoid surprise billing.

Capabilities

Runs locally as a Python process (no GPU). ABI slots:

  • Textgen-text, split-text, combine-text, plus the deterministic arrange-group / drop-video batch helpers.
  • Vision / audio → textimage-gen-text, image-describe, video-gen-text, video-describe, audio-describe.
  • Image outputimage-gen, image-edit (via image-output modalities).
  • Transcriptiontranscribe, transcribe-timestamp.

Each slot has a curated model shortlist (first = default). A per-node model outside the shortlist is still accepted as long as the live /api/v1/models catalog knows it — so weekly model rotations don't break the picker.

Credentials

Add in TongFlow Settings (gear icon, top-right):

KeyRequiredNotes
OPENROUTER_API_KEYCreate one at openrouter.ai/keys. Free models still need a key.
OPENROUTER_MODELoptionalForce a default model when no per-node model is picked (OPENROUTER_FREE_MODEL still works).
OPENROUTER_HTTP_REFERERoptionalSent as the HTTP-Referer header for attribution.
OPENROUTER_APP_TITLEoptionalSent as the X-Title header for attribution.

Model ids rotate weekly on OpenRouter — the shortlists are verified 2026-07; the live catalog is the source of truth at runtime.

Values are stored locally and take effect without a restart.