Kilo Code
Use Foza models with the Kilo Code VS Code extension
Setup#
Kilo Code follows the same pattern as Cline-style VS Code coding agents: choose an OpenAI-compatible provider, paste the Foza base URL, paste your key, then enter the model slug.
1
Install Kilo Code
Install the Kilo Code extension from the VS Code Marketplace.
2
Open Kilo Code Settings
Click the Kilo Code icon in the sidebar, then click the Settings icon.
3
Select API Provider
Choose OpenAI Compatible as the API provider.
4
Configure connection
Set the following fields:
- Base URL:
https://api.foza.ai/v1 - API Key:
sk-foza-xxxxx - Model ID: Enter your model slug, e.g.,
anthropic/claude-sonnet-4.6oropenai/gpt-4o
5
Use safe defaults first
Before enabling auto-approval, test with a read-only prompt:
Inspect this workspace and explain which files control routing. Do not edit files.6
Try a small edit
Ask Kilo Code to change one file and review the diff before accepting it.
Troubleshooting#
| Symptom | What to check |
|---|---|
| Provider errors | Confirm you selected OpenAI Compatible |
| 401 or 403 | Confirm the Foza key is valid and funded/subscribed |
| Model not found | Copy the slug from Foza Marketplace |
| Large edits fail | Raise max output tokens or switch to a stronger model |
Kilo Code supports all OpenAI-compatible APIs. Any model subscribed to your Foza key will work seamlessly.