新把任何智能体接入 UberLLM:一个密钥,所有模型,价格不高于官方价。
UberLLM

Raycast

Raycast AI 将 UberLLM 添加为 providers.yaml 中的 自定义提供商。自定义提供商需要 Raycast Pro。

开始之前

  • 一个有余额的 UberLLM 账户,以及一个来自 Dashboard → 密钥 (ull_...) 的 API key。

设置

  1. 打开 Raycast Settings → AI → Models & Providers → Custom Providers 并点击 Reveal Providers Config。这将打开 ~/.config/raycast/ai/。
  2. 复制 providers.template.yaml 到 providers.yaml (如果您已有,则打开 providers.yaml)。
  3. 添加 UberLLM:
providers:
  - id: uberllm
    name: UberLLM
    base_url: https://api.uberllm.dev/v1
    api_keys:
      default: ull_your-key
    models:
      - id: deepseek/deepseek-v4.1-flash
        name: DeepSeek V4.1 Flash
        context: 1048576
        abilities:
          temperature: { supported: true }
          system_message: { supported: true }
          tools: { supported: true }
      - id: google/gemini-2.5-flash
        name: Gemini 2.5 Flash
        context: 1048576
        abilities:
          temperature: { supported: true }
          vision: { supported: true }
          system_message: { supported: true }
          tools: { supported: true }
      - id: z-ai/glm-5.2
        name: GLM 5.2
        context: 1048576
        abilities:
          temperature: { supported: true }
          system_message: { supported: true }
          tools: { supported: true }

Raycast 在文件更改时会再次读取文件;无需重启。

  • base_url 停在 /v1。Raycast 会添加 /chat/completions。
  • Raycast 不会从 /v1/models 加载模型:请逐一列出。来自 目录 的任何 chat id 都有效。
  • 只有当模型支持某项能力时,才将其标记为已支持。vision 适用于 google/gemini-2.5-flash,不适用于 z-ai/glm-5.2。

推荐模型

在 2026年10月30日 通过 UberLLM 检查:上述三个。

常见错误

您看到的 原因与解决方法
"Invalid providers.yaml" 标识 YAML 错误。将鼠标悬停在标识上可查看具体行。
UberLLM 未显示 该提供商没有有效的模型条目,因此 Raycast 会跳过它。
模型处理图片或工具时出错 某项能力被标记为支持,但模型不具备该能力。
402 insufficient_credits 余额不足。请在 Dashboard → Credits 中充值。