소스 검색

perf(emoji): ask for Fast mode

GPT-6 Luna took 1.1s at the median on the live card, against 0.6s for
gpt-4o-mini. Fast mode costs twice the Standard rate, which still
leaves a click at about $0.00002.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ericwu 1 개월 전
부모
커밋
4a38d3e350
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/api/emoji/route.ts

+ 1 - 0
app/api/emoji/route.ts

@@ -33,6 +33,7 @@ export async function POST(req: NextRequest) {
     const completion = await openai.chat.completions.create({
       model: "gpt-6-luna",
       reasoning_effort: "none",
+      service_tier: "fast",
       max_completion_tokens: 8,
       messages: [
         {