Skip to content

opencode zen DeepSeek V4 Flash Free requests fail with [invalid_bearer_credential] #42293

Description

@cbrunschen

Description

I was using opencode connected to DeepSeek V4 Flash Free on opencode zen, and most - but not all! - requests failed with an error,

Upstream request failed: [invalid_bearer_credential] Missing or invalid bearer credential

This happened with version 1.18.3. I upgraded to 1.18.18, and it kept happening.

I then connected to DeepSeek V4 Flash on my opencode go subscription, and the request immediately succeeded, and kept working.

Plugins

None

OpenCode version

1.18.18

Steps to reproduce

  1. Connect to opencode zen
  2. Choose DeepSeek V4 Flash (Free) as the model
  3. Ask some number of requests, most of them seem to be failing at the time of reporting.

Screenshot and/or share link

With DeepSeek V4 Flash Free on OpenCode Zen:

Image

With DeepSeek V4 Flash on OpenCode Go:

Image

Operating System

Ubuntu 26.04

Terminal

Ubuntu terminal

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