-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (78 loc) · 4.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LLM Pricing</title>
<link rel="icon" href="https://raw.githubusercontent.com/gramener/assets/main/straive-favicon.svg">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<style>
:root {
--navbar-height: 3.5rem;
}
body {
padding-top: var(--navbar-height);
}
#llm-cost>svg {
width: 100%;
height: auto;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary fixed-top" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href=".">LLM Pricing</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="nav-item dropdown ms-auto" role="group" aria-label="Toggle dark mode" title="Toggle Dark Mode">
<button class="dark-theme-toggle btn btn-outline-light dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Toggle theme (auto)">
<i class="bi bi-circle-half"></i> <span class="d-lg-none ms-2">Toggle theme</span>
</button>
<ul class="dropdown-menu dropdown-menu-end">
<li><button class="dropdown-item" data-bs-theme-value="light"><i class="me-2 bi bi-sun-fill"></i> Light</button></li>
<li><button class="dropdown-item" data-bs-theme-value="dark"><i class="me-2 bi bi-moon-stars-fill"></i> Dark</button></li>
<li><button class="dropdown-item" data-bs-theme-value="auto"><i class="me-2 bi bi-circle-half"></i> Auto</button></li>
</ul>
</div>
</div>
</div>
</nav>
<div class="container">
<h1 class="display-1 my-4 text-center">LLM Pricing</h1>
<h2 class="display-6 text-center">Which LLMs are the best value for money?</h2>
<div id="README" class="my-5 mx-auto" style="max-width: 30rem"></div>
<div class="row align-items-center mt-4">
<div class="col-lg-4 col-xl-3 d-flex">
<div class="dropdown mb-3">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="quality" data-bs-toggle="dropdown" aria-expanded="false">
Overall
</button>
<ul class="dropdown-menu">
<li><a href="?quality=overall" class="dropdown-item">Overall</a></li>
<li><a href="?quality=coding" class="dropdown-item">Coding</a></li>
<li><a href="?quality=hard" class="dropdown-item">Hard</a></li>
</ul>
</div>
<input id="model" class="form-control mb-3 ms-2" placeholder="Filter models">
</div>
<div class="col-lg-8 col-xl-9 d-flex">
<label class="form-label text-nowrap me-3" id="date-label" for="date">Month</label>
<input type="range" id="date" class="form-range mb-3 me-3 flex-grow-1" min="0" max="100" step="1" value="100">
<div class="text-end text-nowrap mb-3">🟢 Best models 🔴 Worst models</div>
</div>
</div>
<div id="llm-cost" class="img-fluid"></div>
</div>
<footer class="my-5 vh-100 d-flex align-items-center justify-content-center">
<h1 class="display-4">Designed by <a href="https://gramener.com/" class="text-reset link-offset-3 link-underline link-underline-opacity-25">Gramener</a></h1>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" type="module"></script>
<script src="https://cdn.jsdelivr.net/npm/@gramex/[email protected]/dist/dark-theme.js" type="module"></script>
<script src="script.js" type="module"></script>
</body>
</html>