Commit Graph

3 Commits (d16a2afde2535cd2b032b6938157ce10d1df2204)

Author SHA1 Message Date
fengruixiang d16a2afde2 update models.json 2026-05-28 15:45:32 +08:00
fengruixiang ff81d2af09 reconfigure models.json with real openrouter pricing
- replace example profiles with actual configs: minimax-m2.7, claude-sonnet-4.5, gemini-3-flash-preview, deepseek-v4-pro, deepseek-v4-flash
- prices fetched from OpenRouter API and converted to per-million-token
- add local qwen3-8b and qwen2.5-7b profiles (price 0)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 12:10:14 +08:00
fengruixiang ae1005aab7 add model config profiles and cost tracking
- models.json: named profiles with base url/key/model and per-million token pricing
- support --config <Name> to load a profile, replacing --model/--base-url/--api-key
- accumulate input/output token usage across all API calls in the client
- compute time + token cost per case, written to {out}_cost.json behind opt-in --cost flag

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 12:00:48 +08:00