This commit is contained in:
Paul Gauthier 2024-12-13 13:34:18 -08:00
parent 8c10cb6230
commit 9f6331a35e
2 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,3 @@
{"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "claude-3-5-sonnet-20241022", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "ask", "prompt_tokens": 2406, "completion_tokens": 389, "total_tokens": 2795, "cost": 0.013053, "total_cost": 0.013053}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733783537}
{"event": "command_ask", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733783565}
{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733783565}
{"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "claude-3-5-sonnet-20241022", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "ask", "prompt_tokens": 2831, "completion_tokens": 1036, "total_tokens": 3867, "cost": 0.024033, "total_cost": 0.037086}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733783588}
{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733783603}
@ -998,3 +996,5 @@
{"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/REDACTED", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "ask", "prompt_tokens": 7130, "completion_tokens": 235, "total_tokens": 7365, "cost": 0.024915, "total_cost": 0.243099}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734122920}
{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734122935}
{"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/REDACTED", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff", "prompt_tokens": 9305, "completion_tokens": 137, "total_tokens": 9442, "cost": 0.029970000000000004, "total_cost": 0.273069}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734122940}
{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734124965}
{"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/REDACTED", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff", "prompt_tokens": 8786, "completion_tokens": 288, "total_tokens": 9074, "cost": 0.030678, "total_cost": 0.303747}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734124974}

View file

@ -218,7 +218,7 @@ Below is a table showing the models I have used recently,
extracted from the
[public log](https://github.com/aider-ai/aider/blob/main/aider/website/assets/sample-analytics.jsonl)
of my
[aider analytics](http://127.0.0.1:4000/docs/more/analytics.html).
[aider analytics](http://aider.chat/docs/more/analytics.html).
<!--[[[cog
import sys
@ -237,13 +237,17 @@ tr:hover { background-color: #f5f5f5; }
</style>
<table>
<tr><th>Model Name</th><th class='right'>Total Tokens</th><th class='right'>Percent</th></tr>
<tr><td>claude-3-5-sonnet-20241022</td><td class='right'>1,687,074</td><td class='right'>89.4%</td></tr>
<tr><td>claude-3-5-sonnet-20241022</td><td class='right'>1,693,353</td><td class='right'>89.5%</td></tr>
<tr><td>gemini/REDACTED</td><td class='right'>82,572</td><td class='right'>4.4%</td></tr>
<tr><td>o1-preview</td><td class='right'>79,317</td><td class='right'>4.2%</td></tr>
<tr><td>deepseek/deepseek-coder</td><td class='right'>24,628</td><td class='right'>1.3%</td></tr>
<tr><td>gpt-4o</td><td class='right'>9,243</td><td class='right'>0.5%</td></tr>
<tr><td>gpt-4o-mini</td><td class='right'>3,420</td><td class='right'>0.2%</td></tr>
</table>
{: .note :}
Some models show as REDACTED, because they are new or unpopular models.
Aider's analytics only records the names of "well known" LLMs.
<!--[[[end]]]-->
## How are the "aider wrote xx% of code" stats computed?