Platform support
Token Optimizer runs natively on seven coding surfaces. Each platform gets its own adapter built against that platform’s real hook API, not a lowest-common-denominator wrapper. Where an upstream API cannot do something, the page for that platform names the gap and the reason instead of pretending parity.
Supported platforms
Section titled “Supported platforms”Claude Code is the reference platform. Every feature ships there first, and every other platform page describes its capabilities relative to it.
| Platform | Surfaces | Status |
|---|---|---|
| Claude Code | CLI, VS Code extension | Stable |
| Codex | CLI, Desktop | Stable |
| OpenCode | Plugin | Stable |
| OpenClaw | Plugin | Stable |
| Hermes | Slash command, CLI | Beta |
| GitHub Copilot | CLI, VS Code | Beta |
| Cowork | Plugin, org console or personal upload | Experimental |
Claude Cowork runs the same Claude Code engine in a VM, so it is not a separate runtime. It reaches Cowork sessions through the org plugin console rather than a local install, and it runs the hook subset that fires in Cowork. It is experimental and not yet verified on a live build. See the Cowork page for the distribution path and the hook set.
The VS Code companion extension that surfaces Claude Code data also runs in Cursor and Windsurf, because both are VS Code forks. That covers the editor status bar only. Standalone Cursor and Windsurf adapters with their own hook integration are on the roadmap, not shipped.
Native per platform, not a shim
Section titled “Native per platform, not a shim”Each adapter maps Token Optimizer features onto the host’s own primitives. Codex reads AGENTS.md where Claude Code reads CLAUDE.md. Hermes opens its session database read-only because that is the access Hermes grants plugins. Copilot bills in AI Credits, so cost figures use Copilot’s own numbers rather than a token estimate.
The result is honest asymmetry. A feature that depends on a hook the platform does not expose is marked unavailable on that platform, with the upstream blocker named.
Compare every feature
Section titled “Compare every feature”The full grid of which feature works on which surface, including approximated and unavailable cells, lives at /reference/capability-matrix/.