Agent compatibility matrix
“Tool calling” means the agent can send
tools in the request and parse tool_calls from the response. Whether it works end-to-end depends on both the agent and the local model — Qwen3-Coder-30B, Llama-3-70B, and Mistral all handle tool calls well on vLLM.IDE-based agents
These agents live inside your editor and send completions requests as you code. They all use the OpenAI Chat Completions API format, except where noted.Cline and Roo Code
Cline and its fork Roo Code both use an “OpenAI Compatible” provider. Set 3 fields in the extension settings:- API Provider:
OpenAI Compatible - Base URL:
https://api.tokios.com/v1 - API Key: your
sk-tok-…key - Model ID: your deployment name (for example,
qwen3-coder-tunnel)
Continue
Continue reads~/.continue/config.yaml. Add a model entry:
Cursor
Cursor’s custom model override accepts a base URL and API key. Support varies by Cursor version — verify that custom base URL routing works in your build before relying on it:- Open Cursor Settings → Models.
- Add a custom model with base URL
https://api.tokios.com/v1and yoursk-tok-…key.
Zed
Zed supports custom OpenAI-compatible providers in itssettings.json:
settings.json — enter it in Zed’s LLM provider UI, or export TOKIOS_API_KEY (Zed derives the variable name from the provider id). See the Zed guide.
JetBrains AI Assistant
JetBrains AI Assistant supports BYOK (Bring Your Own Key) through its plugin settings. Enter the base URL and API key in the custom provider fields:- Base URL:
https://api.tokios.com/v1 - API Key: your
sk-tok-…key
VS Code Copilot
GitHub Copilot’s BYOK support is emerging. When your VS Code version supports custom providers, point it at:- Base URL:
https://api.tokios.com/v1 - API Key: your
sk-tok-…key
Terminal agents
These run in your shell and use environment variables or config files to connect.Claude Code
Claude Code uses the Anthropic API format — not OpenAI. Set 2 environment variables:/v1 suffix for Anthropic format.
See the Claude Code guide for persisting these across sessions.
OpenAI Codex
OpenAI Codex uses the Responses API (wire_api=responses). Set the base URL in ~/.codex/config.toml:
env_key names the variable holding your key rather than the key itself, and disable_response_storage is required because Tokios serves the Responses surface statelessly. Then run:
Aider
Aider reads the base URL and key from the environment, and needs theopenai/ model prefix:
OpenCode
OpenCode uses the AI SDK (Vercel) under the hood. Add a custom provider inopencode.json:
Goose
Goose’s built-inopenai provider accepts a custom host. Goose persists these to ~/.config/goose/config.yaml:
~/.config/goose/custom_providers/.
See the Goose guide.
Pi and omp
Pi uses a custom provider withapi: openai-completions. omp (oh-my-pi) inherits the same pattern — providers is a mapping keyed by provider name, and the keys are camelCase. omp reads ~/.omp/agent/models.yml; Pi reads ~/.pi/agent/models.json:
Hermes Agent
Hermes Agent connects to any OpenAI-compatible/v1/chat/completions endpoint. It reads ~/.hermes/config.yaml, with the provider keys nested under model::
Universal setup pattern
Every agent above follows the same 3-step pattern:- Set the base URL to
https://api.tokios.com/v1(OpenAI) orhttps://api.tokios.com(Anthropic). - Set the API key to your
sk-tok-…key. - Set the model to your registered deployment name.
Tool-calling compatibility by engine
Tool calling requires both agent support and backend support. Here’s which local engines handle it:Best local models for coding agents
One endpoint serves them all
You don’t need to reconfigure your model when you switch agents. Register your deployment once in Tokios, create ask-tok-… key, and point any agent at the same endpoint. Switch from Aider to Claude Code by changing 2 environment variables — your model, your connector, and your deployment stay the same.
Quickstart
Set up a connector and register your first deployment.
Compatible clients
The full matrix of 39 compatible clients, not just coding agents.
Choose a local model
Pick the right model for your hardware and use case.
API keys
Create, scope, and rotate keys for teammates and agents.