🤖 AI Hot

Together Link: Open Models in Claude Code and Codex

A
Alex Chen

The single most expensive habit in AI-assisted coding right now is routing every request through a frontier proprietary model, even when the task is a three-line edit. Together Link is a free, open-source tool that attacks exactly that waste: it lets you keep Claude Code, Codex, or OpenCode as your harness while swapping the model underneath for open-weight options like Kimi K3 and GLM-5.3, and it bundles a router that only escalates the genuinely hard requests. In a year when “best AI tools 2026” lists are dominated by $200-a-month subscriptions, the interesting story is tools that cut the bill without asking you to abandon your workflow.

The mechanics are deliberately boring, which is the point. Together Link is not a new editor, a new agent framework, or a new API you have to learn. You install one command, launch your existing tool through it, and it rewires the model connection for that session only. Your normal configuration files are never touched, and there is no local proxy or daemon running in the background. When the session ends, your setup is exactly where you left it.

How It Works: A Session-Scoped Rewire

The install is a single curl command that fetches a script and runs it: curl -fsSL https://link.together.ai/install | bash. The installer pulls in Bun if you do not already have it, drops the togetherlink command (and a tlink alias) into ~/.local/bin, and drops you into an interactive launcher. From there you pick the tool you want to launch — Claude Code, Codex, OpenCode 2, Pi Code, Claude Desktop, or ChatGPT Desktop — and Together Link configures it on the fly.

The key architectural choice is that there is no persistent interception layer. For the terminal agents, Together Link writes a temporary, per-launch configuration that gets removed when the session ends. For the desktop apps, it uses a dedicated profile that it owns, with backups so the setup is reversible. The important consequence is that your own MCP servers, skills, plugins, and prompt templates still load — for OpenCode and Pi Code specifically, the docs call out that your extensions come along for the ride. You are not switching ecosystems; you are switching the model endpoint.

Direct launch shortcuts exist for everything: tclaude for Claude Code, tcodex for Codex, topencode for OpenCode 2, and tpi for Pi Code. Arguments pass through to the underlying tool, so togetherlink codex exec "Explain this project" behaves the way you expect, and headless runs are supported for scripts that drive the agent: togetherlink claude -p "<TASK>" --output-format json < /dev/null.

Open Source AI Models in Your Existing Coding Agent

The model menu is where the cost story lives. Together Link exposes four open-weight options by default, each mapped to a familiar Claude tier so the mapping is intuitive:

ModelModel IDClaude tierInput /1MCached /1MOutput /1M
Kimi K3moonshotai/Kimi-K3Opus$2.70$0.27$13.50
GLM 5.3zai-org/GLM-5.3Fable$1.40$0.26$4.40
DeepSeek V4.1 Flashdeepseek-ai/DeepSeek-V4.1-FlashSonnet$0.30$0.01$1.20
Qwen 3.8Qwen/Qwen3.8-2.4T-A95B—$2.00$0.25$6.00

All four carry a 1M-token context window, which is the thing that usually trips up people migrating off a frontier model: a coding session with a large repo and a long history needs room, and these have it. In Claude Code, the built-in /model command maps Claude’s tiers directly onto this list — Opus runs Kimi K3, Fable runs GLM 5.3, Sonnet runs DeepSeek V4.1 Flash — so switching is one menu action rather than a config edit.

The pricing is the headline. GLM 5.3 at $1.40 in and $4.40 out per million tokens is an order of magnitude below what frontier closed models charge for comparable agentic coding work, and DeepSeek V4.1 Flash at $0.30 in is almost a rounding error for high-volume background tasks. Together’s own benchmark work on the DeepSWE coding benchmark reports GLM-5.3 finishing rollouts at $3.99 versus $21.63 for Claude Fable 5 — a 5.4x cost gap at a near-tie on pass@1 — and their coding-agent inference benchmarks claim 76% lower cost than Claude Opus 4.6 with 31% higher tokens-per-second than TensorRT-LLM.

The Auto Router: Cheap by Default, Frontier on Demand

The most interesting engineering in Together Link is the auto model, which is the default. Rather than forcing you to pick a single model and eat its weaknesses, the cloud gateway classifies every request and routes it: straightforward prompts go to a Together AI model like GLM 5.3 billed at standard serverless rates, and the more difficult requests — in Claude Code or Claude Desktop sessions where you have supplied an Anthropic API key — get sent to Claude Opus through Anthropic, billed to the account behind that key.

This is a genuinely useful hedge. The failure mode of “just use the cheap open model” is that a hard debugging session or an architecture refactor stalls the model and burns your afternoon. The auto router tries to have it both ways: quick edits and boilerplate generation stay cheap, while the long-tail hard problems get the frontier model they actually need. The tradeoff is that you are trusting the gateway’s classifier to make that call correctly on every request, and the routing behavior is explicitly subject to change while the tool is in beta.

You can opt out of the router by pinning a session to a single model with --main: togetherlink --main zai-org/GLM-5.3 claude. And Codex, OpenCode, Pi Code, and ChatGPT Desktop sessions always stay on Together AI models — the Opus escalation path only exists for Claude sessions, since it rides on Anthropic’s own API key.

Cost Transparency Is the Underrated Feature

What makes Together Link feel different from the usual “swap your model” advice is that it surfaces the numbers instead of hiding them. Every session prints a cost summary when it exits, and in Claude Code the status line shows an estimated spend for the session next to what the same tokens would have cost on Claude Opus. There is a togetherlink usage --last 7d command that reports spend tracked by the cloud gateway across sessions, and image generation (available as a skill in Claude sessions) is tracked separately from token usage.

That comparison figure — “here is what you spent, here is what it would have cost” — is the mechanism that actually changes behavior, because the savings are made legible in the moment rather than buried in a monthly invoice. It is also a reminder that the tool is built by a company that wants you to run more tokens through its inference platform; the transparency is a feature, but the incentives are worth keeping in view.

Alternatives: OpenRouter, LiteLLM, and DIY Config

Together Link is not the only way to put an open model behind Claude Code. The established alternatives are OpenRouter, a LiteLLM proxy, or a hand-rolled config change, and they sit at different points on a convenience-versus-control spectrum.

OpenRouter is a model gateway that exposes hundreds of models behind one OpenAI-compatible endpoint, so you can point a harness at it and pick any model by ID. It is the most flexible option and covers far more models than Together Link’s four, but you do the routing yourself, and there is no session-scoped, one-command launcher — you are editing a config or environment variable. LiteLLM is a self-hosted proxy that gives you fine-grained control over routing, budgets, and model fallbacks, which is powerful for teams, but it is infrastructure you run and maintain, not a command you install. The do-it-yourself route — swapping the model string in your harness’s settings — is free and instant but leaves you to figure out context limits, tool-calling quirks, and pricing on your own, with no cost summary at the end of a session.

Together Link’s niche is that it collapses all of that into a launcher plus a router. You trade model breadth and control for zero-friction setup and automatic escalation. If you already have opinions about routing policy, OpenRouter or LiteLLM will feel more comfortable; if you want the cheapest path to “open model in my existing harness, today,” Together Link is the one that does it with a single command.

Who Should Use This

The clearest fit is a solo developer or small team already paying for a coding-agent subscription who wants to keep the workflow but reduce spend on the long tail of routine requests. If most of your sessions are file edits, test fixes, and scaffolding, the auto router will push the bulk of that traffic to GLM 5.3 or DeepSeek V4.1 Flash and only escalate when it has to.

A second fit is anyone evaluating open models for production coding agents who wants a low-friction way to A/B test them inside a familiar harness. Pinning a session to --main moonshotai/Kimi-K3 and running your normal tasks is a cheaper, faster way to build intuition about a model than reading benchmark tables.

Who Should NOT Use This

Do not build an enterprise deployment around a tool that is explicitly in beta, with routing behavior, commands, and the model list all flagged as subject to change. The GitHub repo for issue reporting exists precisely because the surface is still settling. If you need a stable, contractually supported path, Together AI’s own dedicated endpoints and serverless API are the mature route; Together Link is the convenience layer on top.

Skip it if your work is almost entirely hard, frontier-class reasoning where a cheaper model genuinely cannot keep up. The auto router only helps if a meaningful fraction of your requests are easy enough to route down. If every request needs Opus-class reasoning, you will pay for the router’s classification overhead and still send most traffic to Claude.

Also skip it if you are not comfortable supplying an API key or running a third-party installer. The install fetches and executes a remote script, and desktop profiles store your Together API key locally — that is a reasonable model but not one you should accept without reading what the installer does.

Limitations and Caveats

The beta status is the headline caveat and deserves repeating: commands, routing behavior, and the available model list can all change without ceremony, so anything you script against it today may break tomorrow. The headless-mode gotcha is worth knowing too — a headless Claude Code run that inherits an open stdin will block forever waiting for input, so the docs insist on appending < /dev/null.

The auto router’s quality is the second caveat. Classification of “easy versus hard” is a heuristic, and misclassifying a subtly hard task as easy will silently route it to a model that does worse work. The tool mitigates this with the Opus escalation path in Claude sessions, but that path requires an Anthropic API key and only exists for Claude — Codex and the rest have no frontier fallback at all.

Finally, the savings are real but they are not the whole picture. You are trading a flat subscription for usage-based serverless billing, which can be cheaper at low volume and less predictable as volume climbs. Together Link does not cap your spend; it makes it visible. For a team with unpredictable usage, that visibility is worth more than a cap, but it is not the same thing.

The broader point is that the tool matters less as a product than as a signal. After two years of agent harnesses consolidating around a few proprietary backends, Together Link is one of the more concrete attempts to make open models a first-class, drop-in option inside the tools people already use. Whether it sticks depends on the router being good enough that people trust it with real work — but the one-command, session-scoped design is the right shape for that trust to build.

Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen