Skip to content

Connect your tool

Find the guide for your tool: coding agents, editors, chat apps, automation tools, SDKs and agent frameworks that work with Tokens, and which protocol each one uses.

On this page

Tokens speaks two protocols, so most tools that let you set a custom endpoint work with it. This page is the map: find your tool, open its guide, and use the table at the end if yours is not listed.

Pick by what you are doing#

You want to...Start here
Code with an AI agent in the terminalClaude Code, Codex CLI, OpenCode, Aider, OpenHands
Code inside your editorCursor, Cline, Continue, Zed, JetBrains AI Assistant, Xcode
Chat with models in a web interface you hostOpen WebUI, LibreChat
Build a workflow or an AI app without much coden8n, Dify
Call models from your own codecURL, Python, Node.js, PHP, Laravel AI SDK
Build an agent with a frameworkOpenAI Agents SDK, Claude Agent SDK, LlamaIndex, CrewAI, LangChain, Vercel AI SDK
Move an app over from another providerFrom OpenAI, from OpenRouter, from Anthropic

Which protocol and base URL#

Which one a tool needs is nearly always on its settings screen, under a name such as "OpenAI compatible" or "Anthropic".

The tool speaksBase URLThe tool then calls
OpenAI Chat Completionshttps://tokens.bd/v1/v1/chat/completions
OpenAI Responseshttps://tokens.bd/v1/v1/responses
Anthropic Messageshttps://tokens.bd/v1/messages

Two tools in the lists above are different: Xcode wants the address without /v1 and adds the path itself, and tools built on LiteLLM (Aider, OpenHands, CrewAI) want an openai/ prefix on the model id. Each guide says exactly what to type.

Every guide, with what it needs#

ToolHow it connects
Claude CodeAnthropic Messages
Codex CLIResponses API
OpenCodeChat Completions
OpenClawChat Completions or Anthropic Messages
Hermes AgentChat Completions
CrushChat Completions
AiderChat Completions, openai/ prefix
GooseChat Completions, full endpoint URL
Qwen CodeChat Completions
Kimi Code CLIChat Completions or Anthropic Messages
Factory DroidChat Completions or Anthropic Messages
GitHub Copilot CLIChat Completions, set with environment variables
OpenHandsChat Completions through LiteLLM, openai/ prefix
ClineChat Completions
Kilo CodeChat Completions
Roo CodeChat Completions (the project is archived)
ContinueChat Completions
ZedChat Completions or Anthropic Messages
CursorChat Completions, partly
GitHub Copilot (VS Code)Chat Completions, chat only
JetBrains AI AssistantOpenAI-compatible provider
XcodeChat Completions, address without /v1
WarpChat Completions, partly
AmpOnly models in Amp's own catalog
Open WebUIOpenAI connection
LibreChatCustom endpoint in librechat.yaml
n8nOpenAI credential and Chat Model node
DifyOpenAI-API-compatible provider

SDKs and frameworks are in the SDKs and libraries section: cURL, Python, Node.js, the Anthropic SDK, the Vercel AI SDK, LangChain and LiteLLM, the OpenAI Agents SDK, the Claude Agent SDK, LlamaIndex, CrewAI, PHP and the Laravel AI SDK.

If your tool is not here#

Any tool with a setting called "OpenAI compatible", "custom provider", "API base" or "base URL" can use Tokens. Other tools and compatibility lists what does not work (Gemini CLI, which only accepts Google's format) and gives the four things every tool needs: the base URL, a key, the exact model id and the model's limits.

Tools that only run in a web page cannot call Tokens directly, because Tokens' responses carry no CORS headers and a key must never be in code the browser downloads. Browser and mobile apps shows the pattern that works.

Before you connect anything#

  1. Create an API key with a monthly spend cap: API keys.
  2. Pick a model your plan or wallet can use: Choosing a model.
  3. Check the key and model work with one request before you debug a tool's settings: the connection tester on the docs home, or the curl command in Quickstart.

Was this page helpful?

Still stuck? Open a support ticket

Need help configuring your agent?

Test your connection with the connection tester, or create an API key.