[GH-ISSUE #15839] ollama launch claude --model {modelname} fais with API Error: 400 #72154

Open
opened 2026-05-05 03:33:30 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @saneax on GitHub (Apr 27, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15839

What is the issue?

The following models were tried by me -

  1. deepseek-v4-flash:cloud
  2. kimi-k2.6:cloud

sanjaupa@sanjaupa-l-mp2qs5dv:~/t1$ ollama launch claude --model kimi-k2.6:cloud
╭─── Claude Code v2.1.119
...
│ kimi-k2.6:cloud · API Usage Billing │ │
│ ~/t1 │ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

❯ /init
⎿  API Error: 400 {"error":{"code":"1211","message":"Unknown Model, please check the model code."},"request_id":"202604280034427ba565263dda44b0"}

sanjaupa@sanjaupa-l-mp2qs5dv:~/t1$ ollama launch claude --model deepseek-v4-flash:cloud
╭─── Claude Code v2.1.119 ────────────────────────────────────────────────────────────────────────────────────────────╮
...
│ deepseek-v4-flash:cloud · API Usage Billing │ │
│ ~/t1 │ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

❯ /init
⎿  API Error: 400 {"error":{"code":"1211","message":"Unknown Model, please check the model code."},"request_id":"20260428003832ab52910addaf4d6e"}

Relevant log output


OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.20.7

Originally created by @saneax on GitHub (Apr 27, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15839 ### What is the issue? The following models were tried by me - 1. deepseek-v4-flash:cloud 2. kimi-k2.6:cloud sanjaupa@sanjaupa-l-mp2qs5dv:~/t1$ ollama launch claude --model kimi-k2.6:cloud ╭─── Claude Code v2.1.119 ... │ kimi-k2.6:cloud · API Usage Billing │ │ │ ~/t1 │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ❯ /init ⎿  API Error: 400 {"error":{"code":"1211","message":"Unknown Model, please check the model code."},"request_id":"202604280034427ba565263dda44b0"} sanjaupa@sanjaupa-l-mp2qs5dv:~/t1$ ollama launch claude --model deepseek-v4-flash:cloud ╭─── Claude Code v2.1.119 ────────────────────────────────────────────────────────────────────────────────────────────╮ ... │ deepseek-v4-flash:cloud · API Usage Billing │ │ │ ~/t1 │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ❯ /init ⎿  API Error: 400 {"error":{"code":"1211","message":"Unknown Model, please check the model code."},"request_id":"20260428003832ab52910addaf4d6e"} ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.20.7
GiteaMirror added the bug label 2026-05-05 03:33:30 -05:00
Author
Owner

@chenhao1umbc commented on GitHub (Apr 29, 2026):

I think you have to pay to use it

<!-- gh-comment-id:4347181005 --> @chenhao1umbc commented on GitHub (Apr 29, 2026): I think you have to pay to use it
Author
Owner

@ParthSareen commented on GitHub (Apr 30, 2026):

Hi @saneax are you on a pro or max account?

<!-- gh-comment-id:4356196367 --> @ParthSareen commented on GitHub (Apr 30, 2026): Hi @saneax are you on a pro or max account?
Author
Owner

@saneax commented on GitHub (May 1, 2026):

I am on the pro and I have sufficient usage left.

<!-- gh-comment-id:4357485518 --> @saneax commented on GitHub (May 1, 2026): I am on the pro and I have sufficient usage left.
Author
Owner

@ParthSareen commented on GitHub (May 1, 2026):

I am on the pro and I have sufficient usage left.

Could you make sure you claude code is on the latest version? claude update

<!-- gh-comment-id:4357493121 --> @ParthSareen commented on GitHub (May 1, 2026): > I am on the pro and I have sufficient usage left. Could you make sure you claude code is on the latest version? `claude update`
Author
Owner

@saneax commented on GitHub (May 2, 2026):

Thanks, after the update of Claude, it is working. Please close this bug.

<!-- gh-comment-id:4362973334 --> @saneax commented on GitHub (May 2, 2026): Thanks, after the update of Claude, it is working. Please close this bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#72154