mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 02:34:21 +01:00
docs: zen
This commit is contained in:
@@ -57,14 +57,19 @@ You are charged per request and you can add credits to your account.
|
||||
|
||||
---
|
||||
|
||||
## Goals
|
||||
## Endpoints
|
||||
|
||||
We created opencode zen to:
|
||||
You can also access our models through the following API endpoints.
|
||||
|
||||
1. **Benchmark** the best models/providers for coding agents.
|
||||
2. Have access to the **highest quality** options and not downgrade performance or route to cheaper providers.
|
||||
3. Pass along any **price drops** by selling at cost; so the only markup is to cover our processing fees.
|
||||
4. Have **no lock-in** by allowing you to use it with any other coding agent. And always let you use any other provider with opencode as well.
|
||||
| Model | Mode ID | Endpoint | AI SDK Package |
|
||||
| ---------------- | ---------------- | --------------------------------------------- | --------------------------- |
|
||||
| GPT-5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
||||
| Claude Sonnet 4 | claude-sonnet-4 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| Claude Haiku 3.5 | claude-3-5-haiku | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| Claude Opus 4.1 | claude-opus-4-1 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| Qwen3 Coder 480B | qwen3-coder | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| Grok Code Fast 1 | grok-code | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| Kimi K2 | kimi-k2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
|
||||
---
|
||||
|
||||
@@ -88,35 +93,27 @@ tokens**.
|
||||
Credit card fees are passed along at cost; we don’t charge anything beyond that.
|
||||
:::
|
||||
|
||||
A couple of notes:
|
||||
|
||||
- These are the raw prices based on the provider we are using internally. We
|
||||
charge a small markup on top of this to cover our processing fees.
|
||||
- Grok Code Fast 1 is currently free on opencode for a limited time. The xAI team is
|
||||
using this time to collect feedback and improve Grok Code.
|
||||
Grok Code Fast 1 is currently free on opencode for a limited time. The xAI team is using this time to collect feedback and improve Grok Code.
|
||||
|
||||
<a href={email}>Contact us</a> if you have any questions.
|
||||
|
||||
---
|
||||
|
||||
## Model Endpoints
|
||||
## Privacy
|
||||
|
||||
| Model | Mode ID | Endpoint | AI SDK Package |
|
||||
| ---------------- | ---------------- | --------------------------------------------- | --------------------------- |
|
||||
| GPT-5 | gpt-5 | `https://opencode.ai/zen/v1/responses` | `@ai-sdk/openai` |
|
||||
| Claude Sonnet 4 | claude-sonnet-4 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| Claude Haiku 3.5 | claude-3-5-haiku | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| Claude Opus 4.1 | claude-opus-4-1 | `https://opencode.ai/zen/v1/messages` | `@ai-sdk/anthropic` |
|
||||
| Qwen3 Coder 480B | qwen3-coder | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| Grok Code Fast 1 | grok-code | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
| Kimi K2 | kimi-k2 | `https://opencode.ai/zen/v1/chat/completions` | `@ai-sdk/openai-compatible` |
|
||||
All our models are hosted in the US. Our providers follow a zero-retention policy and do not use your data for model training, with the following exceptions:
|
||||
|
||||
- Grok Code Fast 1: During its free period, collected data may be used to improve Grok Code.
|
||||
- OpenAI APIs: Requests are retained for 30 days in accordance with [OpenAI's Data Policies](https://platform.openai.com/docs/guides/your-data).
|
||||
- Anthropic APIs: Requests are retained for 30 days in accordance with [Anthropic's Data Policies](https://docs.anthropic.com/en/docs/claude-code/data-usage).
|
||||
|
||||
---
|
||||
|
||||
## Privacy
|
||||
## Goals
|
||||
|
||||
1. All our models are hosted in the US.
|
||||
2. Our providers follow a zero-retention policy and do not use your data for model training, with the following exceptions:
|
||||
- Grok Code Fast 1: During its free period, collected data may be used to improve Grok Code.
|
||||
- OpenAI APIs: Requests are retained for 30 days in accordance with [OpenAI's Data Policies](https://platform.openai.com/docs/guides/your-data).
|
||||
- Anthropic APIs: Requests are retained for 30 days in accordance with [Anthropic's Data Policies](https://docs.anthropic.com/en/docs/claude-code/data-usage).
|
||||
We created opencode zen to:
|
||||
|
||||
1. **Benchmark** the best models/providers for coding agents.
|
||||
2. Have access to the **highest quality** options and not downgrade performance or route to cheaper providers.
|
||||
3. Pass along any **price drops** by selling at cost; so the only markup is to cover our processing fees.
|
||||
4. Have **no lock-in** by allowing you to use it with any other coding agent. And always let you use any other provider with opencode as well.
|
||||
|
||||
Reference in New Issue
Block a user