# TRAE

> ByteDance AI coding stack: TRAE IDE (trae.ai) plus the open-source trae-agent CLI (bytedance/trae-agent) for headless software-engineering tasks with BYOK models.

- Page: https://vibetoolrank.com/tools/trae/
- Markdown: https://vibetoolrank.com/tools/trae.md
- Official: https://www.trae.ai
- Category: AI Code Editors & IDEs (https://vibetoolrank.com/best/editors/ · https://vibetoolrank.com/best/editors.md)
- Pricing: Pro $20/mo ($200/yr); Pro+ $60/mo; Ultra $200/mo; Lite $8/mo in select countries only
- Free tier: Yes: TRAE IDE has limited monthly Auto-mode usage (no card claimed on docs). trae-agent OSS is free to self-host with your own model key.
- Last checked: 2026-11-04

## Agent test

- Overall: **9/10** (outcome 10, speed 8, cost 10, DX 5, reliability 10)
- Cost per run: $0.026 / run
- Tested: 2026-11-04 · Runs: 3 runs · Edition: trae-agent OSS CLI 0.1.0 with Google AI Studio gemini-3.5-flash-lite after a local one-line google_client role=user patch (BYOK, $0). Not TRAE IDE Auto mode
- Score label: rubric v0.1
- Summary: trae-agent OSS CLI fixed our seeded cart discount bug in 3 of 3 runs (19–42s each) with a free Gemini key, never touched the test file. Cost $0. Overall 9.0 (outcome 10, speed 8, cost 10, DX 5, reliability 10). DX lost points because stock trae-agent sends Gemini tool results with role=tool, which the current Gemini API rejects until you patch google_client.py; a yaml config file is also required.
- Evidence: docs/tests/trae/RESULTS.md

## Pros / cons

- Pro: Fixed the seeded bug in 3/3 CLI runs with a free model
- Pro: Did not modify the test file in any run
- Pro: OSS self-host / BYOK path needs no TRAE IDE account
- Pro: Fast once the Gemini client patch is applied (19–42s)
- Con: Stock google_client uses role=tool and fails against current Gemini API until patched
- Con: Requires a trae_config.yaml; CLI flags alone are not enough without a config file
- Con: We scored the OSS CLI only, not the TRAE IDE free Auto mode

## Adoption signals (not part of the score)

- GitHub stars: **12k** (12,170) on [bytedance/trae-agent](https://github.com/bytedance/trae-agent)
- Fetched: 2026-11-01 · Last push: 2026-02-05
- These figures are public GitHub metrics for context only. They do **not** affect VibeToolRank scores or rankings.

## Sources

- https://www.trae.ai
- https://docs.trae.ai/ide/new-plans-and-billing
- https://github.com/bytedance/trae-agent

Methodology: https://vibetoolrank.com/methodology/
