Skip to main content
AINative Studio
Products
Solutions
AI for BusinessNewFor DevelopersPricingDocs
Sign InBook a Call

Model Configuration

Cody CLI supports 16 models via the AINative gateway. You can select a model per-session or set a default. The default model is deepseek-4-flash on the free tier and kimi-k2 on paid plans.

Available Models

Model IDContextBest ForPlan
deepseek-4-flash128KDefault — coding, tools, reasoningPaid
kimi-k2128KDefault on paid plans — coding + reasoningPaid
kimi-k2.6128KImproved K2 — coding + reasoningPaid
kimi-k3256KFlagship reasoning + large contextPaid
gpt-oss-120b64KFast coding on Cerebras (2,000+ tok/s)Free
glm-5128KCoding + reasoningFree
qwen3-coder-next256KFast coding, large contextFree
llama-3.3-70b-instruct128KGeneral textFree
qwen3-coder-flash128KFast iterationPaid
qwen3.5-397b128KMoE flagship — coding + reasoningPaid
qwen-coder-32b128KCode qualityPaid
claude-sonnet200KFrontier coding + toolsPaid
claude-opus200KMost capable — complex agentic workPaid
gpt-5400KFrontier reasoning, largest contextPaid
gpt-4o128KCoding + toolsPaid
o4-mini128KFast reasoningPaid

Selecting a Model

Per-session flag

cody --model deepseek-4-flash

Interactive model picker

Run /model inside an interactive session to switch models. The picker is filtered to the models available on your plan.

Set a default in settings

{
  "model": "kimi-k2"
}

Add this to your ~/.cody/settings.json.

Context Limits

Each model has a maximum context window (64K to 400K tokens). Cody automatically manages context to stay within limits, summarizing older turns when needed.

Tool Support

All 16 models in the registry support the full Cody toolset (file read/write, bash, search, MCP tools). Tool-calling reliability is strongest on models tagged tools in the registry — which currently includes every model except llama-3.3-70b-instruct, which is text-focused.