Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion services/site/src/docs/content/console/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ translates. See [Base URLs](/console/harnesses#base-urls) for the full set.
| Gemini Decision 1 | gemini-decision-1 | `https://opencode.ai/inference/systemone/v1/systemone` | - |
| Jev 1.13 | jev-1.13 | `https://opencode.ai/inference/systemone/v1/systemone` | - |
| Jev 1.13 Free | jev-1.13-free | `https://opencode.ai/inference/systemone/v1/systemone` | - |
| GPT Image 2.5 Sunburst | gpt-image-2.5-sunburst | `https://opencode.ai/inference/openai/v1/images/generations` | `@ai-sdk/openai` |
| Nano Banana 2.1 | gemini-nano-banana-2.1 | `https://opencode.ai/inference/google/v1beta/models/gemini-nano-banana-2.1:generateContent` | `@ai-sdk/google` |
| Grok Imagine Image 2.0 | grok-imagine-image-2.0 | `https://opencode.ai/inference/xai/v1/images/generations` | `@ai-sdk/xai` |
| GPT-Live 1 | gpt-live-1 | `https://opencode.ai/inference/openai/v1/live/sessions` | - |
| Big Pickle | big-pickle | `https://opencode.ai/inference/openai/v1/chat/completions` | `@ai-sdk/openai-compatible` |
| Iceman Free | iceman-free | `https://opencode.ai/inference/openai/v1/chat/completions` | `@ai-sdk/openai-compatible` |
| Inkling 2 Small Free | inkling-2-small-free | `https://opencode.ai/inference/openai/v1/chat/completions` | `@ai-sdk/openai-compatible` |
Expand Down Expand Up @@ -221,9 +225,34 @@ curl https://opencode.ai/inference/systemone/v1/systemone \
}'
```

### Image and voice models

`gpt-image-2.5-sunburst`, `gemini-nano-banana-2.1`, and `grok-imagine-image-2.0` generate and edit images, and
`gpt-live-1` runs voice sessions. They aren't chat models, so they never appear in `/models` or the models endpoint,
and `opencode/<model-id>` doesn't select them. Call them on their native API with a Console key, or let OpenCode's
[`experimental_image_generate`](/tools#image-generate) tool use an image model by setting
`experimental.image_generate.model`, for example `opencode/gpt-image-2.5-sunburst`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think opencode/gpt-image-2.5-sunburst works here today, and it contradicts the sentence just before it ("opencode/<model-id> doesn't select them").

experimental_image_generate only picks from models.available(["image"]). In the bundled models.dev catalog, the opencode provider has no image models: it has 130 chat and 2 decision models. gpt-image-2.5-sunburst only shows up under openai, azure and aihubmix.

As a configured default, it would be quietly replaced by an automatic pick. Passed explicitly, the tool fails with "is not an available image model".

Unless the live catalog already lists these under opencode, could you drop this pointer or show the native provider form (e.g. openai/gpt-image-2.5-sunburst) instead?


```bash
curl https://opencode.ai/inference/openai/v1/images/generations \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2.5-sunburst",
"prompt": "A mountain at sunrise",
"size": "1024x1024"
}'
```

Google takes its native `contents` and `generationConfig`, and xAI its native options such as `resolution` and
`quality`. OpenAI Images and xAI Images also accept edits at `/images/edits`. For `gpt-live-1`, start a WebRTC session
at `POST /inference/openai/v1/live/sessions` with OpenAI's session request and return its SDP answer; session time
bills per minute as it runs.

## Pricing

Console uses pay-as-you-go pricing. Below are the prices **per 1M tokens**.
Console uses pay-as-you-go pricing. Below are the prices **per 1M tokens**, with image and voice models priced per
image or per minute.

<div class="docs-table-scroll" role="region" aria-label="Console model pricing" tabIndex={0}>

Expand Down Expand Up @@ -349,6 +378,15 @@ models to generate session titles.
A processing fee of 4.6% + $0.31 is added to each credit purchase to cover payment costs; we don't charge anything beyond that.
</Callout>

### Image and voice pricing

| Model | Price | Notes |
| ---------------------- | --------------------------- | ---------------------------------------------------------------------------------- |
| GPT Image 2.5 Sunburst | $1.00 / image | Plus $8 / $30 per 1M input / output tokens, and $2 per 1M cached input tokens. |
| Nano Banana 2.1 | $1.50 / $7.50 / $30.00 per 1M tokens | Input / text output / image output. About $0.034 per 1K image, $0.050 per 2K, $0.113 per 4K. |
| Grok Imagine Image 2.0 | $0.04 / image | $0.01 per input image; quality and resolution can raise the output price to $0.05–$0.08. |
| GPT-Live 1 | $0.05 / min | Session time, as OpenAI reports each whole minute; 15 seconds minimum. |

### Free models

- GLM-5.3-Flash Free is free on OpenCode for a limited time. Its provider follows a zero-retention policy and does not use your data for model training.
Expand Down
Loading