Code Monkey home page Code Monkey logo

gpuvsapi's Introduction

GPU versus API

Description

This project aims to compare the cost of buying a GPU versus the cost of using an API for Large Language Model (LLM) inference.

At the end of the day, this is very crude but it's a start and was immensely helpful for me to understand the cost of using an API for LLM inference for me.

If you like it, AWESOME... if not, sorry... I will try harder next time. :D

Demo

You can try it here

Screenshots

Screenshot 1

Screenshot 1

Screenshot 2

Screenshot 2

Screenshot 3

Screenshot 3

Screenshot 4

Screenshot 4

Installation

  1. Install http-server locally by running:

    npm install http-server
    npm install -g http-server

Usage

  1. Run the following command to start the HTTP server:

    ./run.sh
  2. Open the web page in your default browser by visiting:

    http://localhost:8080

Notes

  • Make sure to have Node.js installed on your machine before running the script.
  • Report / PDF download not working yet... my bad.

gpuvsapi's People

Contributors

michaelmartinez avatar

Stargazers

Krystof Olik avatar  avatar Reachsak Ly avatar Gil Klein avatar Julian Passebecq avatar

Watchers

 avatar

gpuvsapi's Issues

No online demo?

if this is purely a client-side thing, it'd be neat if you used github pages and let us actually use it without having to set it up.

cheers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.