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.

Skills

Orq Skills add pre-built agentic workflows to Kimi Code for the full Build, Evaluate, Optimize lifecycle.

Installation

Set an API key and connect the Orq MCP server first. Skills are then triggered by describing what is needed.

Orq Skills

The full catalogue of skills and slash commands.
Slash commands (/orq:orq-quickstart, /orq:traces, and others) are only available in Claude Code.

Connect via MCP

Kimi Code also acts as an MCP client, so it can reach the Orq MCP server and the MCP Gateway alongside the gateway routing above. The Orq MCP server manages Agents, experiments, Datasets, and Traces; the MCP Gateway serves the tools, resources and prompts of the MCP Servers linked to it. Add both to ~/.kimi-code/mcp.json (or the project-local .kimi-code/mcp.json):
Replace YOUR_ORQ_API_KEY with an API key. The gateway entry carries no header, so Kimi Code signs in through the browser on first use; /mcp-config login <gateway-key> re-authenticates, and adding an Authorization header to that entry authenticates with an API key instead. Manage servers from the terminal with the kimi mcp command group. See the MCP Quickstart for the full tool reference.
Orq.ai API keys are scoped to a single project, so the Orq MCP server only exposes the Agents, experiments, Datasets, and Traces within that project. Use a key from the project whose entities Kimi Code should manage.

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.