Browse Source

zen: add gemini 3 flash

Frank 2 months ago
parent
commit
d6f86e9bb7
1 changed files with 24 additions and 22 deletions
  1. 24 22
      packages/web/src/content/docs/zen.mdx

+ 24 - 22
packages/web/src/content/docs/zen.mdx

@@ -62,28 +62,29 @@ You are charged per request and you can add credits to your account.
 
 You can also access our models through the following API endpoints.
 
-| Model             | Model ID          | Endpoint                                         | AI SDK Package              |
-| ----------------- | ----------------- | ------------------------------------------------ | --------------------------- |
-| GPT 5.2           | gpt-5.2           | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| GPT 5.1           | gpt-5.1           | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| GPT 5.1 Codex     | gpt-5.1-codex     | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| GPT 5             | gpt-5             | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| GPT 5 Codex       | gpt-5-codex       | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| GPT 5 Nano        | gpt-5-nano        | `https://opencode.ai/zen/v1/responses`           | `@ai-sdk/openai`            |
-| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages`            | `@ai-sdk/anthropic`         |
-| Claude Sonnet 4   | claude-sonnet-4   | `https://opencode.ai/zen/v1/messages`            | `@ai-sdk/anthropic`         |
-| Claude Haiku 4.5  | claude-haiku-4-5  | `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.5   | claude-opus-4-5   | `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`         |
-| Gemini 3 Pro      | gemini-3-pro      | `https://opencode.ai/zen/v1/models/gemini-3-pro` | `@ai-sdk/google`            |
-| GLM 4.6           | glm-4.6           | `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` |
-| Kimi K2 Thinking  | kimi-k2-thinking  | `https://opencode.ai/zen/v1/chat/completions`    | `@ai-sdk/openai-compatible` |
-| 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` |
-| Big Pickle        | big-pickle        | `https://opencode.ai/zen/v1/chat/completions`    | `@ai-sdk/openai-compatible` |
+| Model             | Model ID          | Endpoint                                           | AI SDK Package              |
+| ----------------- | ----------------- | -------------------------------------------------- | --------------------------- |
+| GPT 5.2           | gpt-5.2           | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| GPT 5.1           | gpt-5.1           | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| GPT 5.1 Codex     | gpt-5.1-codex     | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| GPT 5.1 Codex Max | gpt-5.1-codex-max | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| GPT 5             | gpt-5             | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| GPT 5 Codex       | gpt-5-codex       | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| GPT 5 Nano        | gpt-5-nano        | `https://opencode.ai/zen/v1/responses`             | `@ai-sdk/openai`            |
+| Claude Sonnet 4.5 | claude-sonnet-4-5 | `https://opencode.ai/zen/v1/messages`              | `@ai-sdk/anthropic`         |
+| Claude Sonnet 4   | claude-sonnet-4   | `https://opencode.ai/zen/v1/messages`              | `@ai-sdk/anthropic`         |
+| Claude Haiku 4.5  | claude-haiku-4-5  | `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.5   | claude-opus-4-5   | `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`         |
+| Gemini 3 Pro      | gemini-3-pro      | `https://opencode.ai/zen/v1/models/gemini-3-pro`   | `@ai-sdk/google`            |
+| Gemini 3 Flash    | gemini-3-flash    | `https://opencode.ai/zen/v1/models/gemini-3-flash` | `@ai-sdk/google`            |
+| GLM 4.6           | glm-4.6           | `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` |
+| Kimi K2 Thinking  | kimi-k2-thinking  | `https://opencode.ai/zen/v1/chat/completions`      | `@ai-sdk/openai-compatible` |
+| 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` |
+| Big Pickle        | big-pickle        | `https://opencode.ai/zen/v1/chat/completions`      | `@ai-sdk/openai-compatible` |
 
 The [model id](/docs/config/#models) in your OpenCode config
 uses the format `opencode/<model-id>`. For example, for GPT 5.1 Codex, you would
@@ -123,6 +124,7 @@ We support a pay-as-you-go model. Below are the prices **per 1M tokens**.
 | Claude Opus 4.1                   | $15.00 | $75.00 | $1.50       | $18.75       |
 | Gemini 3 Pro (≤ 200K tokens)      | $2.00  | $12.00 | $0.20       | -            |
 | Gemini 3 Pro (> 200K tokens)      | $4.00  | $18.00 | $0.40       | -            |
+| Gemini 3 Flash                    | $0.50  | $3.00  | $0.05       | -            |
 | GPT 5.2                           | $1.75  | $14.00 | $0.175      | -            |
 | GPT 5.1                           | $1.07  | $8.50  | $0.107      | -            |
 | GPT 5.1 Codex                     | $1.07  | $8.50  | $0.107      | -            |