[GH-ISSUE #13854] Misleading documentation for using Ollama cloud models with Claude Code #9069

Closed
opened 2026-04-12 21:54:33 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @sagarkawad on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/13854

What is the issue?

The documentation clearly tells to connect Ollama cloud model with claude code by setting the ANTHROPIC_API_KEY=(your-api-key). But what really needs to be set is ANTHROPIC_AUTH_TOKEN=(your-api-key) along with the ANTHROPIC_BASE_URL=https://ollama.com.

Image

Also these commands are only appropriate to linux systems. It would be better if there are different commands mentioned according to the Operating Systems.

Relevant log output


OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

0.14.3

Originally created by @sagarkawad on GitHub (Jan 23, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/13854 ### What is the issue? The documentation clearly tells to connect Ollama cloud model with claude code by setting the ANTHROPIC_API_KEY=(your-api-key). But what really needs to be set is ANTHROPIC_AUTH_TOKEN=(your-api-key) along with the ANTHROPIC_BASE_URL=https://ollama.com. ![Image](https://github.com/user-attachments/assets/235e41c7-6a3f-45a5-ad93-d93ada70deb3) Also these commands are only appropriate to linux systems. It would be better if there are different commands mentioned according to the Operating Systems. ### Relevant log output ```shell ``` ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version 0.14.3
GiteaMirror added the bug label 2026-04-12 21:54:33 -05:00
Author
Owner

@jero-at-github commented on GitHub (Jan 23, 2026):

Thanks a lot! I have spent the whole day trying to make it work, that was the solution

<!-- gh-comment-id:3791299022 --> @jero-at-github commented on GitHub (Jan 23, 2026): Thanks a lot! I have spent the whole day trying to make it work, that was the solution
Author
Owner

@ParthSareen commented on GitHub (Jan 24, 2026):

Hey! Probably missed that in the docs - should be fixed now with ollama launch just pull whichever cloud model you want to use!

<!-- gh-comment-id:3794102684 --> @ParthSareen commented on GitHub (Jan 24, 2026): Hey! Probably missed that in the docs - should be fixed now with `ollama launch` just pull whichever cloud model you want to use!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9069