CNSeniorious000/oai2ollama
OpenAI API -> Ollama API (original idea: https://github.com/microsoft/vscode-copilot-release/issues/7518#issuecomment-3043670968)
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.
Stars
71
Forks
20
Language
Python
License
—
Category
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.
Compare
Related tools
theblixguy/xcode-copilot-server
GitHub Copilot proxy for Xcode with support for Claude Agent and Codex Agent.
yuchanns/copilot-openai-api
A FastAPI proxy server that seamlessly turns GitHub Copilot's chat completion/embeddings...
shyamsridhar123/ClaudeCode-Copilot-Proxy
Proxy server enabling Claude Code to work seamlessly with GitHub Copilot. Bridges AI coding...
hankchiutw/copilot-proxy
A simple HTTP proxy that exposes your GitHub Copilot free quota as an OpenAI-compatible API
srikanth235/privy
An open-source alternative to GitHub copilot that runs locally.