---
title: "CC Provider Configuration"
description: "Manage custom Anthropic providers with the CC Provider extension for VS Code."
headingIds: {"Configuration Steps":"section-1","Scope and Troubleshooting":"section-2"}
---

<aside className="docs-publication" data-pagefind-ignore>

Documentation maintained by [1ZheAI](https://1zheai.com/en/editorial/#publisher). [Sources and corrections](https://1zheai.com/en/editorial/).

Found an error? [Contact support](mailto:support@1zheai.com) with the page address and a description. Do not send API keys or account credentials.

</aside>
This refers to the VS Code extension **onetooken/cc-provider**, not CC Switch. It supports custom Anthropic-compatible endpoints.

## Configuration Steps

1. Install the extension from the official repository link and open its provider panel.
2. Create a new custom provider; the console **API Key → Tools → CC Provider** can copy the corresponding fields.
3. Fill Name with `1折AI`, Base URL with `https://1zheai.com`, and API Token with your own key.
4. Fill in the primary model and any needed model slots according to the currently available models; do not copy model IDs or `[1m]` capability suffixes from other providers.
5. Back up your existing Claude Code configuration before applying, and check the fields that will be changed. Restart sessions that need to read the configuration, then test a short request.

## Scope and Troubleshooting

This site provides field copying; the provider one-click import protocol of this extension has not been verified. The way this client writes to the Claude Code configuration differs from the built-in provider inclusion.

For 401, check the token; for 404, check that the Anthropic root address has not been mistakenly filled with `/v1/messages`; if the model does not exist, switch to a model available with the current key. Confirm that requests appear in this site's call log before using long tasks.

Official: [CC Provider](https://github.com/onetooken/cc-provider).

<Note> protocol and official materials were verified on 2026-10-19. This site has implemented configuration generation and frontend regression testing; real inference verification across all clients, systems, and models has not been completed. Please re-verify after client upgrades. Custom integration does not represent official partnership or built-in recommendation. </Note>

More: [API Key](/en/docs/api-keys/), [Model List](/en/docs/models/), [Call Log](/en/docs/usage-logs/), [Address Notes](/en/docs/base-url/).
