Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 7a03c7f

Browse files
author
Frank
committed
zen: add gpt5.1 to docs
1 parent 09bd321 commit 7a03c7f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • packages/web/src/content/docs

packages/web/src/content/docs/zen.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ You can also access our models through the following API endpoints.
6464

6565
| Model | Model ID | Endpoint | AI SDK Package |
6666
| ----------------- | ----------------- | --------------------------------------------- | --------------------------- |
67+
| GPT 5.1 | gpt-5.1 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
68+
| GPT 5.1 Codex | gpt-5.1-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
6769
| GPT 5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
6870
| GPT 5 Codex | gpt-5-codex | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
6971
| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
@@ -78,8 +80,8 @@ You can also access our models through the following API endpoints.
7880
| Big Pickle | big-pickle | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
7981

8082
The [model id](/docs/config/#models) in your OpenCode config
81-
uses the format `opencode/<model-id>`. For example, for GPT 5 Codex, you would
82-
use `opencode/gpt-5-codex` in your config.
83+
uses the format `opencode/<model-id>`. For example, for GPT 5.1 Codex, you would
84+
use `opencode/gpt-5.1-codex` in your config.
8385

8486
---
8587

@@ -127,6 +129,8 @@ We support a pay-as-you-go model. Below are the prices **per 1M tokens**.
127129
| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 |
128130
| Claude Haiku 3.5 | $0.80 | $4.00 | $0.08 | $1.00 |
129131
| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 |
132+
| GPT 5.1 | $1.25 | $10.00 | $0.125 | - |
133+
| GPT 5.1 Codex | $1.25 | $10.00 | $0.125 | - |
130134
| GPT 5 | $1.25 | $10.00 | $0.125 | - |
131135
| GPT 5 Codex | $1.25 | $10.00 | $0.125 | - |
132136

0 commit comments

Comments
 (0)