Zum Inhalt

Integrations

Connect your AI coding agent

Tokonomix exposes an OpenAI-compatible endpoint and an MCP server so every major coding agent connects with a one-line config change. Route single-model calls for speed — or set model: "tokonomix-consensus" on high-stakes calls to get a cross-family verdict before your code lands.

OpenAI base URLhttps://tokonomix.ai/api/v1
Anthropic base URLhttps://tokonomix.ai/api/anthropic
MCPnpx tokonomix-mcp

Why Tokonomix

Routing is table stakes. Consensus is the differentiator.

Any router can forward a prompt to a model. Tokonomix adds a cross-family council: three proposer models from different families each answer independently, then a judge synthesises and flags disagreements. Blind-spot detection catches what any single model misses.

model: "tokonomix-consensus"— set this once per call to activate the full council

Modellauswahl

Welches Modell und welchen Endpunkt soll mein Agent verwenden?

Wähle nach dem, was dein Agent tut, und tausche die Modell-ID jederzeit aus — jedes Modell im Katalog funktioniert über denselben Schlüssel.

Was dein Agent tutVerwende dies
Bearbeitet Dateien / ruft Tools auf und streamt Antworten (die meisten Coding-Agents)Ein Anthropic-Modell über den Anthropic-Endpunkt (Tools + Streaming funktionieren beide)
Ruft Tools auf, benötigt aber kein Streaming (beliebiges Modell)Der OpenAI-kompatible Endpunkt mit einer einzelnen Modell-ID
Benötigt Tools und Streaming auf einem Nicht-Anthropic-ModellVerwende vorerst Non-Streaming — Streaming-Tool-Calls für andere Anbieter sind noch nicht aktiviert
Normaler Chat, keine ToolsBeliebiger Endpunkt; Streaming ist in Ordnung
Möchte ein modellübergreifendes Urteil (Konsens) bei einer wichtigen AntwortModell auf tokonomix-consensus am OpenAI-kompatiblen Endpunkt setzen — Hinweis: Konsens weist Tool-Anfragen ab (kein Tool-Calling)
Endpunkt & API-Referenz (technisch)

anthropic-messages → https://tokonomix.ai/api/anthropic — tools ✓, streaming ✓ (ein Anthropic-Modell verwenden). openai-completions → https://tokonomix.ai/api/v1 — tools ✓ (Single-Model-Passthrough), Streaming mit Tools noch nicht verfügbar. Normaler Chat: Streaming funktioniert auf beiden. Konsens: openai-completions, Modell tokonomix-consensus, keine Tools. Modell-ID gegen einen beliebigen Slug aus GET /api/v1/models austauschen.

Alle Modelle ansehen →
Connection method:OpenAI base URLAnthropic base URLMCP serverLimited support

Anthropics offizieller CLI-Coding-Agent für das Terminal.

ANTHROPIC_BASE_URL + MCP
# Option A — Anthropic wire-format passthrough
export ANTHROPIC_BASE_URL=https://tokonomix.ai/api/anthropic
export ANTHROPIC_API_KEY=tok-your-key
claude

# Option B — add the MCP server for consensus tools
claude mcp add tokonomix -- npx -y tokonomix-mcp \
  --api-key tok-your-key

Consensus tip

MCP-Tools umfassen tokonomix_consensus_ask — rufe es bei jedem riskanten Refactoring oder Designentscheid für ein familienübergreifendes Urteil auf.

Terminal-Pair-Programmer, der Dateien bearbeitet und für dich committet.

OPENAI_API_BASE + --model
export OPENAI_API_BASE=https://tokonomix.ai/api/v1
export OPENAI_API_KEY=tok-your-key

# Route any call through consensus
aider --model openai/tokonomix-consensus

# Or target a specific model
aider --model openai/anthropic/claude-sonnet-4-6

Consensus tip

Setze --model openai/tokonomix-consensus für Architektur-Diskussionen; verwende für hochvolumige Zeilen-Edits ein einzelnes Modell.

Cline

VS Code extensionTool Calling unterstützt

Autonomer VS Code-Agent — liest, bearbeitet, führt Terminals aus.

OpenAI Compatible provider
# Cline → Settings (gear icon) → API Provider: "OpenAI Compatible"
Base URL : https://tokonomix.ai/api/v1
API Key  : tok-your-key
Model ID : anthropic/claude-sonnet-4-6
# Opt-in: consensus for planning/review (no tool-calling)
# Model ID : tokonomix-consensus
# or any slug from GET /api/v1/models

Consensus tip

Setze modelId auf tokonomix-consensus für Clines "Architect"-Modus-Aufgaben; wechsle für schnelle Inline-Edits zu einem direkten Modell-Slug.

Roo Code

VS Code extensionTool Calling unterstützt

Autonomer Fork von Cline mit zusätzlichen Workflow-Modi (Architect, Debug, Ask).

OpenAI Compatible provider
// Roo Code Settings → API Provider: "OpenAI Compatible"
Base URL : https://tokonomix.ai/api/v1
API Key  : tok-your-key
Model ID : anthropic/claude-sonnet-4-6
// Opt-in: consensus for planning/review (no tool-calling)
// Model ID : tokonomix-consensus

Consensus tip

Verwende einen direkten Modell-Slug für Roos Tool-Calling-Modi (Code, Debug); wechsle zu tokonomix-consensus als Opt-in für Architect-Planungsaufgaben, bei denen keine Tool-Calls gemacht werden.

Continue.dev

IDE extension

VS Code / JetBrains-Coding-Assistent mit Chat, Autocomplete und Kontext.

openai provider + apiBase
# ~/.continue/config.yaml
models:
  - name: Tokonomix Consensus
    provider: openai
    model: tokonomix-consensus
    apiBase: https://tokonomix.ai/api/v1
    apiKey: tok-your-key

  - name: Tokonomix (Claude direct)
    provider: openai
    model: anthropic/claude-sonnet-4-6
    apiBase: https://tokonomix.ai/api/v1
    apiKey: tok-your-key

Consensus tip

Füge beide Einträge hinzu — verwende Consensus in Continues Chat für kritische Reviews, das direkte Modell für Autocomplete (geringere Latenz).

KI-nativer Fork von VS Code mit Composer-Agent und Inline-Edits.

OpenAI base URL override (Chat only)
// Cursor Settings → Models → Override OpenAI Base URL
Base URL : https://tokonomix.ai/api/v1
API Key  : tok-your-key
Model    : tokonomix-consensus

// Note: base-URL override applies to Cursor Chat (Cmd+L) only.
// Composer / inline-edit / autocomplete use Cursor's own backend.

Consensus tip

Cursor Chat mit model=tokonomix-consensus liefert Consensus für Design-Gespräche; Composer nutzt weiterhin Cursors eigenes Routing.

Goose (Block)

CLI + DesktopTool Calling unterstützt

Blocks Open-Source-Autonomagent — installiert, führt aus, testet.

OPENAI_HOST env + config.yaml
# host + key via environment (NOT config.yaml)
export OPENAI_HOST=https://tokonomix.ai/api/v1
export OPENAI_API_KEY=tok-your-key

# ~/.config/goose/config.yaml
GOOSE_PROVIDER: openai
GOOSE_MODEL: anthropic/claude-sonnet-4-6
# Opt-in: consensus for planning/review (no tool-calling)
# GOOSE_MODEL: tokonomix-consensus

Consensus tip

Goose führt lange autonome Sitzungen mit Tool-Calls aus — setze das Standardmodell auf einen direkten Slug. Verwende tokonomix-consensus als Opt-in für reine Planungsschritte ohne Tool-Calls.

OpenHands

Web UI + CLITool Calling unterstützt

Open-Source-Software-Entwicklungsagent (ehemals OpenDevin) — autonomer PR-Autor.

LLM_BASE_URL + LLM_MODEL env
# docker run / .env
LLM_BASE_URL=https://tokonomix.ai/api/v1
LLM_API_KEY=tok-your-key
LLM_MODEL=openai/anthropic/claude-sonnet-4-6
# Opt-in: consensus for planning/review (no tool-calling)
# LLM_MODEL=openai/tokonomix-consensus

# Or via UI: Settings → LLM → Advanced Settings
# Base URL : https://tokonomix.ai/api/v1
# Model    : openai/anthropic/claude-sonnet-4-6

Consensus tip

OpenHands steuert vollständige Feature-Branches mit Tool-Calls — setze das Standardmodell auf einen direkten Slug. Verwende tokonomix-consensus als Opt-in nur für Planungs-/Architekturschritte ohne Tool-Calls.

Zed

IDE

Schneller Rust-basierter Editor mit nativem KI-Panel und Multi-Buffer-Agent.

language_models.openai_compatible
// ~/.config/zed/settings.json
{
  "language_models": {
    "openai_compatible": {
      "api_url": "https://tokonomix.ai/api/v1",
      "available_models": [
        {
          "name": "tokonomix-consensus",
          "display_name": "Tokonomix Consensus",
          "max_tokens": 128000
        }
      ]
    }
  }
}

Consensus tip

Verwende tokonomix-consensus in Zeds KI-Panel für Multi-File-Architektur-Fragen; wechsle für Completions zu einem direkten Modell.

Kilo Code

VS Code extension

VS Code-Agent mit Fokus auf vollständige Aufgabenerledigung und Kontextverwaltung.

Custom provider (base URL + API key)
// Kilo Code Settings → Providers → + Custom Provider
Provider ID  : tokonomix
Display Name : Tokonomix
Base URL     : https://tokonomix.ai/api/v1
API Key      : tok-your-key
Model        : tokonomix-consensus

Consensus tip

Kilo ruft die Modellliste automatisch vom Endpunkt ab — wähle tokonomix-consensus für Kilos Planungsdurchläufe.

Codeiums KI-natives IDE mit Cascade-Flow-Agent.

MCP server (Cascade supports MCP)
// Windsurf MCP config (via Extension settings or mcp.json)
{
  "mcpServers": {
    "tokonomix": {
      "command": "npx",
      "args": ["-y", "tokonomix-mcp"],
      "env": {
        "TOKONOMIX_API_KEY": "tok-your-key"
      }
    }
  }
}

Consensus tip

Windsurfs Base-URL-Override ist auf BYOK Anthropic beschränkt; verwende stattdessen den MCP-Server, um Consensus-Tools in Cascade zu erhalten.

OpenClaw

CLI + VS Code

Privacy-first Open-Source-Agent mit gesicherten Netzwerk-Fetch-Pfaden.

models.providers (openclaw.json)
// openclaw.json
{
  "agents": { "defaults": { "model": { "primary": "tokonomix/tokonomix-consensus" } } },
  "models": {
    "providers": {
      "tokonomix": {
        "baseUrl": "https://tokonomix.ai/api/v1",
        "apiKey": "${TOKONOMIX_API_KEY}",
        "api": "openai-completions",
        "models": [{ "id": "tokonomix-consensus", "name": "Tokonomix Consensus" }]
      }
    }
  }
}

Consensus tip

OpenClaws Vertrauensmodell entspricht Tokonomixs Philosophie: du besitzt den Netzwerkpfad; setze tokonomix-consensus als Standard für jede Planungsaufgabe.

Proxy-Schicht, die Claude Code-Anfragen nach Kosten/Fähigkeit an beliebige Backends weiterleitet.

provider block in config.json
// ~/.claude-code-router/config.json
{
  "Providers": [
    {
      "name": "tokonomix",
      "api_base_url": "https://tokonomix.ai/api/v1/chat/completions",
      "api_key": "tok-your-key",
      "models": ["tokonomix-consensus", "anthropic/claude-sonnet-4-6"]
    }
  ],
  "Router": {
    "default": "tokonomix,tokonomix-consensus"
  }
}

Consensus tip

claude-code-router kann bestimmte Claude-Modell-IDs für komplexe Aufrufe auf tokonomix-consensus mappen und ein günstigeres direktes Modell für Boilerplate verwenden.

Void

IDE

Open-Source VS Code-Fork — direkt zum Anbieter, Zero-Relay-Architektur.

OpenAI compatible provider
// Void Settings → AI → Provider → OpenAI Compatible
API Base URL : https://tokonomix.ai/api/v1
API Key      : tok-your-key
Model        : tokonomix-consensus

// Note: Void 2026 development is officially paused.
// Last release still works; configuration above applies.

Consensus tip

Voids Zero-Relay-Architektur bedeutet, dass dein Tokonomix-Schlüssel direkt zum Endpunkt geht — kein Drittanbieter-Logging zwischen deinem Prompt und der Consensus-Engine.

Tabby

Self-hosted server

Selbst-gehosteter Coding-Assistent mit Code-Completion und Chat.

HTTP chat model (api_endpoint)
# config.toml (Tabby server)
[model.chat.http]
kind     = "openai/chat"
api_endpoint = "https://tokonomix.ai/api/v1"
api_key  = "tok-your-key"
model_name = "tokonomix-consensus"

Consensus tip

Tabby bedient ein ganzes Team von einem Server aus — das Chat-Modell auf tokonomix-consensus zu routen gibt jedem Entwickler auf der Instanz eine Consensus-gestützte Antwort.

Alibabas quelloffener KI-Code-Reviewer (CLI `ocr`) — diff-verankerte Befunde.

OCR config (Anthropic base)
# Tool-call passthrough needs the Anthropic-compatible endpoint;
# the OpenAI-compat /api/v1 path is consensus-only and strips tool-calls.
ocr config set llm.url           https://tokonomix.ai/api/anthropic/v1/messages
ocr config set llm.auth_token    tok-your-key
ocr config set llm.model         anthropic/claude-sonnet-4-6
ocr config set llm.use_anthropic true

ocr review --from origin/main --to HEAD --format json

Consensus tip

Für eine Multi-Modell-Review liefert der native tokonomix-consensus-review-Slug (in Arbeit) diff-verankerte Befunde als JSON über die Konsens-Pipeline — kein clientseitiges Tool-Calling nötig.

Agentischer Coding-CLI (Gemini-CLI-Fork), der das OpenAI-Protokoll spricht.

modelProviders.openai (settings.json)
// ~/.qwen/settings.json
{
  "modelProviders": {
    "openai": [
      { "id": "tokonomix-consensus", "name": "Tokonomix Consensus",
        "baseUrl": "https://tokonomix.ai/api/v1", "envKey": "TOKONOMIX_API_KEY" }
    ]
  },
  "model": { "name": "tokonomix-consensus" }
}

Consensus tip

Setze model.name für schwierige Reasoning-Schritte auf tokonomix-consensus; wechsle für hochvolumige Edits zu einem schnellen Slug.

LibreChat

Chat UI

Selbst-gehostete Multi-Modell-Chat-UI — bindet jede OpenAI-kompatible API als Endpunkt ein.

librechat.yaml custom endpoint
# librechat.yaml
endpoints:
  custom:
    - name: "Tokonomix"
      apiKey: "${TOKONOMIX_API_KEY}"
      baseURL: "https://tokonomix.ai/api/v1"
      models:
        default: ["tokonomix-consensus", "anthropic/claude-sonnet-4-6"]
        fetch: true

Consensus tip

Trage tokonomix-consensus in die Endpoint-Modellliste ein, damit jeder Nutzer der Instanz eine Consensus-gestützte Antwort aus dem Selektor erhält.

Codex CLI

CLITool Calling unterstützt

OpenAIs quelloffener Terminal-Coding-Agent — eigene Modell-Provider in config.toml.

model_providers (config.toml)
# ~/.codex/config.toml
model = "anthropic/claude-sonnet-4-6"
model_provider = "tokonomix"
# Opt-in: consensus for planning/review (no tool-calling)
# model = "tokonomix-consensus"

[model_providers.tokonomix]
name = "Tokonomix"
base_url = "https://tokonomix.ai/api/v1"
env_key = "TOKONOMIX_API_KEY"
wire_api = "chat"

Consensus tip

Richte das Modell für riskante Refactorings auf tokonomix-consensus aus; reservierte IDs (openai/ollama/lmstudio) können nicht wiederverwendet werden, nenn den Provider daher tokonomix.

Open-Source-Terminal-Coding-Agent (SST) — provider-agnostisch via AI SDK.

@ai-sdk/openai-compatible (opencode.json)
// opencode.json
{
  "provider": {
    "tokonomix": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Tokonomix",
      "options": {
        "baseURL": "https://tokonomix.ai/api/v1",
        "apiKey": "{env:TOKONOMIX_API_KEY}"
      },
      "models": { "tokonomix-consensus": { "name": "Tokonomix Consensus" } }
    }
  }
}

Consensus tip

Wähle tokonomix-consensus für die schwierigen Reasoning-Durchläufe; ein schneller direkter Slug hält hochvolumige Edits günstig.

Charms glamouröser Terminal-Coding-Agent — modell-agnostisch über crush.json.

openai-compat provider (crush.json)
// crush.json
{
  "providers": {
    "tokonomix": {
      "type": "openai-compat",
      "base_url": "https://tokonomix.ai/api/v1",
      "api_key": "$TOKONOMIX_API_KEY",
      "models": [
        { "id": "tokonomix-consensus", "name": "Tokonomix Consensus",
          "context_window": 200000, "default_max_tokens": 8192 }
      ]
    }
  }
}

Consensus tip

Verwende den Typ openai-compat (nicht openai) für Tokonomix; leite Crush bei riskanten Änderungen an tokonomix-consensus weiter.

bolt.diy

Web app builder

Open-Source In-Browser-App-Builder — OpenAILike-Provider via Env.

OpenAILike provider (env)
# .env.local
OPENAI_LIKE_API_BASE_URL=https://tokonomix.ai/api/v1
OPENAI_LIKE_API_KEY=tok-your-key

# UI: Provider → OpenAILike, Model → tokonomix-consensus

Consensus tip

Wähle tokonomix-consensus aus der OpenAILike-Modellliste beim Architektur-Scaffolding; ein schneller Slug hält iterative Edits günstig.

Open WebUI

Chat UI

Selbst-gehostete ChatGPT-ähnliche Oberfläche — bindet beliebige OpenAI-kompatible APIs als Verbindung ein.

OpenAI connection (Base URL)
# Environment (docker run / compose)
OPENAI_API_BASE_URL=https://tokonomix.ai/api/v1
OPENAI_API_KEY=tok-your-key

# Or UI: Admin → Settings → Connections → OpenAI API

Consensus tip

Füge tokonomix-consensus in der Verbindung hinzu, damit jeder Nutzer der Instanz eine consensus-gestützte Antwort aus der Modellauswahl erhält.

AnythingLLM

Desktop + self-hosted

All-in-one-KI-App (RAG + Agenten) — Generic OpenAI-Provider zeigt auf beliebige Endpunkte.

Generic OpenAI provider
# LLM Preference → Generic OpenAI (or env)
GENERIC_OPEN_AI_BASE_PATH=https://tokonomix.ai/api/v1
GENERIC_OPEN_AI_MODEL_PREF=tokonomix-consensus
GENERIC_OPEN_AI_API_KEY=tok-your-key
GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=200000

Consensus tip

Setze das Modell auf tokonomix-consensus für kritische Antworten über deinen indizierten Dokumenten; verwende einen schnellen Slug für Routine-RAG-Abfragen.

Hermes

OpenAI-compatible base URL

Connect Nous Research's self-improving, self-hosted agent to 132 models behind one key — and add cross-family consensus to every autonomous run.

OpenAI-compatible base URL
# See full guide at /integrations/hermes

Consensus tip

Open Interpreter

CLITool Calling unterstützt

Natürlichsprachlicher Terminal-Agent, der Code ausführt

--api_base + --model (LiteLLM)
interpreter \
  --api_base "https://tokonomix.ai/api/v1" \
  --api_key "tok_live_your-key" \
  --model "openai/anthropic/claude-sonnet-4-6"
# Opt-in: consensus for planning/review (no tool-calling)
# --model "openai/tokonomix-consensus"

# or in Python:
from interpreter import interpreter
interpreter.llm.api_base = "https://tokonomix.ai/api/v1"
interpreter.llm.api_key = "tok_live_your-key"
interpreter.llm.model = "openai/anthropic/claude-sonnet-4-6"
interpreter.chat()

Consensus tip

Open Interpreter führt den Code des Modells aus — verwende openai/tokonomix-consensus vor allem Unumkehrbaren und einen direkten Slug für Routinebefehle.

gptme

CLITool Calling unterstützt

Terminal-Assistent, der Code und Tools ausführt

config.toml [[providers]] or OPENAI_BASE_URL
# ~/.config/gptme/config.toml
[[providers]]
name = "tokonomix"
base_url = "https://tokonomix.ai/api/v1"
api_key = "tok_live_your-key"
default_model = "anthropic/claude-sonnet-4-6"
# Opt-in: consensus for planning/review (no tool-calling)
# default_model = "tokonomix-consensus"

# then: gptme --model tokonomix/anthropic/claude-sonnet-4-6 "..."

Consensus tip

Setze tokonomix-consensus als Modell, bevor gptme einen riskanten Schritt ausführt; wechsle für Routine-Shell- und Dateiarbeit auf einen schnellen direkten Slug.

CodeCompanion.nvim

Neovim pluginTool Calling unterstützt

Neovim KI-Chat- und Inline-Bearbeitungs-Plugin

extend("openai_compatible", { env })
require("codecompanion").setup({
  adapters = {
    http = {
      tokonomix = function()
        return require("codecompanion.adapters").extend("openai_compatible", {
          env = {
            url = "https://tokonomix.ai",
            api_key = "tok_live_your-key",
            chat_url = "/api/v1/chat/completions",
          },
          schema = { model = { default = "anthropic/claude-sonnet-4-6" } },
          -- Opt-in: consensus for planning/review (no tool-calling)
          -- schema = { model = { default = "tokonomix-consensus" } },
        })
      end,
    },
  },
})

Consensus tip

Nutze tokonomix-consensus als Sicherheitsnetz, bevor du einen Inline-Diff akzeptierst; ein direkter Slug hält alltäglichen Chat und Bearbeitungen schnell.

Avante.nvim

Neovim pluginTool Calling unterstützt

Cursor-artiges KI-Coding-Plugin für Neovim

providers entry __inherited_from = "openai"
require("avante").setup({
  provider = "tokonomix",
  providers = {
    tokonomix = {
      __inherited_from = "openai",
      endpoint = "https://tokonomix.ai/api/v1",
      model = "anthropic/claude-sonnet-4-6",
      -- Opt-in: consensus for planning/review (no tool-calling)
      -- model = "tokonomix-consensus",
      api_key_name = "TOKONOMIX_API_KEY",
    },
  },
})
-- export TOKONOMIX_API_KEY=tok_live_your-key

Consensus tip

Richte Avante auf tokonomix-consensus, um einen riskanten agentischen Refactor vor der Anwendung gegenzuprüfen; verwende einen direkten Slug für Routinebearbeitungen.

Mods

CLI

Charm CLI, das Shell-Ausgabe durch ein LLM leitet

mods.yml apis: base-url + api-key-env
# mods --settings  ->  apis: section
apis:
  tokonomix:
    base-url: https://tokonomix.ai/api/v1
    api-key-env: TOKONOMIX_API_KEY
    models:
      tokonomix-consensus:
        aliases: ["consensus"]
        max-input-chars: 392000

# export TOKONOMIX_API_KEY=tok_live_your-key
# mods -m consensus "explain this" < file.go

Consensus tip

Aliasiere tokonomix-consensus zur Plausibilitätsprüfung eines generierten Befehls vor der Ausführung; ein schneller direkter Slug für routinemäßiges Piping.

Twinny

VS Code extension

VS Code Code-Vervollständigungs- und Chat-Erweiterung

Provider=openai + Hostname/API-Path + Key
// Twinny -> Manage Providers -> add provider:
// Provider type: openai
// Hostname:      tokonomix.ai
// Port:          443
// Protocol:      https
// API Path:      /api/v1/chat/completions
// API Key:       tok_live_your-key
// Model Name:    tokonomix-consensus

Consensus tip

Setze das Modell auf tokonomix-consensus für eine modellübergreifende Prüfung, bevor du einem Chat-Vorschlag vertraust; ein direkter Slug für schnelle Vervollständigung.

llm

CLITool Calling unterstützt

Simon Willisons Kommandozeilen-LLM-Client und -Bibliothek.

extra-openai-models.yaml
# ~/.config/io.datasette.llm/extra-openai-models.yaml
- model_id: anthropic/claude-sonnet-4-6
  model_name: anthropic/claude-sonnet-4-6
  api_base: "https://tokonomix.ai/api/v1"
  api_key_name: tokonomix
  supports_tools: true
# Opt-in: consensus for planning/review (no tool-calling)
- model_id: tokonomix-consensus
  model_name: tokonomix-consensus
  api_base: "https://tokonomix.ai/api/v1"
  api_key_name: tokonomix

# then: llm keys set tokonomix   (paste tok-your-key)
# llm -m anthropic/claude-sonnet-4-6 "Explain quorum sensing"

Consensus tip

Richte eine model_id auf tokonomix-consensus für schwere oder agentische Anfragen; füge einen zweiten Eintrag auf einem direkten Slug für routinemäßige Einzeiler hinzu.

Jan

Desktop appTool Calling unterstützt

Local-first Desktop-KI-Assistent mit Remote-Endpunkten.

Custom provider Base URL
# Jan -> Settings -> Model Providers -> + (OpenAI-compatible)
Base URL : https://tokonomix.ai/api/v1
API Key  : tok-your-key

# Add Model -> id: anthropic/claude-sonnet-4-6
# then pick anthropic/claude-sonnet-4-6 in the model picker and chat
# Opt-in: consensus for planning/review (no tool-calling)
# Add Model -> id: tokonomix-consensus

Consensus tip

Benenne das Modell tokonomix-consensus für kritische Chats; füge im Picker einen direkten Slug für schnelle Alltagsfragen hinzu.

CodeGPT

VS Code extension

VS Code KI-Coding-Extension mit Custom-Providern.

Custom provider 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)

Consensus tip

Richte den Custom-Provider auf tokonomix-consensus für riskante In-Editor-Antworten; wechsle für routinemäßige Vervollständigungen zu einem direkten Slug.

aichat

CLITool Calling unterstützt

Allround-Rust-LLM-CLI, Shell und REPL.

openai-compatible client (config.yaml)
# ~/.config/aichat/config.yaml
clients:
  - type: openai-compatible
    name: tokonomix
    api_base: https://tokonomix.ai/api/v1
    api_key: tok-your-key
    models:
      - name: anthropic/claude-sonnet-4-6
        supports_function_calling: true
      # Opt-in: consensus for planning/review (no tool-calling)
      - name: tokonomix-consensus

# aichat -m tokonomix:anthropic/claude-sonnet-4-6 "refactor this"

Consensus tip

Wähle tokonomix:tokonomix-consensus für anspruchsvolle Reasoning-Turns; füge dem Client ein direktes Modell für hochvolumige Bearbeitungen hinzu.

gp.nvim

Neovim plugin

Neovim-KI-Plugin für Chat- und Code-Operationen.

providers + agent
require("gp").setup({
  providers = {
    tokonomix = {
      endpoint = "https://tokonomix.ai/api/v1/chat/completions",
      secret = os.getenv("TOKONOMIX_API_KEY"),  -- tok-your-key
    },
  },
  agents = {
    { provider = "tokonomix", name = "Tokonomix", chat = true, command = true,
      model = { model = "tokonomix-consensus" } },
  },
})

Consensus tip

Benenne das Agent-Modell tokonomix-consensus für riskante In-Editor-Prompts; definiere einen zweiten Agenten auf einem direkten Slug für Routine-Chats.

Model Context Protocol

Add consensus as a tool, not just a model

The MCP server exposes tokonomix_consensus_ask as a callable tool. Any MCP-capable agent (Claude Code, Cursor, Cline, Windsurf, Zed) can call it mid-session — without changing the base model.

// Any MCP-capable agent (Claude Code, Cursor, Cline, Windsurf…)
{
  "mcpServers": {
    "tokonomix": {
      "command": "npx",
      "args": ["-y", "tokonomix-mcp"],
      "env": {
        "TOKONOMIX_API_KEY": "tok-your-key"
      }
    }
  }
}

// Available MCP tools:
//   tokonomix_consensus_ask   — multi-model consensus on any question
//   tokonomix_get_balance     — check remaining token balance
//   tokonomix_list_models     — enumerate available models
//   tokonomix_single_ask      — single-model call with full token accounting

Cross-family consensus

Three proposer models from different families answer independently before a judge synthesises.

Judge scoring

An independent judge model scores and reconciles proposals, surfacing disagreements explicitly.

Blind-spot detection

Catches cases where all proposers agree but are collectively wrong — the cross-family check the single-model path misses.

Full token trace

Every token, every model, every cost — itemised per call in your dashboard.

Tool Calling

Tool Calling / Function Calling

Das Gateway unterstützt das OpenAI Tool-Calling-Protokoll für Single-Model-Passthrough-Anfragen. Sende ein tools-Array (JSON-Schema-Funktionsdefinitionen) bei jedem POST /api/v1/chat/completions-Request an ein Modell mit der tools-Fähigkeit. Die Antwort folgt der Standard-OpenAI-Form mit message.tool_calls[] und finish_reason: "tool_calls".

Nur Single-Model

Tool Calling erfordert einen direkten provider/model-id-Slug. Der Konsens-Modus lehnt tools ab — die Synthese-Pipeline kann Tool Calls nicht über Proposer zusammenführen.

Nur Non-Streaming

Streaming-Tool-Deltas (stream: true) werden noch nicht unterstützt. Lasse stream weg oder setze es auf false, um tool_calls in der JSON-Antwort zu erhalten.

Beispiel-Anfrage

curl https://tokonomix.ai/api/v1/chat/completions \
  -H "Authorization: Bearer tok-your-key" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-sonnet-4-6",
  "messages": [
    {"role": "user", "content": "What is the weather in Amsterdam?"}
  ],
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "get_weather",
        "description": "Get current weather for a city",
        "parameters": {
          "type": "object",
          "properties": {
            "city": {"type": "string", "description": "City name"}
          },
          "required": ["city"]
        }
      }
    }
  ],
  "tool_choice": "auto"
}'

Beispiel-Antwort (finish_reason: "tool_calls")

{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": null,
      "tool_calls": [{
        "id": "call_abc123",
        "type": "function",
        "function": {
          "name": "get_weather",
          "arguments": "{"city":"Amsterdam"}"
        }
      }]
    },
    "finish_reason": "tool_calls"
  }]
}

Folgeanfrage: Tool-Ergebnis zurücksenden

curl https://tokonomix.ai/api/v1/chat/completions \
  -H "Authorization: Bearer tok-your-key" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-sonnet-4-6",
  "messages": [
    {"role": "user", "content": "What is the weather in Amsterdam?"},
    {
      "role": "assistant",
      "content": null,
      "tool_calls": [{
        "id": "call_abc123",
        "type": "function",
        "function": {
          "name": "get_weather",
          "arguments": "{"city":"Amsterdam"}"
        }
      }]
    },
    {
      "role": "tool",
      "tool_call_id": "call_abc123",
      "content": "{"temperature":"18°C","condition":"Partly cloudy"}"
    }
  ]
}'

Fähige Modelle entdecken

Durchsuche den Modellkatalog nach tools-fähigen Modellen:

GET /api/v1/models?supports=tools
Authorization: Bearer tok-your-key

API-Changelog

API-Changelog

  • Tool Calling live auf dem Gateway (Single-Model-Passthrough, Non-Streaming).

Ready to connect?

Create a free account, generate an API key, and paste it into any of the configs above.