Coding agents
Six agent tools, one base URL, and what we measured on 2026-11-27.
Which guide for which tool
| Tool | Speaks | What it needs | Run on 2026-11-27 |
|---|---|---|---|
| Claude Code | Anthropic Messages | ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, the model variables | Claude Code 2.1.332, 20 turns per id |
| Kilo Code | OpenAI chat completions | a provider in kilo.jsonc with options.baseURL | Kilo CLI 7.8.32, 3 turns per id |
| Codex CLI | OpenAI Responses | [model_providers] in ~/.codex/config.toml, wire_api = "responses" | Codex CLI 0.172.0, 3 turns per id |
| OpenCode | OpenAI chat completions | a providers block in opencode.jsonc with settings.baseURL | not run; config checked against its schema |
| Cline | OpenAI chat completions | API Provider: OpenAI Compatible, Base URL, API Key, Model | request shape only, 6 turns per id |
| Zoo Code (Roo Code fork) | OpenAI chat completions | the same OpenAI Compatible panel | request shape only, 6 turns per id |
Every tool takes the base URL https://api.uplinkswitch.com/v1 and one key. "Request shape only": we sent the requests the tool sends, without the tool installed.
Prompt cache, measured
The ids tested were glm-5.3-abliterated and deepseek-v4.1-flash-1017-abliterated. In the Claude Code sessions, 41 of 41 and 52 of 52 model calls after the first read from the cache, 96.2% and 99.1% of all prompt tokens. In the shorter Kilo and Codex sessions and the chat-completions probes, every request after the first that resent the same prefix read about 98% to 99% of it from the cache. Both models cache a repeated prefix without any setting, in either format. Two short DeepSeek sessions the same hour read nothing from the cache, so check the cached count on your own first responses.
Tool calls, measured
840 requests on 2026-11-27, 20 per case on every route behind the two ids. Auto choice, two tools in one turn, a strict nested schema, the turn after a tool result, a streamed call and the Anthropic format: 360 of 360 on GLM 5.3 Abliterated, 359 of 360 on DeepSeek V4.1 Flash Abliterated, where the miss was a dropped connection. Forced tool choice: DeepSeek 59 of 60. On GLM some routes ignored it, and the gateway now sends such a request again to the next route. Not tested: parallel calls while streaming, forced choice in the Anthropic format, prompts far longer than about 7,000 tokens.
What a session costs
| Model | Priced at | 20-turn session |
|---|---|---|
| GLM-5.3 Abliterated | this API | $0.7023 |
| DeepSeek V4.1 Flash 1017 Abliterated | this API | $0.1505 |
| Claude Sonnet 5.5 | developer list | $0.2028 |
| Claude Opus 5.5 | developer list | $0.4056 |
20 user turns, 42 model calls, the token counts of the GLM 5.3 Abliterated Claude Code session held fixed for every row and priced from GET /v1/catalog now. Uncached input bills at the input rate on every row.
Read the table as it stands: on a cache-heavy agent session the cache-read rate weighs most, which is why one abliterated id can sit below the Claude list prices and the other above them. Each guide prices the same session next to its own setup.