© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Friends of the Crustacean 🦞🤝FotC�
Friends of the Crustacean 🦞🤝•7h ago•
6 replies
Nicorish

OpenCode Zen + GPT 5.4

I am trying to use GPT 5.4 through OpenCode Zen and running into issues. I've setup my custom provider in the config like this:
  "models": {
    "mode": "merge",
    "providers": {
      "custom-opencode": {
        "baseUrl": "https://opencode.ai/zen",
        "apiKey": "sk-censored",
        "api": "openai-completions",
        "models": [
          {
            "id": "gpt-5.4",
            "name": "gpt-5.4 (Custom Provider)",
            "reasoning": true,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 2.5,
              "output": 15.00,
              "cacheRead": 0.25,
              "cacheWrite": 0
            },
            "contextWindow": 272000,
            "maxTokens": 128000
          }
        ]
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "custom-opencode": {
        "baseUrl": "https://opencode.ai/zen",
        "apiKey": "sk-censored",
        "api": "openai-completions",
        "models": [
          {
            "id": "gpt-5.4",
            "name": "gpt-5.4 (Custom Provider)",
            "reasoning": true,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 2.5,
              "output": 15.00,
              "cacheRead": 0.25,
              "cacheWrite": 0
            },
            "contextWindow": 272000,
            "maxTokens": 128000
          }
        ]
      }
    }
  },


but it doesn't actually work - when I send a message I just see this in the logs:
03:38:05 warn errors {"subsystem":"errors"} Long error truncated: 404 <!DOCTYPE html><html lang="en" dir="ltr" data-locale="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta property="og:image" content="/social
03:38:05 warn errors {"subsystem":"errors"} Long error truncated: 404 <!DOCTYPE html><html lang="en" dir="ltr" data-locale="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta property="og:image" content="/social


I have done something similar in the past to use 4.6 Sonnet and it worked fine.
Friends of the Crustacean 🦞🤝 banner
Friends of the Crustacean 🦞🤝Join
The AI that actually does things. Emails, calendar, home automation - all from your favorite chat app. New shell, ready to help. The lobster way.
130,529Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
Krill 🦐

## Freshbits — tidy fixes all around ### Fixes - [#39652](https://github.com/openclaw/openclaw/pull/39652) [f73778e](https://github.com/openclaw/openclaw/commit/f73778e9b2cc2c1621497292453a3af8f5fb5b55) fix: remove redundant root strip-ansi dependency - [#39374](https://github.com/openclaw/openclaw/pull/39374) [e5fdfec](https://github.com/openclaw/openclaw/commit/e5fdfec9dc1fee5a33775a10f47dc4ff90246737) fix(config): accept "openclaw" as browser profile driver in Zod schema - [#39027](https://github.com/openclaw/openclaw/pull/39027) [b38f371](https://github.com/openclaw/openclaw/commit/b38f37163030ebe1692500a48eac237de647cc56) fix: add @tloncorp/api to pnpm onlyBuiltDependencies allowlist - [#39158](https://github.com/openclaw/openclaw/pull/39158) [aedf3ee](https://github.com/openclaw/openclaw/commit/aedf3ee68f510af24b87fedf4fa3cf10848a6ca6) fix(skills): expand skill-creator description to cover edit/audit/review triggers Stats: +10 / -9 (files changed: 9)

Krill 🦐 · 1h ago

Krill 🦐

## Freshbits — quick polish pass ### Fixes - [#27744](https://github.com/openclaw/openclaw/pull/27744) [9425209](https://github.com/openclaw/openclaw/commit/9425209) fix(mattermost): pass payload.replyToId as root_id for threaded replies - [#38999](https://github.com/openclaw/openclaw/pull/38999) [c1b9140](https://github.com/openclaw/openclaw/commit/c1b9140) fix: add missing strip-ansi dep for pi-coding-agent Stats: +95 / -3 (files changed: 6)

Krill 🦐 · 2h ago

Krill 🦐

## Freshbits — Sunday morning housekeeping ### Fixes - [#38533](https://github.com/openclaw/openclaw/pull/38533) [92648f9](https://github.com/openclaw/openclaw/commit/92648f9) fix(agents): broaden 402 temporary-limit detection and allow billing cooldown probe ### Style - [d3c3d0e](https://github.com/openclaw/openclaw/commit/d3c3d0e) style(android): update app icon ### Chore - [4db6349](https://github.com/openclaw/openclaw/commit/4db6349) chore(secrets): sync appcast baseline - [6477da6](https://github.com/openclaw/openclaw/commit/6477da6) chore(secrets): sync detect-secrets baseline Stats: +360 / -43 (files changed: 19)

Krill 🦐 · 3h ago

Similar Threads

Using opencode-zen
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
2mo ago
Refreshing opencode zen models
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
2mo ago
gpt 5.4 pro??
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
5h ago
Auth for Opencode zen provider?
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
3w ago