AI 提供商
OpenAI
配置 OpenAI GPT 系列模型及 Azure OpenAI。
OpenAI / Azure OpenAI
OpenCowork 支持 OpenAI 的两种 API 协议:Chat Completions 和 Responses API。
获取 API Key
- 访问 platform.openai.com
- 进入 API Keys 页面
- 点击 Create new secret key
在 OpenCowork 中配置
进入 设置 → AI 提供商 → OpenAI,填入 API Key。
支持的模型 / Supported Models
| 模型 | 协议 | 特性 |
|---|---|---|
gpt-4o | openai-chat | 视觉、快速 |
gpt-4o-mini | openai-chat | 低成本 |
o1 | openai-responses | 推理模型 |
o3-mini | openai-responses | 快速推理 |
Azure OpenAI
使用 Azure OpenAI 时,设置自定义 Base URL:
Base URL: https://your-resource.openai.azure.com/openai/deployments/your-deployment
API Key: your-azure-api-keyResponses API
openai-responses 协议使用 OpenAI 的新版 Responses API,支持推理模型(o1、o3)的流式输出。