Home Dashboard

Get Started in 2 Steps

Register, one command, start building.

Before you start Complete these 2 steps to use Claude Code, Codex CLI, and Gemini CLI through OrcAI. If you run into issues, check the detailed docs for each CLI tool in the sidebar.

Claude Code

Anthropic's agentic coding CLI. Edit files, run commands, manage git.

Anthropic
🟢

Codex CLI

OpenAI's terminal coding agent. Sandboxed code execution.

OpenAI
🔵

Gemini CLI

Google's open-source AI agent. 1M token context window.

Google
1

Register + Buy Quota + Get Key

In your browser, takes about 2 minutes

1.1 Register an account

Go to api.orcai.cc/portal and register with your email. After registration you'll be automatically logged in.

📷
Screenshot: Registration page

1.2 Buy quota

Go to the top-up page and choose a package:

Plan Quota Price (USDT) Validity
Starter$10$1.50No expiry
Most Popular$100$14.30No expiry
Professional$500$62.00No expiry
📷
Screenshot: Top-up page

1.3 Copy your API Key

A default API Key (starts with sk-) was automatically created when you registered. Go to the API Keys page and copy it.

📷
Screenshot: API Keys page
Keep your key safe Don't share your API key publicly. Use environment variables or .env files to store it securely.
2

One Command to Install + Configure

In your terminal, installs all 3 CLI tools and configures your API key

Run this single command (replace YOUR_API_KEY with the key you copied):

Install + Configure All CLI Tools

$ curl -fsSL https://api.orcai.cc/install.sh | bash -s -- --key YOUR_API_KEY

This command does everything:

  • Installs Node.js (if not present)
  • Installs Claude Code, Codex CLI, and Gemini CLI
  • Configures environment variables (API key + OrcAI endpoint)

After running, open a new terminal and try:

Terminal
# Anthropic Claude Code
$ claude

# OpenAI Codex CLI
$ codex

# Google Gemini CLI
$ gemini
Done! You're all set. If you prefer a GUI to manage configurations, check out CC-Switch. For manual configuration of individual tools, see the CLI docs in the sidebar.

Claude Code

Anthropic's agentic coding tool that lives in your terminal.

Launch

bash
$ claude

Key Features

  • Multi-file editingSearch and modify files across your entire codebase
  • Git integrationRead issues, write code, run tests, submit PRs
  • Agentic searchAutomatically finds relevant context
  • MCP supportConnect external tools via Model Context Protocol
  • Slash commandsBuilt-in /commit, /review, and custom plugins

Supported Models

Model ID Best For
Claude Opus 4claude-opus-4-6Complex reasoning, large refactors
Claude Sonnet 4claude-sonnet-4-6Balanced speed and quality
Claude Haiku 3.5claude-haiku-4-5-20251001Fast tasks, simple edits

Manual Configuration

If you didn't use the install script, configure manually:

bash
export ANTHROPIC_BASE_URL=https://api.orcai.cc/v1
export ANTHROPIC_API_KEY=sk-your-key
claude

Codex CLI

OpenAI's terminal-based coding agent built in Rust.

Launch

bash
$ codex

Key Features

  • Built in Rust96% Rust codebase for maximum performance
  • Sandboxed executionSecure code execution environment
  • Editor integrationWorks with VS Code, Cursor, and Windsurf
  • Desktop appLaunch with codex app for a GUI
  • Web searchBuilt-in web search for context

Manual Configuration

bash
export OPENAI_BASE_URL=https://api.orcai.cc/v1
export OPENAI_API_KEY=sk-your-key
codex

Gemini CLI

Google's open-source AI agent with 1M token context window.

Launch

bash
$ gemini

Key Features

  • 1M token contextLargest context window of any CLI tool
  • Open sourceApache 2.0 license, fully transparent
  • Google SearchReal-time web search grounding
  • CheckpointingSave and resume sessions
  • Non-interactive modeScriptable for automation

Manual Configuration

bash
export GEMINI_API_KEY=sk-your-key
gemini

CC-Switch

Desktop GUI app for managing AI CLI tools visually.

CC-Switch is a cross-platform desktop application that provides a visual interface for configuring Claude Code, Codex CLI, and Gemini CLI. If you prefer a GUI over command-line configuration, this is for you.

Optional If you already ran the install script with --key, everything is configured. CC-Switch is an alternative for users who prefer visual management.

Download

Get the latest release for your platform: github.com/farion1231/cc-switch/releases

Add OrcAI as a Provider

Field Value
Provider NameOrcAI
API Keysk-your-key
API Endpointhttps://api.orcai.cc/v1
API FormatAnthropic Messages API

API Overview

OpenAI-compatible REST API for accessing 50+ AI models.

Base URL

Endpoint
https://api.orcai.cc/v1

Quick Example

cURL
Python
Node.js
bash
curl https://api.orcai.cc/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 1024
  }'
Python
from openai import OpenAI

client = OpenAI(
    api_key="sk-your-key",
    base_url="https://api.orcai.cc/v1"
)

response = client.chat.completions.create(
    model="claude-sonnet-4-6",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=1024
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'sk-your-key',
  baseURL: 'https://api.orcai.cc/v1'
});

const response = await client.chat.completions.create({
  model: 'claude-sonnet-4-6',
  messages: [{ role: 'user', content: 'Hello!' }],
  max_tokens: 1024
});
console.log(response.choices[0].message.content);

Endpoints

Method Endpoint Description
POST/v1/chat/completionsChat completion (streaming supported)
GET/v1/modelsList available models
POST/v1/embeddingsGenerate text embeddings
POST/v1/images/generationsGenerate images

Authentication

Secure your API requests with bearer token authentication.

API Key

HTTP Header
Authorization: Bearer sk-your-api-key

Pricing

Plan Quota Price (USDT) Validity Models
Starter$10$1.50No expiryAll models
Most Popular$100$14.30No expiryAll models
Professional$500$62.00No expiryAll models
Security
  • Don't expose API keys in client-side code
  • Use environment variables or .env files
  • Rotate keys regularly

Models

50+ AI models from leading providers, one API.

Anthropic

ModelIDContextBest For
Claude Opus 4claude-opus-4-6200KComplex reasoning, coding
Claude Sonnet 4claude-sonnet-4-6200KBalanced performance
Claude Haiku 3.5claude-haiku-4-5-20251001200KFast, lightweight

OpenAI

ModelIDContextBest For
GPT-4ogpt-4o128KMultimodal, general purpose
GPT-4o Minigpt-4o-mini128KCost-effective
o1o1200KAdvanced reasoning
o3o3200KDeep reasoning

Google

ModelIDContextBest For
Gemini 2.5 Progemini-2.5-pro1MLarge context tasks
Gemini 2.5 Flashgemini-2.5-flash1MFast, cost-effective
Smart Routing Set "model": "auto" to let OrcAI route requests to the optimal model automatically.