Skip to content

[Feature request] Ollama API compatibility /api/tags #200

@grigio

Description

@grigio

Describe the bug
Some software do not provide an openai-compatible options but they implement Ollama, is possible to have a /api/tags implementation?

Expected behaviour

# ollama endpoint
curl http://ollama.lan:11434/api/tags
{"models":[{"name":"gemma3n:e4b","model":"gemma3n:e4b","modified_at":"2025-06-27T13:46:49.045595241Z","size":7547589116,"digest":"15cb39fd9394fd2549f6df9081cfc84dd134ecf2c9c5be911e5629920489ac32","details":{"parent_model":"","format":"gguf","family":"gemma3n","families":["gemma3n"],"parameter_size":"6.9B","quantization_level":"Q4_K_M"}},{"name":"qwen3:30b-a3b","model":"qwen3:30b-a3b","modified_at":"2025-04-29T10:27:38.117801176Z","size":18622562938,"digest":"2ee832bc15b549ed17a6b83de0e0d3eab226b5e727ca046d22e11a2b50d9cd0c","details":{"parent_model":""..

# llama-swap endpoint
curl http://llama-swap.lan:9292/api/tags 
<empty response>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions