CNSeniorious000/oai2ollama

OpenAI API -> Ollama API (original idea: https://github.com/microsoft/vscode-copilot-release/issues/7518#issuecomment-3043670968)

50
/ 100
Established

This tool helps developers use custom large language models (LLMs) with coding agents like GitHub Copilot for VS Code, even if those agents only support Ollama. It takes an existing OpenAI-compatible API endpoint for your custom model and translates it into an Ollama-compatible API. The end user is a developer who wants to integrate a specific LLM into their AI-assisted coding environment.

Available on PyPI.

Use this if you have a custom LLM accessible via an OpenAI-compatible API and want to use it with a coding assistant that only supports the Ollama API.

Not ideal if you are not a developer or if your coding agent already directly supports your custom LLM's API.

AI-assisted coding LLM integration Developer tools API proxy Custom AI models
No License
Maintenance 6 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

71

Forks

20

Language

Python

License

Last pushed

Jan 07, 2026

Commits (30d)

0

Dependencies

5

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/CNSeniorious000/oai2ollama"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.