Add pr-reviewer module: Gitea webhooks, Spring AI structured output, quote-checked inline comments, de-duplication across pushes and live tests against Gitea 1.27.3 on Spring AI 2.1.0
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
COMPUTED ESTIMATE: tokens counted with JTokkit cl100k_base on the real prompts, no paid model called.
|
||||
Assumed output: 300 tokens per call. Prices per million tokens as read on 2026-12-03.
|
||||
|
||||
fixed overhead of every call (instructions + JSON schema, empty diff): 611 input tokens
|
||||
pull request calls input tokens of it overhead
|
||||
sample (1 file, 22 added lines) 1 866 71%
|
||||
real commit (20 files, 1004 added lines) 23 30450 46%
|
||||
same PR, push that edits one line 1 1284 48%
|
||||
|
||||
model sample PR 20-file PR one-line re-push 1000 x 20-file PR
|
||||
Claude Haiku 5.5 (<=100k prompt) $0.0002 $0.0065 $0.0003 $6.50
|
||||
gpt-5-mini $0.0008 $0.0214 $0.0009 $21.41
|
||||
gpt-5.4-mini $0.0020 $0.0539 $0.0023 $53.89
|
||||
Claude Sonnet 5.5 $0.0047 $0.1299 $0.0056 $129.90
|
||||
Claude Opus 5.5 $0.0095 $0.2598 $0.0111 $259.80
|
||||
Reference in New Issue
Block a user