Editor & Tool Configuration
Costrict Configuration Guide
Configure the open-source coding tool CoStrict with AnyRouter: install the CLI, add a custom provider via cs web, or use OpenAI Compatible in VS Code.
CoStrict is an open-source, practical coding tool built on code LLMs, offering code completion, intelligent Q&A, code review, code optimization, unit test writing, comment generation, and more.
Install the CLI
npm install -g @costrict/cs
- After installation, run
cs webin the terminal to open the web settings page, then click Settings and add a custom provider
- After submitting successfully, press Control + C to stop the current web command, then run
csin the terminal again, type/modelsto select the model you just added, and press Enter to start using it
Using it in VS Code
- Open VS Code, search for
costrictin the extension marketplace, and install it
- Open the
costrictextension and choose to use another provider
- Select
OpenAI Compatiblefrom the dropdown list
- Fill in the required information

Codex Installation and Configuration Guide
Install and configure the Codex CLI on Windows, macOS and Linux: create a codex-group API key, set up config.toml and auth.json for AnyRouter.
Coze Configuration Guide
Use the AnyRouter relay API in Coze workflows: create a workflow, add an HTTP request node, fill in the chat completions URL and API key, and test-run.