Skip to content

Inference speed is slower than expected with GPT-4.1 in Opencode #872

Closed as duplicate

Description

@netanelbi

I have observed that model inference speed in Opencode (using Copilot and GPT-4.1) is noticeably slower than expected. When using Copilot with Claude via my proxy, the inference speed is much higher. Since GPT-4.1 is known for fast performance, something may be holding down the models in Opencode. Please investigate possible bottlenecks, such as API throttling, network delays, or code inefficiencies.

Activity

  1. drewbitt commented on Jul 11, 2025

    @drewbitt

    What is the tps you are seeing?

  2. netanelbi commented on Jul 11, 2025

    @netanelbi
    Author

    running:
    opencode --model github-copilot/gpt-4.1 run "write 1k drama story about apple"
    took ~17-22 seconds.
    on claude it took 14s. thats fine i guess

    but openning opencode and doing the same request using the interface took 43 seconds

  3. self-assigned this
    on Jul 12, 2025
  4. Uranium2 commented on Jul 12, 2025

    @Uranium2

    Hello,
    Just tried opencode for few days, and it does feel like Copilot GPT-4.1 is slow. I don't have other model to compare on Opencode. But when using Copilot GPT-4.1 directly on Vscode, it does seem faster.
    Also, it feels like my CPU fan is bursting when asking a task to Opencode. And i think that the files are modified fast, but in the terminal, the display/writing of "code" that the model will create is slow. Most of the time, the file is already edited and ready, but the console is still writing code (and most of the time the code written doesn't seem to be 100% what he updated on the file)

  5. Yorizel commented on Jul 16, 2025

    @Yorizel

    i also facing this

  6. Uranium2 commented on Jul 17, 2025

    @Uranium2

    Pretty sure it's the same issue here
    #811

  7. adamdotdevin commented on Jul 17, 2025

    @adamdotdevin
    Member

    yeah, this is an issue with rendering performance on some systems; can you all share what OS/etc you're using in #811, going to close this as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions