Claude Code
CaveatAnthropic's terminal coding agent. Anthropic protocol (base URL without /v1).
Caveat: api.kotoba.cloud does not serve the Anthropic Messages wire (POST /v1/messages) yet — measured 405 on 2026-09-15. To use Claude Code, put a local proxy that translates Anthropic → OpenAI (LiteLLM, for example) in between and point ANTHROPIC_BASE_URL at it. See the Anthropic SDK page.
Setup
export KOTOBA_API_BASE="https://api.kotoba.cloud"
export KOTOBA_API_TOKEN="kc_pat_<your-token>"
export KOTOBA_MODEL="qwen3.8-flash-next-whitehacker"
# test the connection
claude -p "Reply with exactly: OK"
The research gates (verification, scope, free quota) are identical to the cookie session; the token only removes the origin gate.
← All tools