Appearance
Base URL 与分组
不同工具使用的兼容协议不同,Base URL 不能混用。
Base URL
| 场景 | Base URL |
|---|---|
| Anthropic / Claude 兼容 | https://timesniper.club |
| OpenAI / Responses / Chat Completions 兼容 | https://timesniper.club/v1 |
| Gemini CLI | https://timesniper.club |
Key 分组建议
| 工具 | 推荐分组 |
|---|---|
| Claude Code | cc5 或 cc7 |
| Codex | gpt |
| Gemini CLI | 与 Gemini 模型对应的分组 |
| OpenClaw 自动配置 | 按脚本中选择的兼容模式匹配分组 |
| Hermes Claude 模式 | cc5 或 cc7 |
| Hermes Codex 模式 | gpt |
| Aider / OpenCode | 按模型选择 gpt、glm 或其他对应分组 |
常见判断
- 命令或配置里出现
OPENAI_API_KEY、OPENAI_BASE_URL,通常使用https://timesniper.club/v1。 - 命令或配置里出现
ANTHROPIC_API_KEY、ANTHROPIC_BASE_URL,通常使用https://timesniper.club,不要给 Anthropic/Claude Code 的 base URL 追加/v1。 - Hermes 的
api_mode: anthropic_messages使用https://timesniper.club;api_mode: codex_responses使用https://timesniper.club/v1。 - 如果工具明确要求 Responses API,优先使用 OpenAI 兼容入口。