synthetic
    /Dev
    • Back to app
    Usage-based pricing
    • Usage & Billing
    API Documentation
    API
    • Overview
    • Getting Started
    • Models
    Agents
    • Octofriend by Synthetic
    • Claude Code
    • Crush
    • Opencode
    • GitHub Copilot
    • OpenClaw
    • Xcode Intelligence
    OpenAI Reference
    • /models
    • /chat/completions
    • /completions
    • /embeddings
    Anthropic Reference
    • /messages
    • /messages/count_tokens
    Synthetic Reference
    • /quotas
    • /search

    OpenCode with Synthetic

    Synthetic is a native provider for OpenCode, the TUI coding assistant!

    With Synthetic, you can use OpenCode with any model we support.

    Install OpenCode

    Follow the official guide to Install OpenCode.

    Quick Setup

    1. Open OpenCode in Your Terminal

    • bash
    opencode
    

    2. Connect to Synthetic

    Type /connect.

    /connect

    3. Choose "Synthetic"

    Select Synthetic from the list of available providers.

    Select Synthetic

    4. Enter Your Synthetic API Key

    Enter your API Key.

    Log in to see your API key.

    5. Choose a Model

    Select which model you want to use from our available models.

    Synthetic Hosted Models

    We recommend Synthetic hosted models for maximum quality and performance.

    Choose the desired open-source model.

    6. You're All Set!

    Finish the rest of the onboarding flow to get started with OpenCode!

    Getting Help

    • Community: Join our Discord! The Synthetic team is active daily.
    • E-mail: See Contact Us