Connect → Kimi Code CLI

Use AxForge with Kimi Code CLI

Kimi Code CLI is Moonshot's terminal coding agent. Although it ships pointed at Moonshot, its provider model lets you target any OpenAI-compatible endpoint — so it runs on AxForge.

~/.kimi-code/config.toml

[providers."axforge"]
type     = "openai"                       # OpenAI-compatible wire protocol
api_key  = "your-axforge-key"
base_url = "https://api.axforge.ai/v1"

[models."axforge-chat"]
provider         = "axforge"
model            = "chat"                    # or qwen3.8-27b-nvfp4
max_context_size = 65536
capabilities     = ["tool_use"]

Credentials live in the TOML only. Kimi Code CLI does not read the API key from shell environment variables — put api_key in the config file as above.

Notes

The provider type selects the wire protocol; "openai" is the one to use for AxForge. Model names come from Models & pricing, or GET /v1/models.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms