diff options
| author | Frank <[email protected]> | 2025-09-09 02:44:36 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-09-09 02:44:36 -0400 |
| commit | 34a33dfc164f91d27517f75e71fbc3742eff25e8 (patch) | |
| tree | 8e6e9a4657632c563b54a8a845982c780e75c8df /cloud | |
| parent | 162a789fa2ef9f8c9a5b640abf3fa463c8674f97 (diff) | |
| download | opencode-34a33dfc164f91d27517f75e71fbc3742eff25e8.tar.gz opencode-34a33dfc164f91d27517f75e71fbc3742eff25e8.zip | |
wip: zen
Diffstat (limited to 'cloud')
| -rw-r--r-- | cloud/app/src/routes/zen/v1/chat/completions.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cloud/app/src/routes/zen/v1/chat/completions.ts b/cloud/app/src/routes/zen/v1/chat/completions.ts index 9765ea08f..ce9f080c5 100644 --- a/cloud/app/src/routes/zen/v1/chat/completions.ts +++ b/cloud/app/src/routes/zen/v1/chat/completions.ts @@ -36,6 +36,21 @@ const MODELS = { }, headerMappings: {}, }, + "moonshotai/kimi-k2": { + id: "moonshotai/kimi-k2" as const, + auth: true, + api: "https://inference.baseten.co", + apiKey: Resource.BASETEN_API_KEY.value, + model: "moonshotai/Kimi-K2-Instruct-0905", + cost: { + input: 0.0000006, + output: 0.0000025, + reasoning: 0, + cacheRead: 0, + cacheWrite: 0, + }, + headerMappings: {}, + }, "grok-code": { id: "x-ai/grok-code-fast-1" as const, auth: false, |
