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.
https://tokonomix.ai/api/v1https://tokonomix.ai/api/anthropicnpx tokonomix-mcpWhy 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 councilModel seçimi
Ajanım hangi modeli ve endpoint'i kullanmalı?
Ajanınızın ne yaptığına göre seçin, model id'yi istediğiniz zaman değiştirin — katalogdaki her model aynı anahtarla çalışır.
| Ajanınızın yaptığı | Bunu kullanın |
|---|---|
| Dosya düzenler / araç çağırır ve yanıtları akıtır (çoğu kodlama ajanı) | Anthropic endpoint'i üzerinden bir Anthropic modeli (araçlar + akış ikisi de çalışır) |
| Araç çağırır ancak akış gerektirmez (herhangi bir model) | Tek model id ile OpenAI uyumlu endpoint |
| Anthropic dışı bir modelde araç ve akış istiyor | Şimdilik akışsız kullanın — diğer sağlayıcılarda araçlı akış henüz etkin değil |
| Düz sohbet, araç yok | Herhangi bir endpoint; akış sorunsuz çalışır |
| Yüksek önem taşıyan bir yanıtta çok modelli karar (konsensüs) istiyor | OpenAI uyumlu endpoint'te modeli tokonomix-consensus olarak ayarlayın — not: konsensüs araç isteklerini reddeder (araç çağrısı yok) |
Endpoint & API referansı (teknik)
anthropic-messages → https://tokonomix.ai/api/anthropic — tools ✓, streaming ✓ (bir Anthropic modeli kullanın). openai-completions → https://tokonomix.ai/api/v1 — tools ✓ (tek model passthrough), araçlarla akış henüz etkin değil. Düz sohbet: akış her ikisinde de çalışır. Konsensüs: openai-completions, model tokonomix-consensus, araç yok. Model id'yi GET /api/v1/models tarafından döndürülen herhangi bir slug ile değiştirin.
Claude Code
CLIAnthropic'in terminal için resmi CLI kodlama ajanı.
# 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-keyConsensus tip
MCP araçları arasında tokonomix_consensus_ask yer alır — yüksek riskli her yeniden yapılandırma veya tasarım kararında çapraz aile kararı almak için çağırın.
Aider
CLISizin için dosyaları düzenleyen ve commit atan terminal eş programcısı.
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-6Consensus tip
Mimari tartışmalar için --model openai/tokonomix-consensus kullanın; yüksek hacimli satır düzenlemeleri için tek bir model tercih edin.
Özerk VS Code ajanı — dosya okur, düzenler, terminal çalıştırır.
# 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/modelsConsensus tip
Cline'ın "Architect" mod görevleri için modelId'yi tokonomix-consensus olarak ayarlayın; hızlı satır içi düzenlemeler için doğrudan model slug'ına geçin.
Ekstra iş akışı modlarına (Architect, Debug, Ask) sahip Cline'ın özerk çatalı.
// 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-consensusConsensus tip
Roo'nun araç çağrısı yapan modları (Code, Debug) için doğrudan bir model slug'ı kullanın; araç çağrısı yapılmayan Architect planlama görevleri için tokonomix-consensus'u opt-in olarak tercih edin.
Continue.dev
IDE extensionSohbet, otomatik tamamlama ve bağlam desteğine sahip VS Code / JetBrains kodlama asistanı.
# ~/.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-keyConsensus tip
Her iki girişi de ekleyin — kritik incelemeler için Continue'nun sohbetinde consensus kullanın, otomatik tamamlama için doğrudan modeli tercih edin (daha düşük gecikme).
Cursor
IDEComposer ajanı ve satır içi düzenlemelere sahip, yapay zeka odaklı VS Code çatalı.
// 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
model=tokonomix-consensus ile Cursor Chat, tasarım konuşmaları için consensus sağlar; Composer kendi yönlendirmesini kullanmaya devam eder.
Block'un açık kaynaklı özerk ajanı — yükler, çalıştırır, test eder.
# 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-consensusConsensus tip
Goose araç çağrılarıyla uzun özerk oturumlar çalıştırır — varsayılan modeli doğrudan bir slug olarak ayarlayın. Araç çağrısı yapılmayan yalnızca planlama adımları için tokonomix-consensus'u opt-in olarak kullanın.
Açık kaynaklı yazılım geliştirme ajanı (eski adıyla OpenDevin) — özerk PR yazarı.
# 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-6Consensus tip
OpenHands tam özellik dallarını araç çağrılarıyla çalıştırır — varsayılan modeli doğrudan bir slug olarak ayarlayın. Araç çağrısı yapılmayan planlama/mimari adımları için tokonomix-consensus'u opt-in olarak kullanın.
Zed
IDEYerel AI paneli ve çok tamponlu ajanla Rust tabanlı hızlı editör.
// ~/.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
Çok dosyalı mimari sorular için Zed'in AI panelinde tokonomix-consensus kullanın; tamamlamalar için doğrudan modele geçin.
Kilo Code
VS Code extensionBağlam yönetimiyle tam görev tamamlamaya odaklanan VS Code ajanı.
// 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-consensusConsensus tip
Kilo, model listesini uç noktadan otomatik olarak çeker — Kilo'nun planlama geçişleri için tokonomix-consensus seçin.
Cascade flow ajanına sahip Codeium'un yapay zeka odaklı IDE'si.
// 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
Windsurf'ün temel URL geçersiz kılması yalnızca BYOK Anthropic ile sınırlıdır; Cascade içinde consensus araçları almak için bunun yerine MCP sunucusunu kullanın.
OpenClaw
CLI + VS CodeKorumalı ağ fetch yollarına sahip, gizlilik odaklı açık kaynak ajan.
// 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
OpenClaw'ın güven modeli Tokonomix'in felsefesiyle örtüşür: ağ yoluna sahipsiniz; herhangi bir planlama görevi için tokonomix-consensus'u varsayılan olarak ayarlayın.
claude-code-router
CLI proxyClaude Code isteklerini maliyet/kapasite bazında herhangi bir backend'e yönlendiren proxy katmanı.
// ~/.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, yüksek karmaşıklıklı çağrılar için belirli Claude model ID'lerini tokonomix-consensus'a, standart kod için daha ucuz doğrudan bir modele yönlendirebilir.
Void
IDEAçık kaynaklı VS Code çatalı — doğrudan sağlayıcıya, sıfır relay mimarisi.
// 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
Void'ın sıfır-relay mimarisi, Tokonomix anahtarınızın doğrudan uç noktaya gittiği anlamına gelir — prompt'unuzla consensus motoru arasında üçüncü taraf günlük kaydı yok.
Tabby
Self-hosted serverKod tamamlama ve sohbet desteğine sahip kendi kendine barındırılan kodlama asistanı.
# 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, tek bir sunucudan tüm ekibe hizmet verir — sohbet modelini tokonomix-consensus'a yönlendirmek, örnek üzerindeki her geliştiriciye consensus destekli yanıt sağlar.
Alibaba'nın açık kaynaklı yapay zekâ kod denetleyicisi (CLI `ocr`) — diff'e bağlı bulgular.
# 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 jsonConsensus tip
Çok modelli inceleme için yerel tokonomix-consensus-review slug'ı (geliştiriliyor) bulguları konsensüs hattı üzerinden JSON olarak diff'e bağlı, istemci tarafı tool-calling gerektirmeden döndürür.
Qwen Code
CLIOpenAI protokolünü kullanan agentic kodlama CLI'ı (Gemini-CLI çatalı).
// ~/.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
Zorlu akıl yürütme adımları için model.name değerini tokonomix-consensus olarak ayarlayın; yüksek hacimli düzenlemeler için hızlı bir slug kullanın.
LibreChat
Chat UIKendi kendine barındırılan çok modelli sohbet arayüzü — herhangi bir OpenAI-uyumlu API'yi uç nokta olarak ekler.
# 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: trueConsensus tip
tokonomix-consensus'ı uç nokta model listesine ekleyin; böylece örnek üzerindeki her kullanıcı seçiciden consensus destekli yanıt alır.
OpenAI'ın açık kaynak terminal kodlama ajanı — config.toml dosyasında özel model sağlayıcıları.
# ~/.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
Riskli yeniden yapılandırmalar için modeli tokonomix-consensus'a yönlendirin; rezerv kimlikler (openai/ollama/lmstudio) yeniden kullanılamaz, bu nedenle sağlayıcıya tokonomix adını verin.
opencode
CLIAçık kaynak terminal kodlama ajanı (SST) — AI SDK üzerinden sağlayıcı-agnostik.
// 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
Zor akıl yürütme adımları için tokonomix-consensus seçin; yüksek hacimli düzenlemeleri ucuz tutmak için hızlı doğrudan bir slug kullanın.
Crush
CLICharm'ın şık terminal kodlama ajanı — crush.json üzerinden model-agnostik.
// 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
Tokonomix için openai yerine openai-compat türünü kullanın; riskli değişiklikler için Crush'ı tokonomix-consensus'a yönlendirin.
bolt.diy
Web app builderAçık kaynaklı tarayıcı içi yapay zeka uygulama oluşturucusu — env üzerinden OpenAILike sağlayıcı.
# .env.local
OPENAI_LIKE_API_BASE_URL=https://tokonomix.ai/api/v1
OPENAI_LIKE_API_KEY=tok-your-key
# UI: Provider → OpenAILike, Model → tokonomix-consensusConsensus tip
Mimari iskelet oluştururken OpenAILike model listesinden tokonomix-consensus seçin; hızlı bir slug, yinelemeli düzenlemeleri ucuz tutar.
Open WebUI
Chat UIKendi kendine barındırılan ChatGPT tarzı arayüz — herhangi bir OpenAI-compatible API'yi bağlantı olarak ekler.
# 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 APIConsensus tip
Bağlantıya tokonomix-consensus'u ekleyin; böylece örnekteki her kullanıcı model seçiciden consensus destekli yanıt alır.
AnythingLLM
Desktop + self-hostedHepsi bir arada AI uygulaması (RAG + ajan) — Generic OpenAI sağlayıcısı her yere yönlendirilebilir.
# 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=200000Consensus tip
Yüksek riskli sorular için modeli tokonomix-consensus olarak ayarlayın; rutin RAG sorguları için hızlı bir slug kullanın.
Hermes
OpenAI-compatible base URLConnect Nous Research's self-improving, self-hosted agent to 132 models behind one key — and add cross-family consensus to every autonomous run.
# See full guide at /integrations/hermesConsensus tip
Kod çalıştıran doğal dil terminal ajanı
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 modelin yazdığı kodu çalıştırır — geri alınamaz herhangi bir işlemden önce openai/tokonomix-consensus kullanın; rutin komutlar için doğrudan bir slug.
Kod ve araç çalıştıran terminal asistanı
# ~/.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
gptme riskli bir adımı uygulamadan önce modeli tokonomix-consensus olarak ayarlayın; rutin kabuk ve dosya işleri için hızlı bir doğrudan slug kullanın.
Neovim AI sohbet ve satır içi düzenleme eklentisi
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
Satır içi bir farkı kabul etmeden önce güvenlik ağı olarak tokonomix-consensus kullanın; günlük sohbet ve düzenlemeler için doğrudan bir slug işleri hızlandırır.
Neovim için Cursor tarzı AI kodlama eklentisi
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-keyConsensus tip
Riskli bir ajansal yeniden düzenlemeyi uygulamadan önce çapraz kontrol için Avante’yi tokonomix-consensus’a yönlendirin; rutin düzenlemeler için doğrudan bir slug kullanın.
Mods
CLIKabuk çıktısını bir LLM’den geçiren Charm CLI
# 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.goConsensus tip
Oluşturulan bir komutu çalıştırmadan önce akıl yürütme kontrolü için tokonomix-consensus takma adını kullanın; rutin yönlendirme için hızlı bir doğrudan slug.
Twinny
VS Code extensionVS Code kod tamamlama ve sohbet uzantısı
// 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-consensusConsensus tip
Bir sohbet önerisine güvenmeden önce çapraz model kontrolü için modeli tokonomix-consensus olarak ayarlayın; hızlı tamamlama için doğrudan bir slug.
Simon Willison'ın komut satırı LLM istemcisi ve kütüphanesi.
# ~/.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
Zorlu veya ajanlı sorgular için bir model_id'yi tokonomix-consensus'a yönlendirin; rutin tek satırlıklar için doğrudan bir slug üzerinde ikinci bir giriş ekleyin.
Uzak uç nokta desteğiyle yerel öncelikli masaüstü AI asistanı.
# 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-consensusConsensus tip
Yüksek riskli sohbetler için modeli tokonomix-consensus olarak adlandırın; hızlı günlük sorular için seçicide doğrudan bir slug ekleyin.
CodeGPT
VS Code extensionÖzel sağlayıcı desteğiyle VS Code AI kodlama eklentisi.
# 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
Riskli editör içi yanıtlar için Özel sağlayıcıyı tokonomix-consensus'a yönlendirin; rutin tamamlamalar için doğrudan bir slug kullanın.
Her şey dahil Rust LLM CLI, kabuk ve REPL.
# ~/.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
Zorlu akıl yürütme adımları için tokonomix:tokonomix-consensus seçin; yüksek hacimli düzenlemeler için istemciye doğrudan bir model ekleyin.
gp.nvim
Neovim pluginSohbet ve kod işlemleri için Neovim AI eklentisi.
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
Riskli editör içi istemler için ajan modelini tokonomix-consensus olarak adlandırın; rutin sohbet için doğrudan bir slug üzerinde ikinci bir ajan tanımlayın.
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 accountingCross-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.
Araç çağrısı
Araç çağrısı / Fonksiyon çağrısı
Ağ geçidi, tek model geçiş isteklerinde OpenAI araç çağrısı protokolünü destekler. tools özelliğine sahip bir modele gönderilen her POST /api/v1/chat/completions isteğine bir tools dizisi (JSON Şema fonksiyon tanımları) ekleyin. Yanıt, message.tool_calls[] ve finish_reason: "tool_calls" ile standart OpenAI biçimini izler.
Araç çağrısı, doğrudan bir provider/model-id slug'ı gerektirir. Konsensüs modu tools'u reddeder — sentez ardışık düzeni, araç çağrılarını önerenler arasında birleştiremez.
Akışlı araç deltaları (stream: true) henüz desteklenmiyor. tool_calls'ı JSON yanıtında almak için stream'i atlayın veya false olarak ayarlayın.
Örnek istek
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"
}'Örnek yanıt (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"
}]
}Devam: araç sonucunu geri gönder
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"}"
}
]
}'Uyumlu modelleri keşfet
Model kataloğunu araç özellikli modellere göre filtreleyin:
GET /api/v1/models?supports=tools
Authorization: Bearer tok-your-keyAPI değişiklik günlüğü
API değişiklik günlüğü
- — Araç çağrısı ağ geçidinde canlı (tek model geçiş, akışsız).
Ready to connect?
Create a free account, generate an API key, and paste it into any of the configs above.