Skip to main content
MonkeyCode is an AI tool that lets you connect a model through a custom provider in its own interface. This guide covers BetterToken setup under AI Model; it does not document an official MonkeyCode API. Enter your BetterToken API key, https://bettertoken.ai/v1, and an exact Model ID, save the binding, and start a new chat. Use this path when you want to select a compatible model for MonkeyCode yourself. If the error occurs in Kodacode / Koda, use the separate Kodacode setup and 429 error guide. Official product information and registration are available on the MonkeyCode website.

Key settings

Prerequisites

Additional requirements

Install

Install or open MonkeyCode, then continue with the manual setup below.

Manual setup

Complete this setup in the MonkeyCode settings UI. You do not need to edit a configuration file.

Setup

1

Log in to MonkeyCode

Visit MonkeyCode and log in.
2

Open system settings

Enter the task page, then click Settings in the bottom-right corner.
3

Bind an AI model

In the AI Model section, click Bind.
4

Fill in the BetterToken config

5

Only configure extra headers when the official docs explicitly require them

We did not find an official MonkeyCode setup requirement that makes User-Agent mandatory for BetterToken. Start with the Base URL, API key, and model ID shown on this page.If you are also using a custom gateway, tenant routing, observability, or caching layer, add headers only according to that upstream service’s official docs.
6

Save and start using it

Click Save, then return to the main page and select the model you just configured.
7

Restart MonkeyCode

After saving the config, refresh the page or reopen MonkeyCode before using the new model.
If you need extra headers, follow the current MonkeyCode docs or your upstream gateway requirements instead of assuming User-Agent is mandatory for BetterToken.

Verify the connection

Send a short test prompt. If the tool returns a response without an authentication or Model ID error, the connection works. Fully restart the tool after changing its configuration.

Switch models

Open the model selector or change the Model field in the configuration. Use the exact Model ID from the model plaza, then restart the current session.

Common errors

Advanced setup

Supported providers

Statuses apply to the BetterToken setup documented on this page.
  • Manual setup: enter the API Key, Base URL, and Model.
  • Not supported: no verified direct setup is currently available.

Technical details

This setup uses https://bettertoken.ai/v1. The tool appends the OpenAI-compatible endpoint path. Do not add /chat/completions or /responses unless a specific field explicitly requires it.