[GH-ISSUE #8579] llama.cpp server API compatibility #5543

Closed
opened 2026-04-12 16:48:15 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @shishkin on GitHub (Jan 25, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8579

This seems like an obvious thing but I could not find an existing issue for that. It would be nice if Ollama API had a compatibility layer with llama.cpp server API.

I wanted to try out the new llama.vscode extension and could figure out how to make it work with ollama-served models. I would like to avoid having a zoo of model servers and would prefer to just rely on ollama.

Originally created by @shishkin on GitHub (Jan 25, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8579 This seems like an obvious thing but I could not find an existing issue for that. It would be nice if Ollama API had a compatibility layer with [llama.cpp server API](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md#api-endpoints). I wanted to try out the new [llama.vscode](https://github.com/ggml-org/llama.vscode) extension and could figure out how to make it work with ollama-served models. I would like to avoid having a zoo of model servers and would prefer to just rely on ollama.
GiteaMirror added the feature request label 2026-04-12 16:48:15 -05:00
Author
Owner

@jmorganca commented on GitHub (Apr 7, 2025):

Ollama strives to maintain an OpenAI-compatible API: https://github.com/ollama/ollama/blob/main/docs/openai.md. For the time being the maintainer team is focusing on supporting the Ollama API and an OpenAI-compatible API as much as possible

<!-- gh-comment-id:2784127319 --> @jmorganca commented on GitHub (Apr 7, 2025): Ollama strives to maintain an OpenAI-compatible API: https://github.com/ollama/ollama/blob/main/docs/openai.md. For the time being the maintainer team is focusing on supporting the Ollama API and an OpenAI-compatible API as much as possible
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5543