Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsApr 6, 2026·2 min de lectura

Trae — Free AI IDE by ByteDance with Claude & GPT-4

Free AI-powered IDE by ByteDance with built-in Claude and GPT-4 access at no cost. VS Code-based with Builder mode for multi-file agentic editing and inline chat. 8,000+ stars.

Listo para agents

Instalación con revisión previa

Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.

Needs Confirmation · 66/100Política: confirmar
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Community
Entrada
Trae — Free AI IDE by ByteDance with Claude & GPT-4
Comando con revisión previa
npx -y tokrepo@latest install fdfd6a94-e647-4cd4-9938-3e37b2c426d3 --target codex

Primero dry-run, confirma las escrituras y luego ejecuta este comando.

TL;DR
Trae provides free Claude Sonnet and GPT-4o access in a VS Code-based IDE with inline chat and agentic editing.
§01

What it is

Trae is a free AI-powered IDE by ByteDance that includes built-in access to Claude Sonnet and GPT-4o at no cost. Built on VS Code, it offers two AI modes: Chat for quick questions and inline assistance, and Builder for multi-file agentic editing where the AI plans and executes changes across your project.

Trae is for developers who want AI coding assistance without managing API keys or paying per-token fees. It provides the same model access as paid tools but bundles the cost into the IDE itself.

§02

How it saves time or tokens

Trae eliminates the API key setup and billing management that other AI coding tools require. You download the IDE, open your project, and start using Claude or GPT-4o immediately. There is no usage-based pricing, no credit card required, and no token budgets to manage.

Builder mode goes beyond single-file completions. It plans multi-file changes, shows a diff preview, and applies edits across your project. This is particularly useful for refactoring tasks that touch many files simultaneously.

§03

How to use

  1. Download Trae from trae.ai (macOS, Windows, Linux).
  1. Open your project in Trae.
  1. Use keyboard shortcuts for AI features:
Cmd+I (Ctrl+I on Windows) -- Inline AI chat
Cmd+Shift+Y               -- Builder mode for multi-file edits
  1. In Builder mode, describe the change you want:
Refactor the authentication module to use JWT tokens.
Update all API routes that check auth.
Add unit tests for the new JWT validation.

Trae plans the changes, shows diffs for each file, and applies them on approval.

§04

Example

Using Trae's inline chat to add error handling:

# Select this function and press Cmd+I
def process_payment(order_id, amount):
    response = stripe.Charge.create(amount=amount, currency='usd')
    db.update_order(order_id, status='paid')
    return response

# Ask: 'Add error handling for Stripe API failures and database errors'
# Trae generates:
def process_payment(order_id: str, amount: int) -> dict:
    try:
        response = stripe.Charge.create(amount=amount, currency='usd')
    except stripe.error.StripeError as e:
        logger.error(f'Stripe charge failed for order {order_id}: {e}')
        raise PaymentError(f'Payment failed: {e.user_message}') from e
    try:
        db.update_order(order_id, status='paid')
    except DatabaseError as e:
        logger.error(f'DB update failed after charge for order {order_id}')
        # Charge succeeded but DB failed - flag for manual review
        raise PaymentReconciliationError(order_id) from e
    return response
§05

Related on TokRepo

§06

Common pitfalls

  • Trae sends your code to ByteDance's servers for AI processing. If your organization has strict data residency requirements, verify compliance before using Trae with proprietary code.
  • Builder mode works best with well-structured projects. Large monorepos with complex build systems may produce incomplete multi-file edits.
  • VS Code extensions generally work in Trae since it is VS Code-based, but some extensions may have compatibility issues. Test your essential extensions before fully switching.

Preguntas frecuentes

Is Trae really free?+

Yes. Trae provides free access to Claude Sonnet and GPT-4o without API keys or usage-based billing. ByteDance absorbs the model costs. There are no hidden tiers or usage limits published as of the current release.

What models does Trae support?+

Trae includes built-in access to Claude Sonnet and GPT-4o. You do not need to configure API keys or select providers. The models are available immediately after installation.

Can I use my existing VS Code extensions?+

Most VS Code extensions work in Trae since it is built on the VS Code platform. Language servers, formatters, linters, and theme extensions generally transfer without issues. Some extensions with platform-specific bindings may need verification.

How does Builder mode differ from regular chat?+

Chat handles inline questions and single-file edits. Builder mode is an agentic workflow that plans multi-file changes, shows diffs for review, and applies edits across your project. Builder is designed for refactoring, feature additions, and cross-cutting changes.

Is my code sent to external servers?+

Yes. AI features in Trae process code through ByteDance's infrastructure. Your code is sent to their servers for model inference. Review your organization's policies on code sharing with third-party services before using Trae with sensitive repositories.

Referencias (3)
🙏

Fuente y agradecimientos

Created by ByteDance. Licensed under proprietary.

trae — ⭐ 8,000+

Thanks to ByteDance for democratizing AI-powered coding.

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados