anomalyco / anomalyco/opencode

Provider finish_reason: network_error with Ox Alpha Free (unlimited)

Open
#44,379 6 comments 4 reactions 1 assignee View on GitHub

@MrMushrooooom is already working on this.

Since Aug 23, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Using the Ox Alpha Free (unlimited) model, OpenCode repeatedly returns Provider finish_reason: network_error during normal usage. The error appears inline in the chat as a red banner. The only workaround is opening a new chat session — the error persists within the same session.

This has been reported in #44358, #44360, and #44376 but those were auto-closed for not using the bug report template.

OpenCode version

latest (dev branch)

Steps to reproduce

  1. Configure OpenCode with the Ox Alpha Free (unlimited) model
  2. Start a chat session and send a few messages
  3. After several exchanges, the network_error finish_reason appears
  4. Continuing in the same session keeps producing the error
  5. Opening a new session temporarily fixes it until it recurs

Screenshot and/or share link

Error banner shows: Provider finish_reason: network_error

Operating System

macOS

Terminal

iTerm2

EDIT: Sorry for the duplicate issues. It was cause by network connectivity issues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.