Learning resourcesReviewed · Together AI

Configure Kimi Code with Together AI models

This guide helps developers connect the Kimi Code terminal coding assistant to Together AI, but it requires an API key and does not include usage prices. It documents persistent configuration and an environment-variable alternative, using Kimi K3 as the example model.

Researched 15 Nov 2026

In short.

This guide shows developers how to connect Kimi Code to Together AI-hosted models, but inference depends on an external API whose prices are not included. It supplies installation steps, an OpenAI-compatible provider configuration, a Kimi K3 model entry and an environment-variable alternative. No commands were executed, so installation success, compatibility, coding quality and performance remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete page at [https://docs.together.ai/docs/how-to-use-kimi-code.md], including installation, TOML configuration, environment variables, model switching and the Mintlify hosting credit. Linked pages, the documentation index, installer contents, package contents and external terms are excluded. No software was installed, commands executed, credentials used or model requests made.

The overview

Identity

This is Together AI's configuration guide at [https://docs.together.ai/docs/how-to-use-kimi-code.md]. It connects Moonshot AI's Kimi Code coding agent to Together AI's serverless model endpoint.

The page identifies both a terminal CLI and a VS Code extension, but its instructions cover the CLI. Kimi K3 is the worked example; the resource itself is documentation, not an agent package or model download.

Assessment

The guide is useful for developers who want specific connection settings rather than a broad introduction to coding agents. It provides the endpoint, model identifier, configuration location and diagnostic commands needed to attempt the integration.

Its value is limited to documented setup. It does not establish whether Kimi K3 improves coding results, how reliably the integration works or what a typical session costs.

Users

The intended reader is a developer comfortable opening a terminal, installing a CLI and editing a configuration file. Beginners receive a short sequence to follow, while experienced users get the exact provider and model fields.

Readers seeking VS Code setup, operating-system troubleshooting or a detailed introduction to agent permissions will need additional documentation.

Capabilities

The documented integration selects a default hosted model and allows switching among configured models through /model. The Kimi K3 entry declares thinking, image_in and tool_use capabilities.

The sample sets max_context_size to 1048576 tokens. This is a configuration value, not evidence that a session successfully used that much context. Image handling and tool execution are not demonstrated.

Using it

Requirements

The setup requires Kimi Code, a Together AI API key, access to the hosted endpoint and a project directory. The npm installation route requires Node.js 22.19.0 or later; the standalone installer is offered separately.

The page does not specify supported operating systems, minimum hardware, a required Kimi Code release or account-level model access conditions.

Mechanism

Kimi Code uses an OpenAI-compatible provider connection to send model requests to Together AI. The provider type is openai, the base URL is [https://api.together.ai/v1], and the remote model identifier is moonshotai/Kimi-K3.

The local name together/kimi-k3 links the default-model setting to the Together provider and its model entry. The alternative environment-variable method creates a temporary provider for the session instead of editing the configuration file.

Setup

The page offers a standalone shell installer at [https://code.kimi.com/kimi-code/install.sh] or the command npm install -g @moonshot-ai/kimi-code. It then directs readers to check the installation with kimi --version.

For persistent setup, merge the sample into ~/.kimi-code/config.toml, preserving unrelated settings. Set default_model to together/kimi-k3, add the Together provider and Kimi K3 model tables, replace the API-key placeholder and run kimi doctor.

The alternative uses KIMI_MODEL_NAME, KIMI_MODEL_PROVIDER_TYPE, KIMI_MODEL_BASE_URL, KIMI_MODEL_API_KEY and KIMI_MODEL_MAX_CONTEXT_SIZE before launching kimi. The installer contents and both setup methods were not assessed through execution.

Example

The documented usage example is to enter an existing project directory, launch kimi and use /model to confirm the active model or choose another configured model.

The page provides no coding-task transcript, generated patch or expected diagnostic output. Successful startup and useful coding results therefore remain unverified.

Assessment & evidence

Limitations

No installation, diagnostic command, API request or agent task was executed. Compatibility, latency, coding accuracy, context handling and operational reliability remain unverified.

The page calls the infrastructure fast and secure without providing measurements or security details. Its sample stores an API key directly in the configuration; credential protection, project-data handling and agent permission controls are not explained.

Reasoning

The guide's practical value comes from its explicit connection settings and two configuration methods. These explain the intended integration but do not demonstrate a productivity benefit or establish model quality.

The page says Kimi K3 thinks by default and that Kimi Code displays a reasoning trace. No example trace or evidence connecting that display to correct coding results is included.

Alternatives

The page names GLM 5.2 and Qwen3 Coder Next as other models that can use the same general connection approach through Together AI's serverless catalog.

It supplies no complete configuration, capability comparison, pricing comparison or observed results for those alternatives. The environment-variable route is an alternative setup method for occasional sessions.

Evidence

The sole source is the complete Together AI documentation page at [https://docs.together.ai/docs/how-to-use-kimi-code.md], captured on 2026-11-15 at 01:16:10.883 UTC.

This is provider-authored documentation containing setup instructions and product claims. No independent evaluation, command output or implementation source is available.

Access & freshness

Costs

Usage prices are unknown from this page. It supplies no token rates, free allowance, subscription terms or representative session cost.

The guide points to the Kimi K3 quickstart for pricing at [https://docs.together.ai/docs/kimi-k3-quickstart.md]. That linked page is outside the available evidence, so no budget estimate is supported.

Rights

The page describes Kimi K3 as open-weight, but includes no model license, Kimi Code license or documentation redistribution permission. Commercial-use and redistribution rights are not established by that description.

Together AI service terms and data-handling terms are also absent. The Mintlify hosting credit does not supply a license for the guide, agent or model.

Freshness

The capture date establishes when this documentation copy was obtained, not when its instructions were last updated. No publication date, revision date or tested Kimi Code release appears in the page.

Current package behavior, model availability, API compatibility and pricing are unknown beyond the captured statements.

Actions

Before adopting the setup, confirm current installation guidance, model availability, pricing and relevant service terms. Inspect the standalone installer before executing it and protect the API key used in either configuration method.

After installation, use the documented kimi --version, kimi doctor and /model checks. Begin with a small project task and review any proposed changes; the guide provides no evidence that these checks guarantee correct coding results.

Evidence for this report

selected-page.txtselected · checked 2026-11-15