๐Ÿ“– Integration guide ยท two paths ยท ~5 minutes either way

Connect in two ways:
CC Switch or manual setup

Toggle your coding CLIs with a desktop switcher, or wire any OpenAI-compatible tool by hand. Both give you 42 models at up to 75% off.

โšก CC Switch โ€” for Claude Code / Codex CLI / Gemini CLI users

Best if you switch between official and relay providers, or run multiple coding agents
1

Download CC Switch

Grab the latest release for your platform from the CC Switch GitHub repository. Small desktop app, zero dependencies.

2

Add the Waterseller provider

Open CC Switch โ†’ Providers โ†’ + Add. Fill in: Name: Waterseller ยท Base URL: https://waterseller.cc ยท API Key: your sk-... key from the Tokens page.

3

Pick your models

CC Switch auto-fetches the model catalog โ€” glm-5.3-flash, deepseek-v4-pro, gpt-6-sol, grok-4.7 and 38 more. Set your default.

4

Switch anywhere, anytime

One click rewrites the config of Claude Code / Codex CLI / Gemini CLI on your machine. Toggle back to official billing whenever you want.

๐Ÿ’ก After adding the provider, CC Switch handles config rewrites for you. Toggle once โ€” every CLI on your machine now runs on Waterseller pricing. Toggle back to switch to official billing at any time.

What CC Switch writes (for the curious)

Example: the generated snippet when Waterseller is active:

base_url = "https://waterseller.cc/v1"
api_key  = "sk-...your-waterseller-key..."
model    = "glm-5.3-flash"   # or any of 42 models

๐Ÿ”ง Manual setup โ€” for any OpenAI-compatible tool

Best if you use raw SDKs, LangChain, custom agents, or anything with a base_url field
1

Get your API key

Sign up, then open Tokens โ†’ Create token. Copy the sk-... key. New accounts get $1 in free credit.

2

Point base_url at Waterseller

Set the base URL to https://waterseller.cc/v1 and use your key as the bearer token. That's the only change.

3

Pick a model

Use any model id from the pricing page โ€” e.g. glm-5.3-flash, deepseek-v4-pro, minimax-m3.1-flash.

4

Ship it

Streaming, tool calling, JSON mode and vision all work as-is. Monitor usage in your dashboard in real time.

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="sk-...",                       # your Waterseller key
    base_url="https://waterseller.cc/v1"    # one-line switch
)

resp = client.chat.completions.create(
    model="glm-5.3-flash",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(resp.choices[0].message.content)

curl

curl https://waterseller.cc/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-..." \
  -d '{
    "model": "glm-5.3-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }

Environment variables (any tool)

# Any tool that reads OPENAI_* env vars
export OPENAI_API_KEY="sk-..."
export OPENAI_BASE_URL="https://waterseller.cc/v1"

FAQ

Integration questions.

Which path should I choose?

Using Claude Code, Codex CLI or Gemini CLI and want instant switching between providers? Take CC Switch. Writing your own code or using any tool with a configurable OpenAI base URL? Manual takes 3 lines. Both connect to the same models at the same prices.

Do both methods use the same API key?

Yes โ€” one Waterseller key works everywhere: through CC Switch-managed CLIs, raw SDK calls, curl, LangChain, anything. Create as many keys as you like on the Tokens page.

Is the OpenAI-compatible endpoint fully compatible?

Yes: /v1/chat/completions, /v1/models, streaming SSE, tool calling, JSON mode, vision inputs. If a tool speaks the OpenAI protocol, it works unchanged.

Can I switch between models mid-project?

Change the model id string โ€” that's it. All 42 models share the same key, the same billing pool and the same endpoint.

Grab a key, connect in 5 minutes

$1 free credit ยท no credit card ยท cancel by doing nothing

Get your API key โ†’ Works with every OpenAI-compatible tool