From 4d23a9903a5a46872e64db895b03a069d4d615e4 Mon Sep 17 00:00:00 2001
From: simonpcouch Cost
The model returns approximately the same number of output tokens as it
receives, so we'll call that 100 output tokens per refactor.
As of the time of writing (October 2024), the default pal model Claude -Sonnet 3.5 costs \$3 per million input tokens and $15 per million output +Sonnet 3.5 costs $3 per million input tokens and $15 per million output tokens. So, using the default model, -cli pals cost around \$15 for every 1,000 refactored pieces of code. GPT-4o +cli pals cost around $15 for every 1,000 refactored pieces of code. GPT-4o Mini, by contrast, doesn't tend to get cli markup classes right but does return syntactically valid calls to cli functions, and it would cost around 75 cents per 1,000 refactored pieces of code.
diff --git a/reference/pal_roxygen.html b/reference/pal_roxygen.html index 6182af1..e0b039d 100644 --- a/reference/pal_roxygen.html +++ b/reference/pal_roxygen.html @@ -66,9 +66,9 @@As of the time of writing (October 2024), the default pal model Claude
-Sonnet 3.5 costs \$3 per million input tokens and $15 per million output
+Sonnet 3.5 costs $3 per million input tokens and $15 per million output
tokens. So, using the default model,
-roxygen pals cost around \$4 for every 1,000 generated roxygen documentation
+roxygen pals cost around $4 for every 1,000 generated roxygen documentation
entries. GPT-4o Mini, by contrast, doesn't tend to infer argument types
correctly as often and
often fails to line-break properly, but does usually return syntactically
diff --git a/reference/pal_testthat.html b/reference/pal_testthat.html
index e896889..16bfcc8 100644
--- a/reference/pal_testthat.html
+++ b/reference/pal_testthat.html
@@ -78,9 +78,9 @@ Cost
The model returns approximately the same number of output tokens as it
receives, so we'll call that 100 output tokens per refactor.
As of the time of writing (October 2024), the default pal model Claude -Sonnet 3.5 costs \$3 per million input tokens and $15 per million output +Sonnet 3.5 costs $3 per million input tokens and $15 per million output tokens. So, using the default model, -testthat pals cost around \$4 for every 1,000 refactored pieces of code. GPT-4o +testthat pals cost around $4 for every 1,000 refactored pieces of code. GPT-4o Mini, by contrast, doesn't tend to get many pieces of formatting right and often fails to line-break properly, but does usually return syntactically valid calls to testthat functions, and it would cost around diff --git a/reference/prompt.html b/reference/prompt.html index c4ba51d..d7308df 100644 --- a/reference/prompt.html +++ b/reference/prompt.html @@ -134,13 +134,24 @@