CNSeniorious000/oai2ollama
OpenAI API -> Ollama API (original idea: https://github.com/microsoft/vscode-copilot-release/issues/7518#issuecomment-3043670968)
Implements a protocol bridge that translates OpenAI API requests into Ollama-compatible responses, enabling tools like VS Code Copilot to consume custom models from OpenAI-compatible providers. Built as a lightweight FastAPI server, it supports declarative capability registration (tools, vision, thinking, etc.) and model aliasing via CLI flags or environment configuration. Useful for coding agents locked into Ollama's `/api/tags` and chat endpoints but requiring access to proprietary or self-hosted models.
Available on PyPI.
Stars
71
Forks
20
Language
Python
License
—
Category
Last pushed
Jan 07, 2026
Monthly downloads
300
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.
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...
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.
shyamsridhar123/ClaudeCode-Copilot-Proxy
Proxy server enabling Claude Code to work seamlessly with GitHub Copilot. Bridges AI coding...