pi-apinex-provider

APInex provider for oh-my-pi: all 42 catalog models (free and paid) with the native /login API-key flow.

Packages

Package details

extension

Install pi-apinex-provider from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-apinex-provider
Package
pi-apinex-provider
Version
0.2.0
Published
Nov 5, 2026
Downloads
665/mo · 665/wk
Author
blaj-max
License
MIT
Types
extension
Size
14.5 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-apinex-provider

APInex provider for oh-my-pi. Registers all 42 models from APInex's public catalog — free and paid — and hooks them into omp's native /login API-key flow.

APInex is an OpenAI-compatible gateway at https://api.apinex.bond/v1.

Install

omp plugin install npm:pi-apinex-provider

Restart omp, then sign in:

/login apinex

omp opens https://apinex.bond, asks for an API key (sk-apx…), validates it against /v1/models, and stores it in omp's credential store. No environment variable or key file is involved.

Models

All 42 catalog models are registered. Zero-cost free/* IDs draw from APInex's daily allowance; paid IDs bill your APInex balance at the listed per-1M-token rate. A — means APInex lists the model but does not currently mark it free-tier eligible; it may require a plan or balance.

Provider Model ID Context Vision Tools $/1M in → out
Claude claude-fable-5.1 1M yes yes $2 → $2
Claude claude-opus-5.5 1M yes yes $0.5 → $0.5
Claude claude-sonnet-5.5 1M yes yes $0.4 → $0.4
DeepSeek deepseek-v4-flash 1M no yes $0.05 → $0.05
DeepSeek deepseek-v4-pro 1M no yes $0.07 → $0.07
DeepSeek deepseek-v4.1-flash 1M yes yes $0.06 → $0.06
Free free/claude-opus-4.6 1M yes yes —
Free free/claude-sonnet-4.6 1M yes yes —
Free free/deepseek-v4-flash-0731 1M no yes free
Free free/deepseek-v4-pro-0813 1M no yes —
Free free/deepseek-v4.1-flash 1M yes yes free
Free free/gemini-3.1-pro 1M yes yes —
Free free/gemini-3.8-flash 1M yes yes free
Free free/glm-5.3 1M no yes free
Free free/glm-5.3-flashx 1M yes yes —
Free free/glm-5.3-flash 1M yes yes free
Free free/gpt-6-luna 1M yes yes free
Free free/hy4 1M yes yes free
Free free/jev-1.13 64K no no free
Free free/kimi-k2.8 1M yes yes —
Free free/kimi-k3 1M yes yes free
Free free/mimo-v2.6-flash 1M yes yes free
Free free/mimo-v2.6-pro 1M yes yes —
Free free/minimax-m3 1M yes yes —
Free free/minimax-m3.1-flash 1M yes yes free
Free free/muse-spark-1.3 1M yes yes free
Free free/qwen-3.8-max 1M yes yes free
GLM glm-5.3 1M no yes $0.15 → $0.15
GLM glm-5.3-flash 1M yes yes $0.05 → $0.05
GPT gpt-6-astra 1M yes yes $0.5 → $0.5
GPT gpt-6-luna 1M yes yes $0.075 → $0.075
GPT gpt-6.1-sol 1M yes yes $0.3 → $0.3
GPT gpt-6.1-terra 1M yes yes $0.17 → $0.17
Gemini gemini-3.1-pro 1M yes yes $0.15 → $0.15
Gemini gemini-3.8-flash 1M yes yes $0.1 → $0.1
Gemini gemini-4-argon 1M yes yes $0.6 → $0.6
Grok grok-4.7 500K yes yes $0.3 → $0.3
Jev Group drex-v2.0 131K no no $0.04 → —
Jev Group jev-1.13 64K no no $0.042 → —
Kimi kimi-k3.1-pro 1M yes yes $0.3 → $0.4
Muse muse-spark-1.3 1M yes yes $0.3 → $0.3
Tencent hy4 1M yes yes $0.3 → $0.3

Use them with the apinex/ prefix:

omp --model apinex/claude-opus-5.5
omp --model apinex/free/deepseek-v4.1-flash

Notes

  • Cloudflare: api.apinex.bond challenges generic non-browser clients. The extension sends src: apinexcli — the header APInex's official CLI uses — on every request so omp reaches the JSON API instead of the challenge page.
  • Reasoning: DeepSeek, Gemini, GPT, and Grok models expose omp's low/medium/high thinking levels. GLM and Claude models reason unconditionally (reasoning_content), so no reasoning_effort is sent for them. Kimi, Qwen, MiniMax, Mimo, Muse, Tencent HY, and the Jev Group decision models have no thinking toggle.
  • Limits: 1M-context models use a 65,536 output-token cap; Grok 4.7, Drex 2.0, and the 64K Jev models use smaller caps from the catalog.
  • Provider only: this package registers nothing outside the apinex provider.

Uninstall

omp plugin uninstall pi-apinex-provider

License

MIT