Skip to content

feat(ai): switch chat model to gpt-6-luna - #320

Merged
fworks-tech merged 2 commits into
mainfrom
feat/319-jev-1-13
Sep 27, 2026
Merged

fworks-tech merged 2 commits into
mainfrom
feat/319-jev-1-13

Conversation

@fworks-tech

@fworks-tech fworks-tech commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

What

Switches the chat assistant MODEL_ID from glm-5.3-flash to gpt-6-luna in src/app/api/chat/route.ts.

Why

gpt-6-luna is the cheapest chat-capable model on OpenCode Zen ($0.10/M input, $0.50/M output vs glm-5.3-flash at $0.15/$0.50). Requested in #319.

How to test

  1. npm run lint
  2. npm run typecheck
  3. npm test -- src/app/api/chat/tests/route.test.ts src/lib/abuse/tests/cost.test.ts

Fixes #319

Switch chat MODEL_ID from glm-5.3-flash to jev-1.13.

Closes #319
Replace glm-5.3-flash with gpt-6-luna (cheapest chat model on OpenCode
Zen at /usr/bin/bash.10/$0.50 per 1M tokens). Update cost constant and tests.

Closes #319
@fworks-tech fworks-tech changed the title feat(ai): use jev-1.13 model for assistant feat(ai): switch chat model to gpt-6-luna Sep 27, 2026
@fworks-tech
fworks-tech merged commit 76b40f7 into main Sep 27, 2026
5 checks passed
@fworks-tech
fworks-tech deleted the feat/319-jev-1-13 branch September 27, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ai): use jev-1.13 model for AI assistant

1 participant