Continue
Configure Continue.dev with AICredits as an OpenAI-compatible provider for VS Code and JetBrains coding assistants.
Use this page with an AI assistant
Opens a new chat with this docs URL and the correct AICredits base URLs.
Continue can use any OpenAI-compatible endpoint. Add AICredits as a provider once, then switch between GPT, Claude, Gemini, DeepSeek, and other supported models from your editor.
config.yaml
Add models like this:
models:
- name: AICredits GPT-4o Mini
provider: openai
model: openai/gpt-4o-mini
apiBase: https://api.aicredits.in/v1
apiKey: sk-your-aicredits-key
- name: AICredits Claude Sonnet
provider: openai
model: anthropic/claude-sonnet-4.5
apiBase: https://api.aicredits.in/v1
apiKey: sk-your-aicredits-key
- name: AICredits Gemini Flash
provider: openai
model: google/gemini-2.0-flash-001
apiBase: https://api.aicredits.in/v1
apiKey: sk-your-aicredits-keyContinue uses the OpenAI provider adapter here because AICredits exposes an OpenAI-compatible API.
Environment Variable Version
To avoid putting keys in config files:
models:
- name: AICredits Claude Sonnet
provider: openai
model: anthropic/claude-sonnet-4.5
apiBase: https://api.aicredits.in/v1
apiKey: ${env:AICREDITS_API_KEY}Then set:
export AICREDITS_API_KEY="sk-your-aicredits-key"Use Cases
| Continue action | Suggested model |
|---|---|
| Chat about code | openai/gpt-4o-mini |
| Edit larger files | anthropic/claude-sonnet-4.5 |
| Summarise docs | google/gemini-2.0-flash-001 |
| Budget runs | deepseek/deepseek-v4-flash |
Troubleshooting
401 Unauthorized — Check that the key starts with sk- and has not been revoked.
404 Not Found — Use apiBase: https://api.aicredits.in/v1.
Model unavailable — Verify the ID on Models, then paste the exact ID into Continue.