Using Kilo for Free
Kilo Code can be used completely free of charge, but you need to understand where Kilo uses AI models and configure each one appropriately.
When Kilo Uses Model Inference
Kilo uses AI model inference in three places:
- Agentic interactions - Coding assistant conversations in IDE extensions (VS Code, JetBrains), CLI, and cloud services like App Builder and Code Reviewer
- Autocomplete - In-editor code completions as you type (IDE extensions only)
- CLI Background tasks - Automatic session titles and context summarization (CLI only)
Each of these can consume credits by default. For a completely free Kilo experience, you must configure all three to use free models.
Free Agentic Usage
Kilo Code provides access to free models for your coding tasks through the Kilo Gateway and partner providers.
Finding Free Models
Free models are clearly labeled in the model picker across all Kilo platforms. To find and use them:
In the IDE Extensions (VS Code, JetBrains):
- Click on the current model below the chat window
- Browse the model list—free models are labeled as "(free)"
- Select your preferred free model
In the CLI:
- Open the CLI by running
kilo - Use the
/modelscommand to browse available models - Free models are labeled as "free"
- Select a free model for your tasks
Free Models for Cloud Tasks
Kilo's cloud services—including App Builder, Code Reviewer, and other cloud-based features—also support free models. When configuring a cloud task:
- Look for the model selection dropdown
- Free models are labeled as "(free)" in the dropdown
- Select any free model to avoid using credits
The available free models change over time as Kilo partners with different AI inference providers. Check our free and budget models guide for the latest options, and subscribe to our blog or join our Discord for updates.
Free Autocomplete
Kilo Code's autocomplete feature provides AI-powered code completions as you type in the IDE extensions.
Default Behavior
By default, autocomplete is routed through the Kilo Code provider and uses credits from your account.
If You Don't Have Credits
If you run out of credits and haven't configured a free alternative, autocomplete will stop working. Your main coding workflow won't be affected -- you just won't get AI-powered completions.
How to Get It Free
Configure Mistral directly as your autocomplete provider. Mistral offers free access to their Codestral model, which is optimized for code completions. When you configure Mistral directly, it takes precedence over the default Kilo Code routing.
For step-by-step instructions with screenshots, see our Mistral Setup Guide.
Free CLI Background Tasks
The Kilo CLI uses AI in the background for quality-of-life features that enhance your experience like context compression and titling sessions.
Default Behavior
By default, CLI background tasks use gpt-5-nano, which consumes credits.
If You Don't Have Credits
Background tasks degrade gracefully when you don't have credits:
- Session titles fall back to truncating your first message instead of generating a smart summary
- Context management uses simple truncation instead of intelligent summarization
- Your main workflow continues uninterrupted - these are convenience features, not requirements
How to Get It Free
Configure the small_model parameter in ~/.kilocode/config.json to use a free model:
{
"small_model": "your-preferred-free-model"
}
Replace your-preferred-free-model with any free model available in the model picker.
Related Resources
- Free and Budget Models - Complete guide to free and budget-friendly model options
- Mistral Setup Guide - Step-by-step free autocomplete setup
- Autocomplete - Full autocomplete documentation
- CLI Documentation - Complete CLI reference