{"id":21441040,"url":"https://github.com/teloryfrozy/llm-benchmark","last_synced_at":"2026-04-29T06:38:38.625Z","repository":{"id":263596261,"uuid":"890842640","full_name":"teloryfrozy/llm-benchmark","owner":"teloryfrozy","description":"🐍 Script to compare llm performances with statistics","archived":false,"fork":false,"pushed_at":"2024-11-20T17:16:25.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T19:02:59.094Z","etag":null,"topics":["anthropic","gemini","llm-wrapper","mistral","openai","test-script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teloryfrozy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-19T09:25:13.000Z","updated_at":"2024-11-20T17:16:28.000Z","dependencies_parsed_at":"2024-11-19T12:45:39.360Z","dependency_job_id":"4a7f1b11-25be-44e0-8174-2f5bf704a4f4","html_url":"https://github.com/teloryfrozy/llm-benchmark","commit_stats":null,"previous_names":["teloryfrozy/llm-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teloryfrozy/llm-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teloryfrozy%2Fllm-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teloryfrozy%2Fllm-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teloryfrozy%2Fllm-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teloryfrozy%2Fllm-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teloryfrozy","download_url":"https://codeload.github.com/teloryfrozy/llm-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teloryfrozy%2Fllm-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32414422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anthropic","gemini","llm-wrapper","mistral","openai","test-script"],"created_at":"2024-11-23T01:20:09.918Z","updated_at":"2026-04-29T06:38:38.610Z","avatar_url":"https://github.com/teloryfrozy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM Benchmark\n\n# Get started\n\n```bash\ngit clone -b main https://github.com/teloryfrozy/llm-benchmark\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\n## Create a .env file in the root directory and add the api keys you want to use\n\n```bash\nMISTRAL_API_KEY=\"Your Mistral API Key\"\nOPENAI_API_KEY=\"Your OpenAI API Key\"\nANTHROPIC_API_KEY=\"Your Anthropic API Key\"\nGEMINI_API_KEY=\"Your Gemini API Key\"\n```\n\n# Start the benchmark\n\n## Define the llm models and roles to compare in the main.py file\n```python\nLLM_MODELS = {\n    \"openai\": [\"gpt-4o-mini\"],\n    \"anthropic\": [\"claude-3-5-haiku-latest\"],\n    \"gemini\": [\"gemini-1.5-flash\"],\n    \"mistral\": [\"mistral-small-latest\"],\n}\nROLES = [\"user\", \"assistant\", \"system\"]\n```\n\n## Define your prompt in utils/constants.py\n```python\nPROMPT = \"How to advertise a SaaS with a budget of $1000 in 3 key sentences?\"\n```\n\n# Run the benchmark\n```bash\npython3 main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteloryfrozy%2Fllm-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteloryfrozy%2Fllm-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteloryfrozy%2Fllm-benchmark/lists"}