[GH-ISSUE #12548] Running Ollama Cloud Model with SpringBoot #70384

Closed
opened 2026-05-04 21:22:33 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @Abubakkar13 on GitHub (Oct 9, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12548

Hey,

Its very nice to see ollama running from cloud,

I’m using SpringBoot(springai) with OpenAI’s chat model. I want to run the Ollama cloud model. Can this be done simply by changing the base host IP and model name, or are there additional fields/parameters required for it to work?

Originally created by @Abubakkar13 on GitHub (Oct 9, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12548 Hey, Its very nice to see ollama running from cloud, I’m using SpringBoot(springai) with OpenAI’s chat model. I want to run the Ollama cloud model. Can this be done simply by changing the base host IP and model name, or are there additional fields/parameters required for it to work?
Author
Owner

@rick-github commented on GitHub (Oct 9, 2025):

Create an API key at https://ollama.com/settings/keys and add it to an Authorization header in the API call to https://ollama.com, or use your local ollama instance as a proxy by using the model name with -cloud appended, eg gpt-oss:120b-cloud.

<!-- gh-comment-id:3384945785 --> @rick-github commented on GitHub (Oct 9, 2025): Create an API key at https://ollama.com/settings/keys and add it to an `Authorization` header in the API call to https://ollama.com, or use your local ollama instance as a proxy by using the model name with `-cloud` appended, eg `gpt-oss:120b-cloud`.
Author
Owner

@Abubakkar13 commented on GitHub (Oct 9, 2025):

This is perfect, Thanks @rick-github

<!-- gh-comment-id:3385180568 --> @Abubakkar13 commented on GitHub (Oct 9, 2025): This is perfect, Thanks @rick-github
Author
Owner

@pdevine commented on GitHub (Oct 9, 2025):

Going to close this as answered (ty @rick-github !)

<!-- gh-comment-id:3387023313 --> @pdevine commented on GitHub (Oct 9, 2025): Going to close this as answered (ty @rick-github !)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#70384