| Model Family | Recommended Endpoint | Why |
|---|---|---|
| GPT series, Kimi, GLM, Grok | POST /v1/responses or POST /v1/chat/completions | Native support for reasoning controls, tool calling, and context compaction |
| Claude series | POST /v1/messages | Full support for extended thinking (thinking), Prompt Caching (cache_control), and anthropic-beta |
| Gemini series | Gemini Text Models (Native Format) | Full support for thinkingConfig, responseSchema, and thoughtSignature |
Available models and group permissions depend on the live GET /v1/modelsresponse for your API key. Image, video, and TTS models cannot be called through the text endpoints on this page.
| Client / SDK | Base URL | Authentication |
|---|---|---|
| Official OpenAI SDK / compatible clients | https://vip.brioi.com/v1 | Authorization: Bearer YOUR_API_KEY |
| Official Anthropic SDK / Claude Code | https://vip.brioi.com (do not append /v1) | x-api-key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEY |
| Raw HTTP / cURL | https://vip.brioi.com + full path below | Same as the corresponding endpoint |
POST https://vip.brioi.com/v1/responses is built for latest-generation GPT reasoning and coding models (such as gpt-6.2-sol, gpt-6.1-sol, and gpt-6-astra), supporting stateful multi-turn continuation, structured outputs, and function tools."stream": true in the request body to receive a standard SSE event stream.POST https://vip.brioi.com/v1/responses/compact for long-session coding agents such as Codex to compact conversation history.POST https://vip.brioi.com/v1/chat/completions is compatible with general AI apps, translation plugins, and IDE coding assistants.POST https://vip.brioi.com/v1/messages implements the Anthropic Messages specification. Authenticate with x-api-key: YOUR_API_KEY (paired with anthropic-version: 2023-06-01) or Authorization: Bearer YOUR_API_KEY; max_tokens is required.thinking, explicit Prompt Caching (cache_control), and anthropic-beta request headers.Claude | CCMAX | 满血 (full-capability CCMAX), Claude|Kiro|满血 (full-capability Kiro), Claude | Kiro | 特价 (discounted Kiro), or auto. The Claude|对话 (chat-only) group is intended strictly for conversational bots and chat plugins and does not support coding tool calls.Claude | CCMAX | 满血, Claude|Kiro|满血, or auto, then configure Claude Code using either option:~/.claude/settings.json directly:{
"env": {
"ANTHROPIC_BASE_URL": "https://vip.brioi.com",
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY"
}
}/v1 to ANTHROPIC_BASE_URL. To configure the Claude Desktop app, see the Claude Desktop (CC Switch) Setup Guide.| HTTP Status | Common Cause & Resolution |
|---|---|
400 | Invalid JSON payload or parameters (for example, omitting max_tokens on /v1/messages, or passing an image/video model ID to a chat endpoint). |
401 | Missing, invalid, or disabled API key. |
403 | Insufficient account balance or key quota, or the API key's group does not include the target model. |
404 | Malformed endpoint path—most commonly setting https://vip.brioi.com/v1 in the Anthropic SDK (resulting in /v1/v1/messages) or omitting /v1 in the OpenAI SDK. |
429 | Rate limit exceeded; retry with exponential backoff. |
503 | Service temporarily unavailable. |
500, 502 | Transient upstream error; if a streaming response drops mid-flight, inspect the X-Oneapi-Request-Id header for diagnostics. |