autokap 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,9 +73,9 @@ export async function callLLM(config, systemPrompt, userContent, image) {
73
73
  * Actual cost is resolved asynchronously via OpenRouter generation API.
74
74
  */
75
75
  function estimateCost(model, promptTokens, completionTokens) {
76
- // Gemini 2.5 Flash pricing (approximate)
76
+ // Gemini 2.5 Flash pricing (approximate, 2026 rates: $0.30/1M input, $2.50/1M output)
77
77
  if (model.includes('gemini')) {
78
- return (promptTokens * 0.15 + completionTokens * 0.6) / 1_000_000;
78
+ return (promptTokens * 0.30 + completionTokens * 2.5) / 1_000_000;
79
79
  }
80
80
  // Fallback: conservative estimate
81
81
  return (promptTokens * 0.5 + completionTokens * 1.5) / 1_000_000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autokap",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "AI-powered CLI tool for capturing clean screenshots of websites",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",