本文へ移動
メイン ドキュメント
ドキュメント

Claude Code

Caveat

Anthropic 製ターミナルコーディングエージェント。Anthropic プロトコル (ベース URL に /v1 を付けない)。

注意: api.kotoba.cloud は Anthropic Messages API の wire(POST /v1/messages)をまだ提供していません(2026-09-15 実測 405)。Claude Code から使うには、Anthropic 形式を OpenAI 形式に変換するローカルプロキシ(LiteLLM など)を挟み、ANTHROPIC_BASE_URL をそのプロキシに向けます。詳細は Anthropic SDK のページ。

Setup

Shell
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