[GH-ISSUE #13407] Why the embedding url changed to /api/embed? #70913

Closed
opened 2026-05-04 23:26:48 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @xuexuexue123 on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/13407

What is the issue?

according to https://docs.ollama.com/api/embed#generate-embeddings, the embedding url changed to /api/embed which is not compatible with other software like OpenAI, is this a bug?

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @xuexuexue123 on GitHub (Dec 10, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/13407 ### What is the issue? according to https://docs.ollama.com/api/embed#generate-embeddings, the embedding url changed to /api/embed which is not compatible with other software like OpenAI, is this a bug? ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-05-04 23:26:49 -05:00
Author
Owner

@pd95 commented on GitHub (Dec 10, 2025):

You are referring to the Ollama specific API.
But there is a OpenAI compatibility layer also for embeddings: https://docs.ollama.com/api/openai-compatibility#/v1/embeddings

<!-- gh-comment-id:3637588842 --> @pd95 commented on GitHub (Dec 10, 2025): You are referring to the Ollama specific API. But there is a OpenAI compatibility layer also for embeddings: https://docs.ollama.com/api/openai-compatibility#/v1/embeddings
Author
Owner

@pdevine commented on GitHub (Dec 10, 2025):

Going to close this as answered (thanks @pd95 !).

<!-- gh-comment-id:3639388000 --> @pdevine commented on GitHub (Dec 10, 2025): Going to close this as answered (thanks @pd95 !).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#70913