AICredits logo
Integrations

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-key

Continue 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 actionSuggested model
Chat about codeopenai/gpt-4o-mini
Edit larger filesanthropic/claude-sonnet-4.5
Summarise docsgoogle/gemini-2.0-flash-001
Budget runsdeepseek/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.

On this page