What is CodeGPT?
CodeGPT is a VS Code AI coding extension with chat, autocomplete and code actions. It supports a Custom provider that takes a model, key and completion endpoint, which is how Tokonomix plugs in — one key behind chat and code actions across 130+ models.
- Adds AI chat, code generation and explanation inside VS Code.
- The Custom provider takes a Model, API Key and completion Endpoint (BYOK).
- The Custom provider requires a CodeGPT Pro or Teams plan.
- Point the endpoint at the Tokonomix OpenAI-compatible base URL.
Why route CodeGPT through Tokonomix?
- One key reaches 130+ models from inside VS Code — no separate provider accounts.
- Point the model at
tokonomix-consensusfor a multi-model check on risky in-editor answers; a direct slug for routine completions. - Per-call spend caps bound usage, and region / origin routing keeps repo data compliant.
- Cost is metered to the cent in your Tokonomix dashboard.
Connect Tokonomix to CodeGPT
In the CodeGPT panel, select a model and choose the Custom provider, then fill in the model, key and endpoint.
# CodeGPT panel -> select model -> Provider: Custom
Model : tokonomix-consensus
API Key : tok-your-key
Endpoint : https://tokonomix.ai/api/v1
# Connect (BYOK; the Custom provider needs a Pro/Teams plan)Verify it works
- Select the Custom provider and fill in
tokonomix-consensus, your key and the endpoint. - Ask a question in the CodeGPT panel or trigger a code action.
- Confirm the call and token usage in your Tokonomix dashboard.