OpenRouter connection fails with "No cookie auth credentials found" despite valid auth.json #8689

Open
opened 2026-02-16 18:10:35 -05:00 by yindo · 1 comment
Owner

Originally created by @cgerx on GitHub (Feb 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Hi there,

I'm running into an issue when trying to use OpenRouter with opencode.

The Issue: I successfully added my OpenRouter API key using opencode auth login. However, when I try to start a conversation or run a task, it immediately fails with the error: No cookie auth credentials found.

Here is the error screenshot:

Image

Debug Info: I checked my local configuration file at ~/.local/share/opencode/auth.json to see if the key was actually saved. The file looks correct, and the OpenRouter SK (API key) is definitely listed there.

Here is what my config looks like:

Image
 opencode auth list                                    

┌  Credentials ~/.local/share/opencode/auth.json
│
●  Google oauth
│
●  OpenAI oauth
│
●  OpenRouter api
│
└  3 credentials

┌  Environment
│
●  OpenRouter OPENROUTER_API_KEY
│
└  1 environment variable

opencode run hello --print-logs
INFO  2026-02-06T07:24:19 +314ms service=default version=1.1.53 args=["run","hello","--print-logs"] opencode
INFO  2026-02-06T07:24:19 +0ms service=default directory=/Users/linxiao/.config/opencode creating instance
INFO  2026-02-06T07:24:19 +0ms service=project directory=/Users/linxiao/.config/opencode fromDirectory
INFO  2026-02-06T07:24:19 +7ms service=default directory=/Users/linxiao/.config/opencode bootstrapping
INFO  2026-02-06T07:24:19 +3ms service=config path=/Users/linxiao/.config/opencode/config.json loading
INFO  2026-02-06T07:24:19 +0ms service=config path=/Users/linxiao/.config/opencode/opencode.json loading
INFO  2026-02-06T07:24:19 +10ms service=config path=/Users/linxiao/.config/opencode/opencode.jsonc loading
INFO  2026-02-06T07:24:19 +1ms service=config path=/Users/linxiao/.config/opencode/opencode.json loading
INFO  2026-02-06T07:24:19 +3ms service=config path=/Users/linxiao/.opencode/opencode.jsonc loading
INFO  2026-02-06T07:24:19 +0ms service=config path=/Users/linxiao/.opencode/opencode.json loading
INFO  2026-02-06T07:24:19 +3ms service=plugin name=CodexAuthPlugin loading internal plugin
INFO  2026-02-06T07:24:19 +0ms service=plugin name=CopilotAuthPlugin loading internal plugin
INFO  2026-02-06T07:24:19 +0ms service=plugin name=gitlabAuthPlugin loading internal plugin
INFO  2026-02-06T07:24:19 +0ms service=plugin path=opencode-anthropic-auth@0.0.13 loading plugin
INFO  2026-02-06T07:24:19 +31ms service=plugin path=opencode-antigravity-auth@latest loading plugin
INFO  2026-02-06T07:24:20 +332ms service=plugin path=oh-my-opencode@3.2.3 loading plugin
INFO  2026-02-06T07:24:20 +710ms service=bus type=* subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=session.updated subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=message.updated subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=message.part.updated subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=session.updated subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=message.updated subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=message.part.updated subscribing
INFO  2026-02-06T07:24:20 +0ms service=bus type=session.diff subscribing
INFO  2026-02-06T07:24:20 +0ms service=format init
INFO  2026-02-06T07:24:20 +0ms service=bus type=file.edited subscribing
INFO  2026-02-06T07:24:20 +0ms service=lsp serverIds=deno, typescript, vue, eslint, oxlint, biome, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, fsharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, kotlin-ls, yaml-ls, lua-ls, php intelephense, prisma, dart, ocaml-lsp, bash, terraform, texlab, dockerfile, gleam, clojure-lsp, nixd, tinymist, haskell-language-server enabled LSP servers
INFO  2026-02-06T07:24:20 +2ms service=scheduler id=snapshot.cleanup run
INFO  2026-02-06T07:24:20 +0ms service=scheduler id=tool.truncation.cleanup run
INFO  2026-02-06T07:24:20 +0ms service=bus type=command.executed subscribing
INFO  2026-02-06T07:24:20 +13ms service=server method=POST path=/session request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/session request
INFO  2026-02-06T07:24:20 +2ms service=session id=ses_3ce299868ffe33OhH0PLDwYiLe slug=proud-nebula version=1.1.53 projectID=global directory=/Users/linxiao/.config/opencode title=New session - 2026-02-06T07:24:20.759Z permission=[{"permission":"question","pattern":"*","action":"deny"},{"permission":"plan_enter","pattern":"*","action":"deny"},{"permission":"plan_exit","pattern":"*","action":"deny"}] time={"created":1770362660759,"updated":1770362660759} created
INFO  2026-02-06T07:24:20 +1ms service=bus type=session.created publishing
INFO  2026-02-06T07:24:20 +2ms service=bus type=session.updated publishing
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/log request
INFO  2026-02-06T07:24:20 +4ms service=server status=completed duration=9 method=POST path=/session request
INFO  2026-02-06T07:24:20 +0ms service=server method=GET path=/config request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/config request
INFO  2026-02-06T07:24:20 +1ms service=server status=completed duration=1 method=GET path=/config request
INFO  2026-02-06T07:24:20 +3ms service=server method=GET path=/event request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/event request
INFO  2026-02-06T07:24:20 +0ms service=server method=POST path=/session/ses_3ce299868ffe33OhH0PLDwYiLe/message request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/session/ses_3ce299868ffe33OhH0PLDwYiLe/message request
INFO  2026-02-06T07:24:20 +0ms service=server event connected
INFO  2026-02-06T07:24:20 +1ms service=bus type=* subscribing
INFO  2026-02-06T07:24:20 +2ms service=server status=completed duration=3 method=GET path=/event request
INFO  2026-02-06T07:24:20 +1ms service=server status=completed duration=4 method=POST path=/session/ses_3ce299868ffe33OhH0PLDwYiLe/message request
INFO  2026-02-06T07:24:20 +5ms service=server method=GET path=/provider request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/provider request
INFO  2026-02-06T07:24:20 +1ms service=server method=POST path=/tui/show-toast request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/tui/show-toast request
INFO  2026-02-06T07:24:20 +0ms service=bus type=tui.toast.show publishing
INFO  2026-02-06T07:24:20 +1ms service=server status=completed duration=1 method=POST path=/tui/show-toast request
INFO  2026-02-06T07:24:20 +12ms service=provider status=started state
INFO  2026-02-06T07:24:20 +6ms service=provider init
INFO  2026-02-06T07:24:20 +12ms service=server status=started method=POST path=/log request
WARN  2026-02-06T07:24:20 +1ms service=skill name=planning-with-files existing=/Users/linxiao/.config/opencode/skills/planning-with-files.repo/skills/planning-with-files/SKILL.md duplicate=/Users/linxiao/.config/opencode/skills/planning-with-files/SKILL.md duplicate skill name
INFO  2026-02-06T07:24:20 +5ms service=server method=GET path=/session/ses_3ce299868ffe33OhH0PLDwYiLe request
INFO  2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/session/ses_3ce299868ffe33OhH0PLDwYiLe request
INFO  2026-02-06T07:24:20 +0ms service=server url=http://localhost:4096/session/ses_3ce299868ffe33OhH0PLDwYiLe SEARCH
INFO  2026-02-06T07:24:20 +1ms service=provider providerID=openrouter found
INFO  2026-02-06T07:24:20 +0ms service=provider providerID=openai found
INFO  2026-02-06T07:24:20 +0ms service=provider providerID=google found
INFO  2026-02-06T07:24:20 +0ms service=provider providerID=opencode found
INFO  2026-02-06T07:24:20 +0ms service=provider status=completed duration=25 state
INFO  2026-02-06T07:24:20 +14ms service=server status=completed duration=53 method=GET path=/provider request
INFO  2026-02-06T07:24:20 +4ms service=server status=completed duration=19 method=GET path=/session/ses_3ce299868ffe33OhH0PLDwYiLe request
INFO  2026-02-06T07:24:20 +4ms service=bus type=message.updated publishing
ERROR 2026-02-06T07:24:20 +2ms service=default e=ProviderModelNotFoundError rejection
INFO  2026-02-06T07:24:20 +0ms service=bus type=message.part.updated publishing
INFO  2026-02-06T07:24:20 +1ms service=bus type=session.updated publishing
INFO  2026-02-06T07:24:20 +1ms service=bus type=session.status publishing
INFO  2026-02-06T07:24:20 +0ms service=session.prompt step=0 sessionID=ses_3ce299868ffe33OhH0PLDwYiLe loop
INFO  2026-02-06T07:24:20 +2ms service=session.prompt sessionID=ses_3ce299868ffe33OhH0PLDwYiLe cancel
INFO  2026-02-06T07:24:20 +0ms service=bus type=session.status publishing
INFO  2026-02-06T07:24:20 +0ms service=bus type=session.idle publishing
1087 |     const provider = s.providers[providerID]
1088 |     if (!provider) {
1089 |       const availableProviders = Object.keys(s.providers)
1090 |       const matches = fuzzysort.go(providerID, availableProviders, { limit: 3, threshold: -10000 })
1091 |       const suggestions = matches.map((m) => m.target)
1092 |       throw new ModelNotFoundError({ providerID, modelID, suggestions })
                   ^
ProviderModelNotFoundError: ProviderModelNotFoundError
 data: {
  providerID: "kimi-k2.5-free",
  modelID: "",
  suggestions: [],
},

      at getModel (src/provider/provider.ts:1092:13)

INFO  2026-02-06T07:24:20 +3ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_3ce299868ffe33OhH0PLDwYiLe small=true agent=title mode=primary stream
INFO  2026-02-06T07:24:20 +1ms service=provider status=started providerID=opencode getSDK
INFO  2026-02-06T07:24:20 +0ms service=provider providerID=opencode pkg=@ai-sdk/openai using bundled provider
INFO  2026-02-06T07:24:20 +0ms service=provider status=completed duration=0 providerID=opencode getSDK
INFO  2026-02-06T07:24:20 +0ms service=default directory=/Users/linxiao/.config/opencode disposing instance
INFO  2026-02-06T07:24:20 +0ms service=state key=/Users/linxiao/.config/opencode waiting for state disposal to complete
INFO  2026-02-06T07:24:20 +0ms service=state key=/Users/linxiao/.config/opencode state disposal completed

Could you guys take a look? Thanks!

Plugins

omo + opencode-antigravity-auth

OpenCode version

1.1.53

Steps to reproduce

  1. Run opencode auth login and enter the OpenRouter API key.
  2. Attempt to send a prompt or start a chat.
  3. The "No cookie auth credentials found" error appears.

Screenshot and/or share link

No response

Operating System

macos 26.1

Terminal

termius

Originally created by @cgerx on GitHub (Feb 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Hi there, I'm running into an issue when trying to use OpenRouter with opencode. The Issue: I successfully added my OpenRouter API key using opencode auth login. However, when I try to start a conversation or run a task, it immediately fails with the error: No cookie auth credentials found. Here is the error screenshot: <img width="860" height="904" alt="Image" src="https://github.com/user-attachments/assets/93fa6977-8437-44fd-96cc-65942d1ff09b" /> Debug Info: I checked my local configuration file at ~/.local/share/opencode/auth.json to see if the key was actually saved. The file looks correct, and the OpenRouter SK (API key) is definitely listed there. Here is what my config looks like: <img width="665" height="113" alt="Image" src="https://github.com/user-attachments/assets/9405b97f-48df-46e3-86b9-0b22674f3771" /> ```shell opencode auth list ┌ Credentials ~/.local/share/opencode/auth.json │ ● Google oauth │ ● OpenAI oauth │ ● OpenRouter api │ └ 3 credentials ┌ Environment │ ● OpenRouter OPENROUTER_API_KEY │ └ 1 environment variable ``` ```shell opencode run hello --print-logs INFO 2026-02-06T07:24:19 +314ms service=default version=1.1.53 args=["run","hello","--print-logs"] opencode INFO 2026-02-06T07:24:19 +0ms service=default directory=/Users/linxiao/.config/opencode creating instance INFO 2026-02-06T07:24:19 +0ms service=project directory=/Users/linxiao/.config/opencode fromDirectory INFO 2026-02-06T07:24:19 +7ms service=default directory=/Users/linxiao/.config/opencode bootstrapping INFO 2026-02-06T07:24:19 +3ms service=config path=/Users/linxiao/.config/opencode/config.json loading INFO 2026-02-06T07:24:19 +0ms service=config path=/Users/linxiao/.config/opencode/opencode.json loading INFO 2026-02-06T07:24:19 +10ms service=config path=/Users/linxiao/.config/opencode/opencode.jsonc loading INFO 2026-02-06T07:24:19 +1ms service=config path=/Users/linxiao/.config/opencode/opencode.json loading INFO 2026-02-06T07:24:19 +3ms service=config path=/Users/linxiao/.opencode/opencode.jsonc loading INFO 2026-02-06T07:24:19 +0ms service=config path=/Users/linxiao/.opencode/opencode.json loading INFO 2026-02-06T07:24:19 +3ms service=plugin name=CodexAuthPlugin loading internal plugin INFO 2026-02-06T07:24:19 +0ms service=plugin name=CopilotAuthPlugin loading internal plugin INFO 2026-02-06T07:24:19 +0ms service=plugin name=gitlabAuthPlugin loading internal plugin INFO 2026-02-06T07:24:19 +0ms service=plugin path=opencode-anthropic-auth@0.0.13 loading plugin INFO 2026-02-06T07:24:19 +31ms service=plugin path=opencode-antigravity-auth@latest loading plugin INFO 2026-02-06T07:24:20 +332ms service=plugin path=oh-my-opencode@3.2.3 loading plugin INFO 2026-02-06T07:24:20 +710ms service=bus type=* subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=session.updated subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=message.updated subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=message.part.updated subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=session.updated subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=message.updated subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=message.part.updated subscribing INFO 2026-02-06T07:24:20 +0ms service=bus type=session.diff subscribing INFO 2026-02-06T07:24:20 +0ms service=format init INFO 2026-02-06T07:24:20 +0ms service=bus type=file.edited subscribing INFO 2026-02-06T07:24:20 +0ms service=lsp serverIds=deno, typescript, vue, eslint, oxlint, biome, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, fsharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, kotlin-ls, yaml-ls, lua-ls, php intelephense, prisma, dart, ocaml-lsp, bash, terraform, texlab, dockerfile, gleam, clojure-lsp, nixd, tinymist, haskell-language-server enabled LSP servers INFO 2026-02-06T07:24:20 +2ms service=scheduler id=snapshot.cleanup run INFO 2026-02-06T07:24:20 +0ms service=scheduler id=tool.truncation.cleanup run INFO 2026-02-06T07:24:20 +0ms service=bus type=command.executed subscribing INFO 2026-02-06T07:24:20 +13ms service=server method=POST path=/session request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/session request INFO 2026-02-06T07:24:20 +2ms service=session id=ses_3ce299868ffe33OhH0PLDwYiLe slug=proud-nebula version=1.1.53 projectID=global directory=/Users/linxiao/.config/opencode title=New session - 2026-02-06T07:24:20.759Z permission=[{"permission":"question","pattern":"*","action":"deny"},{"permission":"plan_enter","pattern":"*","action":"deny"},{"permission":"plan_exit","pattern":"*","action":"deny"}] time={"created":1770362660759,"updated":1770362660759} created INFO 2026-02-06T07:24:20 +1ms service=bus type=session.created publishing INFO 2026-02-06T07:24:20 +2ms service=bus type=session.updated publishing INFO 2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/log request INFO 2026-02-06T07:24:20 +4ms service=server status=completed duration=9 method=POST path=/session request INFO 2026-02-06T07:24:20 +0ms service=server method=GET path=/config request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/config request INFO 2026-02-06T07:24:20 +1ms service=server status=completed duration=1 method=GET path=/config request INFO 2026-02-06T07:24:20 +3ms service=server method=GET path=/event request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/event request INFO 2026-02-06T07:24:20 +0ms service=server method=POST path=/session/ses_3ce299868ffe33OhH0PLDwYiLe/message request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/session/ses_3ce299868ffe33OhH0PLDwYiLe/message request INFO 2026-02-06T07:24:20 +0ms service=server event connected INFO 2026-02-06T07:24:20 +1ms service=bus type=* subscribing INFO 2026-02-06T07:24:20 +2ms service=server status=completed duration=3 method=GET path=/event request INFO 2026-02-06T07:24:20 +1ms service=server status=completed duration=4 method=POST path=/session/ses_3ce299868ffe33OhH0PLDwYiLe/message request INFO 2026-02-06T07:24:20 +5ms service=server method=GET path=/provider request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/provider request INFO 2026-02-06T07:24:20 +1ms service=server method=POST path=/tui/show-toast request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=POST path=/tui/show-toast request INFO 2026-02-06T07:24:20 +0ms service=bus type=tui.toast.show publishing INFO 2026-02-06T07:24:20 +1ms service=server status=completed duration=1 method=POST path=/tui/show-toast request INFO 2026-02-06T07:24:20 +12ms service=provider status=started state INFO 2026-02-06T07:24:20 +6ms service=provider init INFO 2026-02-06T07:24:20 +12ms service=server status=started method=POST path=/log request WARN 2026-02-06T07:24:20 +1ms service=skill name=planning-with-files existing=/Users/linxiao/.config/opencode/skills/planning-with-files.repo/skills/planning-with-files/SKILL.md duplicate=/Users/linxiao/.config/opencode/skills/planning-with-files/SKILL.md duplicate skill name INFO 2026-02-06T07:24:20 +5ms service=server method=GET path=/session/ses_3ce299868ffe33OhH0PLDwYiLe request INFO 2026-02-06T07:24:20 +0ms service=server status=started method=GET path=/session/ses_3ce299868ffe33OhH0PLDwYiLe request INFO 2026-02-06T07:24:20 +0ms service=server url=http://localhost:4096/session/ses_3ce299868ffe33OhH0PLDwYiLe SEARCH INFO 2026-02-06T07:24:20 +1ms service=provider providerID=openrouter found INFO 2026-02-06T07:24:20 +0ms service=provider providerID=openai found INFO 2026-02-06T07:24:20 +0ms service=provider providerID=google found INFO 2026-02-06T07:24:20 +0ms service=provider providerID=opencode found INFO 2026-02-06T07:24:20 +0ms service=provider status=completed duration=25 state INFO 2026-02-06T07:24:20 +14ms service=server status=completed duration=53 method=GET path=/provider request INFO 2026-02-06T07:24:20 +4ms service=server status=completed duration=19 method=GET path=/session/ses_3ce299868ffe33OhH0PLDwYiLe request INFO 2026-02-06T07:24:20 +4ms service=bus type=message.updated publishing ERROR 2026-02-06T07:24:20 +2ms service=default e=ProviderModelNotFoundError rejection INFO 2026-02-06T07:24:20 +0ms service=bus type=message.part.updated publishing INFO 2026-02-06T07:24:20 +1ms service=bus type=session.updated publishing INFO 2026-02-06T07:24:20 +1ms service=bus type=session.status publishing INFO 2026-02-06T07:24:20 +0ms service=session.prompt step=0 sessionID=ses_3ce299868ffe33OhH0PLDwYiLe loop INFO 2026-02-06T07:24:20 +2ms service=session.prompt sessionID=ses_3ce299868ffe33OhH0PLDwYiLe cancel INFO 2026-02-06T07:24:20 +0ms service=bus type=session.status publishing INFO 2026-02-06T07:24:20 +0ms service=bus type=session.idle publishing 1087 | const provider = s.providers[providerID] 1088 | if (!provider) { 1089 | const availableProviders = Object.keys(s.providers) 1090 | const matches = fuzzysort.go(providerID, availableProviders, { limit: 3, threshold: -10000 }) 1091 | const suggestions = matches.map((m) => m.target) 1092 | throw new ModelNotFoundError({ providerID, modelID, suggestions }) ^ ProviderModelNotFoundError: ProviderModelNotFoundError data: { providerID: "kimi-k2.5-free", modelID: "", suggestions: [], }, at getModel (src/provider/provider.ts:1092:13) INFO 2026-02-06T07:24:20 +3ms service=llm providerID=opencode modelID=gpt-5-nano sessionID=ses_3ce299868ffe33OhH0PLDwYiLe small=true agent=title mode=primary stream INFO 2026-02-06T07:24:20 +1ms service=provider status=started providerID=opencode getSDK INFO 2026-02-06T07:24:20 +0ms service=provider providerID=opencode pkg=@ai-sdk/openai using bundled provider INFO 2026-02-06T07:24:20 +0ms service=provider status=completed duration=0 providerID=opencode getSDK INFO 2026-02-06T07:24:20 +0ms service=default directory=/Users/linxiao/.config/opencode disposing instance INFO 2026-02-06T07:24:20 +0ms service=state key=/Users/linxiao/.config/opencode waiting for state disposal to complete INFO 2026-02-06T07:24:20 +0ms service=state key=/Users/linxiao/.config/opencode state disposal completed ``` Could you guys take a look? Thanks! ### Plugins omo + opencode-antigravity-auth ### OpenCode version 1.1.53 ### Steps to reproduce 1. Run opencode auth login and enter the OpenRouter API key. 2. Attempt to send a prompt or start a chat. 3. The "No cookie auth credentials found" error appears. ### Screenshot and/or share link _No response_ ### Operating System macos 26.1 ### Terminal termius
yindo added the bug label 2026-02-16 18:10:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #1631: AI_APICallError - No auth credentials found despite providing credentials (Same error message and root cause - OpenRouter credentials saved via auth login not being recognized)
  • #4013: Auth keeps resetting (Related issue with credentials being lost or not properly persisted)
  • #10950: Stored OAuth credentials silently override explicit provider configuration (Related to credential loading precedence issues)
  • #1784: Can't run opencode with openrouter models in non-interactive mode (OpenRouter authentication issues)
  • #8851: Kimi-K2 via OpenRouter fails with tool call tokens (Related to the ProviderModelNotFoundError with 'kimi-k2.5-free' shown in logs)
  • #1329: OpenRouter/Kimi K2 just stops working (Related Kimi K2 via OpenRouter failures)

The ProviderModelNotFoundError with 'kimi-k2.5-free' in your logs suggests the root cause might involve how OpenRouter models are being loaded and validated. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #1631: AI_APICallError - No auth credentials found despite providing credentials (Same error message and root cause - OpenRouter credentials saved via auth login not being recognized) - #4013: Auth keeps resetting (Related issue with credentials being lost or not properly persisted) - #10950: Stored OAuth credentials silently override explicit provider configuration (Related to credential loading precedence issues) - #1784: Can't run opencode with openrouter models in non-interactive mode (OpenRouter authentication issues) - #8851: Kimi-K2 via OpenRouter fails with tool call tokens (Related to the ProviderModelNotFoundError with 'kimi-k2.5-free' shown in logs) - #1329: OpenRouter/Kimi K2 just stops working (Related Kimi K2 via OpenRouter failures) The ProviderModelNotFoundError with 'kimi-k2.5-free' in your logs suggests the root cause might involve how OpenRouter models are being loaded and validated. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8689