[GH-ISSUE #3922] JSON list of available models #2432

Closed
opened 2026-04-12 12:44:49 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @ricardobalk on GitHub (Apr 25, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3922

Originally assigned to: @BruceMacD on GitHub.

I saw that there's a list of available models at https://ollama.com/library. Is there a JSON-formatted file for this list? I would like to integrate it into a Python application I'm building.

Edit: I forgot to mention that I with file, I actually mean a JSON-formatted response on a public endpoint, so that my Python application can always download an up-to-date list of available models.

Originally created by @ricardobalk on GitHub (Apr 25, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3922 Originally assigned to: @BruceMacD on GitHub. I saw that there's a list of available models at https://ollama.com/library. Is there a JSON-formatted file for this list? I would like to integrate it into a Python application I'm building. **Edit: I forgot to mention that I with _file_, I actually mean a _JSON-formatted response on a public endpoint_, so that my Python application can always download an up-to-date list of available models.**
GiteaMirror added the feature requestollama.com labels 2026-04-12 12:44:49 -05:00
Author
Owner

@akazwz commented on GitHub (Apr 26, 2024):

Official support is not yet available. However, based on the information from the official website, I have created a public API. The link is https://ollama-models.zwz.workers.dev. It is open-source, and the repository can be found at https://github.com/akazwz/ollama-models. You can also deploy one yourself. This is a solution until an official one is provided.

<!-- gh-comment-id:2079189550 --> @akazwz commented on GitHub (Apr 26, 2024): Official support is not yet available. However, based on the information from the official website, I have created a public API. The link is [https://ollama-models.zwz.workers.dev](https://ollama-models.zwz.workers.dev). It is open-source, and the repository can be found at [https://github.com/akazwz/ollama-models](https://github.com/akazwz/ollama-models). You can also deploy one yourself. This is a solution until an official one is provided.
Author
Owner

@ricardobalk commented on GitHub (Apr 28, 2024):

@akazwz You're amazing! Thank you for building this so quickly.

P.S. I saw that you update it every 1h, perhaps it's better to pull updates every 12-72h as the list does not update that much each day. Not sure if your service would get blocked for the amount of requests 🙈

<!-- gh-comment-id:2081665317 --> @ricardobalk commented on GitHub (Apr 28, 2024): @akazwz You're amazing! Thank you for building this so quickly. P.S. I saw that you update it every 1h, perhaps it's better to pull updates every 12-72h as the list does not update that much each day. Not sure if your service would get blocked for the amount of requests 🙈
Author
Owner

@akazwz commented on GitHub (Apr 29, 2024):

@ricardobalk Yes, I agree. We can adjust the update frequency to every 24 hours.

<!-- gh-comment-id:2081865588 --> @akazwz commented on GitHub (Apr 29, 2024): @ricardobalk Yes, I agree. We can adjust the update frequency to every 24 hours.
Author
Owner

@jmorganca commented on GitHub (May 9, 2024):

closing for https://github.com/ollama/ollama/issues/1070 - thanks for the issue!

<!-- gh-comment-id:2103494899 --> @jmorganca commented on GitHub (May 9, 2024): closing for https://github.com/ollama/ollama/issues/1070 - thanks for the issue!
Author
Owner

@onigetoc commented on GitHub (Jan 24, 2025):

@ricardobalk It do not seem to update anymore.
2 month ago?

<!-- gh-comment-id:2611978091 --> @onigetoc commented on GitHub (Jan 24, 2025): @ricardobalk It do not seem to update anymore. 2 month ago?
Author
Owner

@agustinsacco commented on GitHub (Mar 16, 2025):

Absolute legend, thanks for putting that together 👍

<!-- gh-comment-id:2727463464 --> @agustinsacco commented on GitHub (Mar 16, 2025): Absolute legend, thanks for putting that together 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2432