Kilo Code with SayGM
The coding agent for VS Code, JetBrains and the terminal, on SayGM's models.
Model
Claude Opus 5.5Best quality
InSign in to fill these snippets with a SayGM key for Kilo Code.
Setup for GPT models
Use this setup with the models listed under GPT below.
- 1~/.config/kilo/kilo.jsoncjson
{ "$schema": "https://app.kilo.ai/config.json", "provider": { "saygm": { "npm": "@ai-sdk/openai", "name": "SayGM (GPT)", "env": ["SAYGM_API_KEY"], "options": { "baseURL": "https://api.saygm.com/v1" }, "models": { "gpt-6-luna": { "name": "gpt-6-luna", "limit": { "context": 128000, "output": 32000 } }, "gpt-6-astra": { "name": "gpt-6-astra", "limit": { "context": 128000, "output": 32000 } } } } }, "model": "saygm/gpt-6-luna" } - 2Set the key, then runbash
export SAYGM_API_KEY="<YOUR_SAYGM_KEY>" kilo
Switch between the listed models with /models.
First request
- 1Send a first requestbash
kilo run -m saygm/gpt-6-luna "say gm"
Setup for Claude models
Use this setup with the models listed under Claude below.
- 1~/.config/kilo/kilo.jsoncjson
{ "$schema": "https://app.kilo.ai/config.json", "provider": { "saygm-claude": { "npm": "@ai-sdk/anthropic", "name": "SayGM (Claude)", "env": ["SAYGM_API_KEY"], "options": { "baseURL": "https://api.saygm.com/v1" }, "models": { "claude-opus-5-5": { "name": "claude-opus-5-5", "limit": { "context": 200000, "output": 32000 } }, "claude-sonnet-5": { "name": "claude-sonnet-5", "limit": { "context": 200000, "output": 32000 } } } } }, "model": "saygm-claude/claude-opus-5-5" } - 2Set the key, then runbash
export SAYGM_API_KEY="<YOUR_SAYGM_KEY>" kilo
Switch between the listed models with /models.
First request
- 1Send a first requestbash
kilo run -m saygm-claude/claude-opus-5-5 "say gm"
Setup for open models
Use this setup with the models listed under Open models and Private (TEE) below.
- 1~/.config/kilo/kilo.jsoncjson
{ "$schema": "https://app.kilo.ai/config.json", "provider": { "saygm-chat": { "npm": "@ai-sdk/openai-compatible", "name": "SayGM (open models)", "env": ["SAYGM_API_KEY"], "options": { "baseURL": "https://api.saygm.com/v1" }, "models": { "kimi-k3-tee": { "name": "kimi-k3-tee", "limit": { "context": 128000, "output": 32000 } } } } }, "model": "saygm-chat/kimi-k3-tee" } - 2Set the key, then runbash
export SAYGM_API_KEY="<YOUR_SAYGM_KEY>" kilo
Switch between the listed models with /models.
First request
- 1Send a first requestbash
kilo run -m saygm-chat/kimi-k3-tee "say gm"
Troubleshooting
- Adding another model.
- Add its id under the provider's models, with a name and limits like the others, then pick it with /models.
- Context management breaks on long tasks.
- Kilo treats a missing limit as 0. Set limit.context and limit.output on each model.
- 404 on Claude models.
- The saygm-claude baseURL must end in /v1. @ai-sdk/anthropic adds only the last part of the path itself.
- Kilo can't find the key.
- Kilo reads keys from the environment for global config only. Keep the provider in ~/.config/kilo/kilo.jsonc, not a project kilo.jsonc.
- Checking what Kilo actually loaded.
- Run kilo debug config to print the resolved config, and kilo models to list the models it sees.
Models you can use with Kilo Code
Kilo Code runs SayGM's GPT, Claude and open models, each through its own provider: saygm, saygm-claude and saygm-chat.
Claude
11 models
- Claude Opus 5.5
claude-opus-5-5Best qualityThe newest Opus: hard coding and long agentic work at a lower Opus price.In$4.00$3.50Out$20.00$17.51/1M - Claude Sonnet 5
claude-sonnet-5Best valueEveryday coding and agent work at a fraction of Opus pricing.In$2.00$1.75Out$10.00$8.76/1M - Claude Haiku 5.5
claude-haiku-5-5Low-cost Claude with adaptive reasoning for quick edits and high-volume tasks.In$0.10$0.09Out$0.50$0.44/1MOffered by miners now - Claude Sonnet 5.5
claude-sonnet-5-5Anthropic's best combination of speed and intelligence, faster than Sonnet 5.In$2.00$1.75Out$10.00$8.76/1M - Claude Fable 5.1
claude-fable-5-1Anthropic's most capable model, for the most demanding long-horizon tasks.In$10.00$8.76Out$50.00$43.78/1M - Claude Fable 5
claude-fable-5Anthropic's top tier before Fable 5.1, for deep reasoning and agentic work.In$10.00$8.76Out$50.00$43.78/1M - Claude Opus 5
claude-opus-5Opus 5 for complex coding and agents that need careful reasoning.In$5.00$4.38Out$25.00$21.89/1M - Claude Opus 4.8
claude-opus-4-8Opus 4.8 for teams whose prompts are tuned to the Opus 4 line.In$5.00$4.38Out$25.00$21.89/1M - Claude Opus 4.7
claude-opus-4-7Opus 4.7 for workflows pinned to that release.In $5.00Out $25.00/1M - Claude Sonnet 4.6
claude-sonnet-4-6Sonnet 4.6 for workflows pinned to the previous Sonnet.In$3.00$2.63Out$15.00$13.13/1M - Claude Haiku 4.5
claude-haiku-4-5Fast, low-cost Claude for quick edits, subagents and high-volume calls.In $1.00Out $5.00/1M
GPT
15 models
- GPT-6 Astra
gpt-6-astraBest qualityOpenAI's top GPT-6 model, for the hardest coding and reasoning work.In$10.00$5.67Out$50.00$28.33/1M - GPT-6 Luna
gpt-6-lunaBest valueLow-cost GPT-6 for fast coding loops and high-volume agent turns.In$0.10$0.06Out$0.50$0.28/1M - GPT-6.1 Sol
gpt-6.1-solNear-Astra GPT-6 for complex coding and computer use at a lower price.In$2.00$1.13Out$10.00$5.67/1M - GPT-6.1 Terra
gpt-6.1-terraFast GPT-6.1 for visual reasoning and computer use.In$1.00$0.61Out$5.00$3.04/1M - GPT-6 Sol
gpt-6-solMid-priced GPT-6 for day-to-day coding with strong reasoning.In$2.00$1.13Out$10.00$5.67/1M - GPT-5.6 Sol
gpt-5.6-solThe larger GPT-5.6 model, for demanding coding and analysis.In$4.00$2.27Out$20.00$11.33/1M - GPT-5.6 Terra
gpt-5.6-terraMid-sized GPT-5.6 balancing capability and cost.In$2.00$1.13Out$12.00$6.80/1M - GPT-5.6 Luna
gpt-5.6-lunaLow-cost GPT-5.6 for quick, high-volume requests.In$0.20$0.11Out$1.20$0.68/1M - GPT-5.5
gpt-5.5GPT-5.5 reasoning model for workflows tuned to it.In$5.00$4.38Out$30.00$26.27/1M - GPT-5.5 Pro
gpt-5.5-proGPT-5.5 with extra compute per answer, for the toughest single problems.In up to $30.00Out up to $180.00/1M - GPT-5.4
gpt-5.4GPT-5.4 for general coding and writing at a moderate price.In$2.50$2.19Out$15.00$13.13/1MOffered by miners now - GPT-5.4 mini
gpt-5.4-miniSmall GPT-5.4 for fast, inexpensive everyday tasks.In$0.75$0.66Out$4.50$3.94/1MOffered by miners now - GPT-5.4 nano
gpt-5.4-nanoThe smallest GPT-5.4, for classification and simple high-volume calls.In$0.20$0.18Out$1.25$1.09/1M - o3OpenAI's o3 reasoning model for multi-step math, science and code.In
$2.00$1.75Out$8.00$7.00/1MOffered by miners now - o4-miniCompact o-series reasoning at a low price.In up to $1.10Out up to $4.40/1M
Open models
12 models
- gpt-oss-20bOpenAI's small open-weight model for cheap, simple tasks.In
$0.07$0.05Out$0.30$0.21/1M - Kimi K3
kimi-k3Kimi K3, an open-weight reasoning model built for coding agents.In$3.00$1.72Out$15.00$8.61/1M - Kimi K3.1 Pro
kimi-k3.1-proKimi K3.1 Pro for coding, 3D creation and complex financial research.In$2.00$1.22Out$10.00$6.08/1M - GLM-5.3
glm-5.3Z.ai's GLM-5.3 open-weight model for coding and agent tasks.In$1.40$0.81Out$4.40$2.54/1M - GLM-5.3-Flash
glm-5.3-flashThe fast, low-cost GLM-5.3 for quick coding help.In$0.15$0.12Out$0.50$0.40/1M - GLM-5.2
glm-5.2GLM-5.2 open weights for coding and reasoning.In$1.40$0.58Out$4.40$1.83/1M - DeepSeek-V4.1-Flash
deepseek-v4.1-flashDeepSeek's fast V4.1 model for low-cost coding and chat.In$0.30$0.04Out$1.20$0.16/1M - DeepSeek-V4.1-Flash-1017
deepseek-v4.1-flash-1017DeepSeek's fast V4.1 model for low-cost coding and chat.In$0.30$0.06Out$1.20$0.22/1M - DeepSeek-V4-Flash-0731
deepseek-v4-flash-0731DeepSeek V4 Flash for inexpensive, quick coding help.In$0.44$0.07Out$1.32$0.20/1M - Qwen3.8-27B
qwen3.8-27bQwen3.8 27B, a compact open-weight model for everyday coding.In$0.50$0.05Out$3.00$0.29/1M - Qwen3.6-35B-A3B
qwen3.6-35b-a3bQwen3.6 35B mixture-of-experts, fast and cheap for light tasks.In$0.248$0.074Out$1.485$0.444/1MOffered by miners now - MiMo-V2.6-Pro-UltraSpeed
mimo-v2.6-pro-ultraspeedXiaomi MiMo V2.6 Pro tuned for speed, with a 1M-token context.In$4.35$3.81Out$8.70$7.62/1M
Private (TEE)
16 models
- Kimi-K3 (TEE)
kimi-k3-teePrivate (TEE)Kimi K3, an open-weight coding and agent model, run inside a TEE.In$3.00$2.51Out$15.00$12.56/1MOffered by miners now - Kimi K3.1 Pro (TEE)
kimi-k3.1-pro-teeKimi K3.1 Pro run inside a TEE, for coding and research on private data.In$2.00$1.75Out$10.00$8.76/1M - Kimi-K2.6 (TEE)
kimi-k2.6-teeKimi K2.6 open weights inside a TEE, for private agent work.In$0.50$0.44Out$2.85$2.48/1MOffered by miners now - GLM-5.3 (TEE)
glm-5.3-teeGLM-5.3 run inside a TEE, for coding and agent tasks on private code.In$1.40$1.23Out$4.40$3.85/1M - GLM-5.3-Flash (TEE)
glm-5.3-flash-teeThe fast, low-cost GLM-5.3 inside a TEE, for quick private coding help.In $0.15Out$0.50$0.49/1M - GLM-5.2 (TEE)
glm-5.2-teeGLM-5.2 run inside a TEE, for coding on private code.In$1.40$1.23Out$4.40$3.85/1M - GLM-5.1 (TEE)
glm-5.1-teeGLM-5.1 run inside a TEE, for private reasoning tasks.In$1.40$1.19Out$4.40$3.74/1MOffered by miners now - DeepSeek-V4.1-Flash (TEE)
deepseek-v4.1-flash-teeDeepSeek V4.1 Flash inside a TEE, for low-cost private work.In$0.30$0.26Out$1.20$1.05/1MOffered by miners now - DeepSeek-V4.1-Flash-1017 (TEE)
deepseek-v4.1-flash-1017-teeDeepSeek V4.1 Flash inside a TEE, for low-cost private work.In$0.30$0.28Out$1.20$1.11/1M - DeepSeek-V4-Flash-0731 (TEE)
deepseek-v4-flash-0731-teeDeepSeek V4 Flash inside a TEE, for low-cost private work.In$0.44$0.43Out$1.32$1.29/1MOffered by miners now - DeepSeek-V3.2 (TEE)
deepseek-v3.2-teeDeepSeek V3.2 inside a TEE, for private general-purpose tasks.In$1.00$0.98Out$1.00$0.98/1M - Qwen3.8-27B (TEE)
qwen3.8-27b-teeQwen3.8 27B with private prompts inside a NEAR-attested TEE.In$0.44$0.19Out$3.30$1.46/1MOffered by miners now - Qwen3.6-27B (TEE)
qwen3.6-27b-teeQwen3.6 27B inside a TEE, for private everyday tasks.In$0.30$0.29Out$2.00$1.96/1MOffered by miners now - Qwen3.5-397B-A17B (TEE)
qwen3.5-397b-a17b-teeQwen3.5 397B, a large open-weight model run inside a TEE.In$0.45$0.44Out$3.00$2.94/1MOffered by miners now - MiMo-V2.6-Pro-UltraSpeed (TEE)
mimo-v2.6-pro-ultraspeed-teeXiaomi MiMo V2.6 Pro tuned for speed, run inside a TEE.In$4.35$3.81Out$8.70$7.62/1MOffered by miners now - Gemma 4 31B turbo (TEE)
gemma-4-31b-turbo-teeGoogle's Gemma 4 31B open weights inside a TEE, low cost and private.In $0.12Out$0.37$0.36/1M
About Kilo Code
Kilo Code is an open-source coding agent for VS Code, JetBrains and the terminal. It has modes for planning, writing code, debugging and orchestrating larger tasks, and works with many model providers. Developers use it to move between design and implementation without leaving their editor.