An omp / pi provider extension that registers AtomCode CodingPlan's free quota as a provider. It routes through the api.gitcode.com unsigned endpoint (does not go through the llm-api.atomgit.com signed gateway) and reuses the login token from ~/.atomcode automatically.
omp plugin install <owner>/omp-atomcode-provider
# or from a local clone: omp plugin install ./omp-atomcode-provider
omp --model atomcode/deepseek-ai/DeepSeek-V4-Flash "write a quicksort"
Or pick it via /model inside an omp session.
Note: omp currently resolves
--provider X --model Ybefore extension providers are loaded, so use the--model atomcode/<model-id>form for extension-registered providers.
| model id | notes |
|---|---|
atomcode/deepseek-ai/DeepSeek-V4-Flash |
1M context window, with reasoning (DeepSeek thinking chain). The only usable text model on CodingPlan Lite |
Use the gitcode full name (not the CodingPlan short name deepseek-v4-flash) — api.gitcode.com expects the full name; the short name 404s.
GLM-5.2 requires CodingPlan Pro (Lite has no quota), and Qwen3-VL is a vision model (not useful for coding), so neither is registered.
Auto-reads ~/.atomcode/auth.toml (generated by atomcode login). Re-run atomcode login when the token expires.
- Upstream:
https://api.gitcode.com/api/v5/chat/completions, OpenAI-compatible, unsigned (justBearer <token>+User-Agent: atomcode/4.26.0). - Uses omp's built-in
openai-completionsprotocol (omp itself handles messages/tools/stream/toolcall conversion), so the extension is thin — it only registers the provider + model list + reads the token + sets the UA. - Quota: drawn from the gitcode account's CodingPlan quota.
- pi-commandcode-provider — the reference omp provider extension. This project follows its structure (
package.json'spi.extensionsfield, theExtensionAPI/registerProviderentry pattern). - atomcode2api (inscripoem) — discovered the api.gitcode.com unsigned path. The upstream calling convention used here (Bearer
~/.atomcodetoken +User-Agent: atomcode/*+ full model name) comes from it.
This project is provided for educational and research purposes only.
- This project is not affiliated with, endorsed by, or sponsored by AtomCode, AtomGit, GitCode, or any of their developers or affiliates.
- The software is provided "AS IS", without warranty of any kind, express or implied. The author(s) shall not be liable for any claim, damages, or other liability arising from its use.
- Routing around the signed gateway and forwarding CodingPlan quota through an OpenAI-compatible API may violate the AtomCode/GitCode Terms of Service. The user assumes all responsibility for any consequences, including but not limited to account suspension, quota revocation, or legal action.
- Do not use this project to resell, redistribute, or commercialize access to the CodingPlan service.
MIT