Documentation
Everything you need to plug CheapAI into your tooling — setup guides for popular agents, API reference, FAQ.
Continue
Extension for VS Code and JetBrains
Install the Continue extension, then create an API key on the Keys page.
Open ~/.continue/config.yaml and add the models. Roles tell Continue what each model is for.
yaml
models:
- name: Opus 4.8
provider: openai
model: claude-opus-4-8
apiBase: https://cheapai.io/v1
apiKey: <ваш ключ>
roles: [chat, edit, apply]
- name: Haiku 4.5
provider: openai
model: claude-haiku-4-5-20251001
apiBase: https://cheapai.io/v1
apiKey: <ваш ключ>
roles: [autocomplete]provider must be openai - there is no separate "custom" provider. The gateway is selected by apiBase, not by the provider name.Continue moved from config.json to config.yaml. Older guides on the web still show JSON - that format no longer applies.
A cheap model for autocomplete saves a lot: it fires on almost every keystroke. See prices in the catalog.