{"id":28902311,"url":"https://github.com/tensorchord/deepseek-api-arena","last_synced_at":"2026-03-01T18:02:51.386Z","repository":{"id":278502458,"uuid":"935438893","full_name":"tensorchord/deepseek-api-arena","owner":"tensorchord","description":"A benchmarking tool for comparing different LLM API providers' DeepSeek model deployments.","archived":false,"fork":false,"pushed_at":"2025-03-28T09:04:04.000Z","size":72,"stargazers_count":28,"open_issues_count":4,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-21T11:08:18.976Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://deepseek.ai-infra.fun/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorchord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-19T12:55:20.000Z","updated_at":"2025-06-19T19:36:45.000Z","dependencies_parsed_at":"2025-03-10T10:21:56.840Z","dependency_job_id":"bda7652b-ee9f-46cc-8cf9-959e02a3435b","html_url":"https://github.com/tensorchord/deepseek-api-arena","commit_stats":null,"previous_names":["gaocegege/deepseek-api-arena","tensorchord/deepseek-api-arena"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tensorchord/deepseek-api-arena","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fdeepseek-api-arena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fdeepseek-api-arena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fdeepseek-api-arena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fdeepseek-api-arena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorchord","download_url":"https://codeload.github.com/tensorchord/deepseek-api-arena/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fdeepseek-api-arena/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29977966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2025-06-21T11:08:21.108Z","updated_at":"2026-03-01T18:02:51.382Z","avatar_url":"https://github.com/tensorchord.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepSeek API Arena\n\n🔗 [Live Demo](https://deepseek.ai-infra.fun)\n\nA benchmarking tool for comparing different LLM API providers' DeepSeek model deployments. Currently supports:\n\n| Provider | Input Price (¥/1M) | Output Price (¥/1M) | Notes |\n|----------|-------------------|-------------------|-------|\n| DeepSeek | ¥4.00 | ¥16.00 | Cache: ¥1.00/1M tokens |\n| SiliconFlow | ¥4.00 | ¥16.00 | - |\n| Ark (火山方舟) | ¥2.00 | ¥8.00 | - |\n| Bailian (阿里百炼) | ¥2.00 | ¥8.00 | - |\n| LKE (腾讯) | ¥4.00 | ¥16.00 | - |\n\n## Features\n\n- Measures Time To First Token (TTFT) and Token Between Time (TBT)\n- Supports multiple runs for statistical significance\n- Configurable providers via environment variables\n- Detailed logging for debugging\n- Stream-based API calls for real-time token processing\n\n## Installation\n\n1. Clone the repository\n2. Install dependencies:\n```bash\npip install requests python-dotenv\n```\n\n## Configuration\n\nCreate a `.env` file in the project root with your API keys:\n\n```env\nDEEPSEEK_API_KEY=your_deepseek_key\nSILICONFLOW_API_KEY=your_siliconflow_key\nARK_API_KEY=your_ark_key\nARK_MODEL_NAME=your_ark_model_name\nBAILIAN_API_KEY=your_bailian_key\nLKE_API_KEY=your_lke_key\n\n# Optional: Set logging level (DEBUG, INFO, WARNING, ERROR)\nLOG_LEVEL=INFO\n\n# Optional: Configure proxy if needed\nHTTP_PROXY=http://your-proxy:port\nHTTPS_PROXY=http://your-proxy:port\n```\n\n## Usage\n\nBasic usage:\n```bash\npython bench.py\n```\n\nRun with specific number of iterations:\n```bash\npython bench.py --num-runs 5\n```\n\nBenchmark specific providers:\n```bash\npython bench.py --providers deepseek siliconflow\npython bench.py --providers ark\n```\n\nCombined options:\n```bash\npython bench.py --providers deepseek --num-runs 3\n```\n\n## Output\n\nResults are saved to `results_YYYY-MM-DD.txt` with the following format:\n```\nProvider            Avg TTFT (s)    Avg TBT (s)   \n--------------------------------------------------\nDeepSeek           0.8532          0.0234\n```\n\n- TTFT: Time To First Token (lower is better)\n- TBT: Token Between Time (lower is better)\n\n## Debugging\n\nSet `LOG_LEVEL=DEBUG` in your `.env` file for detailed logging output.\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fdeepseek-api-arena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorchord%2Fdeepseek-api-arena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fdeepseek-api-arena/lists"}