Kiro as your OpenAI-compatible endpoint
Route AWS CodeWhisperer through a local proxy. Opus 4.7 at credit cost.
⚡ 2min read intermediate OS · macos · linux · windows
Last updated May 04, 2026 · by xlrd
Prereq
- Kiro Desktop app installed + signed in
- Docker or local binary
- A stable network path if your client is rate-limited
Steps
01. Extract refresh token from Kiro Desktop
Find your refresh token at ~/.config/kiro/auth.json (macOS/Linux) or %APPDATA%\kiro\auth.json (Windows).
02. Save as account JSON
bash
echo '{"refreshToken":"aor_...","profileArn":"","region":"us-east-1"}' > kiro-account-1.json 03. Run proxy
bash
docker run -d -p 3999:3999 \
-v $PWD:/accounts \
-e ACCOUNTS_DIR=/accounts \
-e PROXY_API_KEY=your-key \
kiro-proxy:latest Next
- Switch to OVTH Gateway
- Claude Code with Kiro base URL
Feedback · anonymous
Was this helpful?