https://github.com/tsjdev-apps/openai-models-comparison-csharp
Simple .NET console application to compare all the available OpenAI Large Language Models.
https://github.com/tsjdev-apps/openai-models-comparison-csharp
Last synced: 5 months ago
JSON representation
Simple .NET console application to compare all the available OpenAI Large Language Models.
- Host: GitHub
- URL: https://github.com/tsjdev-apps/openai-models-comparison-csharp
- Owner: tsjdev-apps
- License: mit
- Created: 2024-05-14T19:16:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T09:44:19.000Z (about 2 years ago)
- Last Synced: 2024-05-16T16:43:56.129Z (about 2 years ago)
- Language: C#
- Size: 964 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Comparison of current OpenAI Models in C#

This repository contains a simple console application written in .NET 8 to compare all currently available [OpenAI](https://openai.com) Large Language Models.
## Usage
You need to create an OpenAI account on this [website](https://platform.openai.com/docs/overview). You have to pay to use the API so make sure that you add your payment information. After that, you can create an API Key [here](https://platform.openai.com/api-keys) for further use.
Just run the app and follow the steps displayed on the screen.
## Screenshots
Here you can see the console application in action:
First you need to insert the OpenAI key and you select the models you want to compare.

Now you are able to chat with all selected model. At the end you will get a table with the amount of used tokens and the duration.

Here are other samples.


## Blog Post
If you are more interested into details, please see the following posts on [medium.com](https://www.medium.com) or in my [personal blog](https://www.tsjdev-apps.de):
- [Let's compare the OpenAI models in C#](https://medium.com/medialesson/lets-compare-the-openai-models-in-c-916e33e1d539)
- [Einrichtung von OpenAI](https://www.tsjdev-apps.de/einrichtung-von-openai/)