togetherlink
Powered byTogether AI

Use Open source models
in Codex and Claude Code

Install once, then run GLM 5.2 in Claude Code or Codex with short commands. TogetherLink injects Together settings for that run only, so your normal tool configs stay clean.

TogetherLinkper-run routing
OpenCodetopencode
Claude Codetclaude
Codex CLItcodex
Pi Codetpi
$curl -fsSL https://togetherlink.vercel.app/install.sh | sh
macOS & Linux - installs Bun if needed - keeps itself up to date
4
coding agents
1
install command
0
config files rewritten
auto
updates in place
100% supported

OpenCode

Run topencode and OpenCode launches with Together GLM 5.2 wired in - config injected only for that launch. Close it and your OpenCode setup is exactly as it was, while sessions can still resume.

Support100%
Beta

Claude Code

Run tclaude and Claude Code routes through a local translation proxy - no edits to your real config. You keep your Claude Code subscription and login the whole time.

Beta

Codex CLI

Run tcodex and Codex talks to Together through a local Responses-to-chat proxy. Settings are injected per run, with headless exec support for fast checks.

100% supported

Pi Code

Run tpi and Pi Code launches with Pi's official Together provider, a temporary Pi config directory, and normal local session persistence.

Support100%
ChatGPT

ChatGPT Desktop App

Alpha

Also works with the ChatGPT desktop app. Unlike the per-run CLI wrappers above, this persistently patches ChatGPT Desktop config so the app talks to Together. When you want your OpenAI subscription back, run the restore command.

Configure

Patches ChatGPT Desktop config to route through Together. The change stays active until you restore.

Restore

Brings back your OpenAI / ChatGPT subscription profile and removes the togetherlink config.

Heads upConfigure stays active until you restore. Backups live under ~/.togetherlink/backup/codex-app/.

Get started

$curl -fsSL https://togetherlink.vercel.app/install.sh | sh
1
Install with the one-liner above. It drops the binary at ~/.togetherlink/bin/ and adds togetherlink, tclaude, topencode, tcodex, and tpi.
2
Run topencode, tclaude, or tcodex, or tpi. For the ChatGPT desktop app run togetherlink chatgpt (alpha), and restore it with togetherlink chatgpt --restore. On first launch it asks once for your Together API key - press Enter to skip and add it later.
3
That's it. Your tool runs against Together models and stays up to date on its own. Change your mind? Just stop using it - no agent config was saved, so your subscriptions and your OpenCode/Claude Code/Codex CLI/Pi Code config are untouched.

Prefer explicit commands? Use the long form instead of the short wrappers.