[GH-ISSUE #1249] An easy way to get model information? #62675

Closed
opened 2026-05-03 09:56:59 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @jorge-menjivar on GitHub (Nov 22, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1249

Is there an easy way to get model information? I would like to know the context size window for any model, preferably from the endpoints API.

If there is no way to get this from the endpoints API, I would like to contribute this feature, however, I am not sure where this information is found for each model. Advice on this would be appreciated. Thank you!

Originally created by @jorge-menjivar on GitHub (Nov 22, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1249 Is there an easy way to get model information? I would like to know the context size window for any model, preferably from the endpoints API. If there is no way to get this from the endpoints API, I would like to contribute this feature, however, I am not sure where this information is found for each model. Advice on this would be appreciated. Thank you!
GiteaMirror added the feature request label 2026-05-03 09:56:59 -05:00
Author
Owner

@SebastianMpl commented on GitHub (Nov 23, 2023):

One that I found is that when you run a model in a terminal you have all the model information in the terminal window where you run serve command. Although I agree - this should be obtained in a pretty fashion.

<!-- gh-comment-id:1824112396 --> @SebastianMpl commented on GitHub (Nov 23, 2023): One that I found is that when you run a model in a terminal you have all the model information in the terminal window where you run serve command. Although I agree - this should be obtained in a pretty fashion.
Author
Owner

@iplayfast commented on GitHub (Nov 23, 2023):

I would like to get a list of models that can be pulled. If you can pull from the registry and push to the registry shouldn't you be able see what is in the registry?

<!-- gh-comment-id:1824430546 --> @iplayfast commented on GitHub (Nov 23, 2023): I would like to get a list of models that can be pulled. If you can pull from the registry and push to the registry shouldn't you be able see what is in the registry?
Author
Owner

@thawkins commented on GitHub (Dec 3, 2023):

I would like a list remote command to view possible models available

<!-- gh-comment-id:1837548576 --> @thawkins commented on GitHub (Dec 3, 2023): I would like a list remote command to view possible models available
Author
Owner

@kris-hansen commented on GitHub (Feb 26, 2024):

I have been using a fork with a --list-remote option which pulls the models from ollama.ai/library and parses them into the CLI. I'm finding it useful (although not essential) and added a PR in case the community wants to take it upstream.

<!-- gh-comment-id:1963202801 --> @kris-hansen commented on GitHub (Feb 26, 2024): I have been using a fork with a `--list-remote` option which pulls the models from ollama.ai/library and parses them into the CLI. I'm finding it useful (although not essential) and added a [PR](https://github.com/ollama/ollama/pull/1732) in case the community wants to take it upstream.
Author
Owner

@jmorganca commented on GitHub (Sep 4, 2024):

Hi there, the /api/show endpoint has this info now: https://github.com/ollama/ollama/blob/main/docs/api.md#show-model-information

<!-- gh-comment-id:2327841816 --> @jmorganca commented on GitHub (Sep 4, 2024): Hi there, the `/api/show` endpoint has this info now: https://github.com/ollama/ollama/blob/main/docs/api.md#show-model-information
Author
Owner

@khimaros commented on GitHub (Jan 13, 2025):

i don't think this solves the "list remote" problem

<!-- gh-comment-id:2586624082 --> @khimaros commented on GitHub (Jan 13, 2025): i don't think this solves the "list remote" problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62675