Skip to content
Open
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions src/catalog-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,27 @@ export const OPENCODE_GO_CATALOG: readonly CatalogModelSpec[] = [
{ type: "effort", values: ["low", "medium", "high", "xhigh", "max"] },
],
},
{
context_window: 1_048_576,
cost: {
cache_read: 0,
input: 0,
output: 0,
},
id: "crouton-alpha-free",
input_modalities: ["text", "image"],
is_free: true,
max_output_tokens: 270_000,
name: "Crouton Alpha Free",
provider_npm: "@ai-sdk/openai",
reasoning: true,
reasoning_options: [
{
type: "effort",
values: ["minimal", "low", "medium", "high", "xhigh", "max"],
},
],
},
{
context_window: 1_000_000,
cost: {
Expand Down Expand Up @@ -895,6 +916,7 @@ export const OPENCODE_ZEN_CATALOG: readonly CatalogModelSpec[] = [
is_free: true,
max_output_tokens: 270_000,
name: "Crouton Alpha Free",
provider_npm: "@ai-sdk/openai",
reasoning: true,
reasoning_options: [
{
Expand Down
7 changes: 6 additions & 1 deletion src/go-limits-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* OpenCode's own Go documentation; `pnpm run limits:shim` reports staleness and
* `--write` rewrites this file.
*
* 28 models.
* 29 models.
*/

import type { ModelAllowance } from "./go-limits.ts";
Expand Down Expand Up @@ -67,6 +67,11 @@ export const GO_MODEL_LIMITS: Readonly<Record<string, ModelAllowance>> = {
goPlus: 240,
name: "Hy3",
},
hy4: {
go: 60,
goPlus: 240,
name: "Hy4",
},
"hy4-preview": {
go: 30,
goPlus: 120,
Expand Down