Skip to content

Switch OpenAI models from gpt-5.4-mini to gpt-5.6-luna - #32

Merged
tdtgit merged 1 commit into
mainfrom
claude/nice-hypatia-oj1wac
Sep 21, 2026
Merged

tdtgit merged 1 commit into
mainfrom
claude/nice-hypatia-oj1wac

Conversation

@tdtgit

@tdtgit tdtgit commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Switches all four OPENAI_*_MODEL env vars (email processing, OCR, assistant chat, intent routing) from gpt-5.4-mini to gpt-5.6-luna in wrangler.jsonc and worker-configuration.d.ts
  • Updates the defaults table in README.md to match
  • Luna is priced lower per token than 5.4-mini ($0.20/$1.20 vs $0.75/$4.50 per 1M input/output) and is reported to closely match GPT-5.5 quality, so it's a better price/performance fit — all four tasks in this app (structured extraction, OCR text-read, intent routing, file_search Q&A) are lightweight and don't need a stronger tier

Test plan

  • bun install + bun test — all 38 existing tests pass (test mocks use fake model names, unaffected by this change)
  • Manual smoke test in a deployed environment recommended before merging, since actual OpenAI model behavior/quality can't be verified locally

🤖 Generated with Claude Code

https://claude.ai/code/session_01NYuLYU78xwXG4R5ZE9PdSc


Generated by Claude Code

Luna is a newer tier that costs less per token than 5.4-mini while
matching its quality more closely, and all four tasks (email parsing,
OCR, assistant chat, intent routing) are lightweight enough not to
need a stronger tier.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYuLYU78xwXG4R5ZE9PdSc
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
mine-personal-accounting e2cc0f6 Commit Preview URL

Branch Preview URL
Sep 21 2026, 07:17 AM

@tdtgit
tdtgit merged commit 78260df into main Sep 21, 2026
6 checks passed
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.

2 participants