Skip to main content
Route every model call Kimi Code makes through the Orq.ai AI Gateway by editing a single configuration file. Requests appear in Traces automatically.

Prerequisites

Setup

Kimi Code is OpenAI-compatible. Edit ~/.kimi-code/config.toml to add an Orq.ai provider pointed at the router, and register each model as its own [models."..."] block:
Replace <ORQ_API_KEY> with an API key. If ~/.kimi-code/config.toml does not exist yet, create it. Each model value is an identifier from the AI Gateway catalog, so add a [models."..."] block for every model you want. default_model sets the one loaded at startup; switch between registered models at any time with /model inside Kimi Code. Launch Kimi Code:
To configure the provider through the interactive manager instead of editing the file, run /provider inside Kimi Code.

Verification

Once configured, send a prompt in Kimi Code. The response appears in the terminal and the trace appears in Orq.ai Traces with the model identifier you selected.