Unquant

Opening your workspace…

Unquant

如何在 Unquant 中使用 Reasonix

Reasonix 以 DeepSeek 为核心,但支持任意 OpenAI 兼容 provider。添加 Unquant 后,即可在 GLM-5.3-Flash、Qwen 3.8 Flash Next 或 DeepSeek V4.1 Flash 1017 上无限制运行。

配置指南阅读时间 2 分钟更新于 2026 年 10 月 1 日
  1. 1

    存储密钥

    Reasonix 从 ~/.reasonix/.env 读取密钥,而非从 shell 环境变量读取。运行 reasonix setup,或手动添加以下行:

    UNQUANT_API_KEY=your-unquant-key
  2. 2

    添加 provider

    编辑 ~/.reasonix/config.toml(项目自带的 reasonix.toml 会覆盖此配置):

    config_version = 1
    default_model = "unquant/glm-5.3-flash"
    
    [[providers]]
    name = "unquant"
    kind = "openai"
    base_url = "https://api.unquant.io/v1"
    model = "glm-5.3-flash"
    api_key_env = "UNQUANT_API_KEY"
  3. 3

    运行 Reasonix

    在你的项目中启动 reasonix。其推理视图会展示模型的思考过程,该内容以 reasoning_content 字段返回。

继续阅读