docs: fix styles and zen doc, closes #2912

This commit is contained in:
Jay V
2025-10-06 17:00:10 -04:00
parent b351b75156
commit 1db028dc05
3 changed files with 31 additions and 21 deletions

View File

@@ -73,6 +73,10 @@ You can also access our models through the following API endpoints.
| 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` |
The [model id](/docs/config/#models) in your OpenCode config
uses the format `opencode/<model-id>`. For example, for GPT 5 Codex, you would
use `opencode/gpt-5-codex` in your config.
---
## Pricing
@@ -94,6 +98,8 @@ We support a pay-as-you-go model. Below are the prices **per 1M tokens**.
| GPT 5 | $1.25 | $10.00 | $0.125 | - |
| GPT 5 Codex | $1.25 | $10.00 | $0.125 | - |
You might notice _Claude Haiku 3.5_ in your usage history. This is a [low cost model](/docs/config/#models) that's used to generate the titles of your sessions.
:::note
Credit card fees are passed along at cost; we don't charge anything beyond that.
:::