Quick Start
Get up and running with BytePass in 5 minutes. One API key gives you access to Claude, GPT, and more — no VPN, no foreign credit card.
1. Create an account
Go to bytepass.ai/register and sign up with your email.
2. Add credits
After logging in, go to the dashboard and redeem a top-up code, or head to Purchase to buy credits directly.
Credits are balance-based, not subscription. You only pay for what you use.
3. Create an API key
Go to Dashboard → API Keys (or visit bytepass.ai/keys) and click Create Token.
Copy your key — it starts with sk- and you'll need it in the next step.
4. Make your first request
Option A: Import to CC-Switch (recommended)
If you have CC-Switch installed, just click the "Import to CCS" button next to your key on the keys page — done in one click.
Option B: cURL
curl https://api.bytepass.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-5.4", "messages": [{"role": "user", "content": "Hello!"}]}'Option C: Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.bytepass.ai/v1"
)
response = client.chat.completions.create(
model="gpt-5.4",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Option D: JavaScript / TypeScript
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_API_KEY",
baseURL: "https://api.bytepass.ai/v1",
});
const response = await client.chat.completions.create({
model: "gpt-5.4",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Replace YOUR_API_KEY with the key you copied in step 3.
What's next?
- CC-Switch — One-click configuration tool for Claude Code, Codex, and Gemini CLI
- Claude Code setup — Full guide for configuring Claude Code with BytePass
- Codex CLI setup — Configure OpenAI Codex CLI
- Available models — See all supported models and pricing multipliers