[GH-ISSUE #3050] API: /v1/models got 404 page not found #27634

Closed
opened 2026-04-22 05:07:20 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @github-lly on GitHub (Mar 11, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3050

Ollama is running, but /v1/models got 404 page not found

image

image

Originally created by @github-lly on GitHub (Mar 11, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3050 Ollama is running, but _/v1/models_ got 404 page not found ![image](https://github.com/ollama/ollama/assets/159240728/b7cd8321-604b-4b78-9190-2fb1a4c57ea3) ![image](https://github.com/ollama/ollama/assets/159240728/2687a3c7-1b1a-415e-acc4-ad894e26da43)
Author
Owner

@jmorganca commented on GitHub (Mar 11, 2024):

Hi there, Ollama doesn't have a /v1/models OpenAI compatible endpoint yet. However, you can call GET /api/tags. Will merge this with #2430

<!-- gh-comment-id:1987668049 --> @jmorganca commented on GitHub (Mar 11, 2024): Hi there, Ollama doesn't have a `/v1/models` OpenAI compatible endpoint yet. However, you can call `GET /api/tags`. Will merge this with #2430
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#27634