321AI Model MarketplaceLive marketplace →

321AI setup guides (English)

Point your tool at https://321ai.cc/v1 — OpenAI protocol; or https://321ai.cc + /v1/messages — Anthropic protocol

Universal quickstart: create a key in the console (sign up), set base_url = https://321ai.cc/v1 in any OpenAI-compatible client, and call any of 165+ models. Claude Code: export ANTHROPIC_BASE_URL=https://321ai.cc. Merchant-set prices, failures never billed.

Coding CLI

Point Claude Code at 321AI with ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN — no /v1 suffix.
Override the provider in ~/.codex/config.toml and export OPENAI_API_KEY.
One-click provider switching for Claude Code / Codex — add 321AI via custom config.
Local routing layer: split scenarios across models to cut cost.

AI editor

Override OpenAI Base URL in Settings → Models; Chat and Composer run on your key.

VS Code extension

OpenAI Compatible provider: Base URL, key, Model ID and context window.
Cline fork with the same OpenAI Compatible fields.
Cline/Roo-style coding agent with OpenAI Compatible provider.

Desktop client

Add an OpenAI-compatible provider and pull the model list automatically.
Add a custom provider; API Domain joining varies by version.

Browser extension

Custom OpenAI endpoint with cheap fast models for everyday reading.

Web client

OPENAI_PROXY_URL + OPENAI_API_KEY for self-hosted chat frontends.
Custom endpoint URL, key and comma-separated model names.
Add an OpenAI connection in the admin panel for team deployments.

Dev integration

Official OpenAI SDK: change base_url, nothing else.

Dev framework

ChatOpenAI(base_url=...) plugs the relay into your chains.
openai/-prefixed models + api_base in config.yaml.

AI app platform

Add an OpenAI-API-compatible provider for workflows and agent apps.
OpenAI-compatible model config for knowledge-base Q&A apps.

Roleplay frontend

Chat Completion → Custom endpoint; long-context models fit roleplay.

Chinese guides

The Chinese catalog covers the same 20 tools plus more: https://321ai.cc/guides.

Reference

Endpoint semantics, error codes and SSE format live on each model page's .md twin and the price API docs: https://321ai.cc/api/public/model-prices.

All model pricesFeatured · 321AI communityFeatured · Open-source toolsFeatured · Advertise with usFeatured