Ads for Credits All clients Docs FAQ

Using Ads for Credits in Cline and Roo Code

Last updated 2026-08-31

Cline and Roo Code are VS Code extensions that let a model read files, write code and run commands. Both ship an OpenAI-compatible provider, and both are configured the same way.

The three values

Every client needs the same three. Sign in and take them from the console.

  • Base URL — https://onomeo.com/v1
  • API key — the key shown in your console, starting ac-
  • Model — one of the names on the models page

Step by step

  1. Open the extension's settings panel from its sidebar icon.
  2. Set API Provider to the OpenAI Compatible option.
  3. Base URL: paste ours. API Key: paste yours.
  4. Model ID: type the model name exactly as it appears on the models page. Do not rely on the dropdown.
  5. Save and start a task.

These burn credits fast

An agent extension sends the whole file, plus a long system prompt, plus the running conversation, on every single step. One multi-step task can consume more than an hour of ordinary chat.

Watch the balance in the console during your first few runs before turning it loose on a large repository. If the balance runs out mid-task the extension will report a 402 and stop.

Checking it worked

Ask it to do something trivial, such as reading a single file and describing it. If the task completes and the console shows the tokens consumed, the connection is working.

If it does not connect

A 401 usually means the key was copied with a trailing space. A 404 means the base URL has /v1 twice or not at all — try it the other way. A 400 saying the model is not allowed means the tool sent its own default name instead of one of ours. The full table is on the clients page.


在 Cline 与 Roo Code 中使用

最后更新 2026-08-31

Cline 与 Roo Code 是两款 VS Code 扩展,可让模型读取文件、编写代码并执行命令。二者均支持 OpenAI 兼容接口,配置方式相同。

需要填的三个值

所有客户端要的都是这三个。登录后在控制台获取。

  • 接口地址 — https://onomeo.com/v1
  • 密钥 — 控制台中显示的密钥,以 ac- 开头
  • 模型名称 — 模型页面所列名称之一

操作步骤

  1. 点击侧边栏图标,打开扩展的设置面板。
  2. 将 API Provider 设为 OpenAI Compatible 选项。
  3. Base URL 填入本站接口地址,API Key 填入您的密钥。
  4. Model ID 手动输入模型页面上的名称,请勿依赖下拉列表。
  5. 保存后即可开始任务。

此类扩展消耗额度较快

此类扩展在每一步都会发送完整文件、较长的系统提示词以及当前对话历史。一次多步骤任务的消耗可能超过一小时的普通对话。

在用于大型代码库之前,建议先观察前几次运行时控制台中的余额变化。若任务中途额度耗尽,扩展会报告 402 并停止。

如何确认配置成功

让它执行一个简单任务,例如读取单个文件并进行描述。若任务顺利完成,且控制台显示了消耗的 token 数,即表示连接正常。

连接失败时

返回 401 通常是密钥复制时末尾带了空格;返回 404 是接口地址中 /v1 重复或缺失,改成另一种写法即可;返回 400 且提示模型不被允许,说明客户端发送的是它自带的默认模型名,需手动填写本站的名称。完整对照表见客户端总览。