Skip to content

Commit

Permalink
Prices for Amazon Nova models
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Dec 4, 2024
1 parent cb91c2b commit 7dcb4c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion llm-prices.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ <h2>Presets</h2>
</div>

<script>
// Prices are $ per 1M tokens
const presets = {
'gemini-1.5-flash': { name: 'Gemini 1.5 Flash ≤128k', input: 0.075, output: 0.30 },
'gemini-1.5-flash-128k': { name: 'Gemini 1.5 Flash >128k', input: 0.15, output: 0.60 },
Expand All @@ -154,7 +155,10 @@ <h2>Presets</h2>
'gpt-4o': { name: 'GPT-4o', input: 2.50, output: 10.00 },
'gpt-4o-mini': { name: 'GPT-4o Mini', input: 0.150, output: 0.600 },
'o1-preview': { name: 'o1-preview', input: 15.00, output: 60.00 },
'o1-mini': { name: 'o1-mini', input: 3.00, output: 12.00 }
'o1-mini': { name: 'o1-mini', input: 3.00, output: 12.00 },
'amazon-nova-micro': { name: 'Amazon Nova Micro', input: 0.035, output: 0.14 },
'amazon-nova-lite': { name: 'Amazon Nova Lite', input: 0.06, output: 0.24 },
'amazon-nova-pro': { name: 'Amazon Nova Pro', input: 0.8, output: 3.2 },
};

function calculateCost() {
Expand Down

0 comments on commit 7dcb4c7

Please sign in to comment.