tashfeenahmed/freellmapi
10.1 billion tokens per month. 87 free LLM providers. 1,313 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
9d2b4b4 ↗TypeScript★ 54,173 (+613 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 6,067
- in 515 files
- Compared
- 98.4%
- 98 tests could not be compared
- Findings
- 241
- 239 warnings
- Exact duplicates
- 2
- error severity
Top candidates
The largest findings, linked to the analyzed commit. Review them before changing any test: identical bodies can still run under different setups the analyzer does not model.
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
LLMTR provider > rejects invalid credentials (403)
server/src/__tests__/providers/llmtr.test.ts:74–77 ↗LLMTR provider > #1390: a plain 403 with an ordinary auth message still reports invalid
server/src/__tests__/providers/llmtr.test.ts:95–98 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
isRetryableError > provider tool-call generation 400s fail over (#168) > but a bare validation "400 Bad Request" (our own schema) is still NOT retryable
server/src/__tests__/routes/proxy-retry.test.ts:155–157 ↗isRetryableError > 403 model not on this key's tier fails over instead of 502 (issue #256) > still treats a bare 400 validation error as non-retryable
server/src/__tests__/routes/proxy-retry.test.ts:192–194 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
parseTaskTypeHeader > reads an explicit code/chat declaration
server/src/__tests__/lib/task-type.test.ts:12–15 ↗parseTaskTypeHeader > treats the header as case-insensitive and trims whitespace
server/src/__tests__/lib/task-type.test.ts:17–20 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
unifiedMaxTokensCap > is disabled for 'off', '0' and an empty value
server/src/__tests__/lib/unified-max-tokens.test.ts:36–41 ↗unifiedMaxTokensCap > treats garbage as disabled so a bad value can never 400 requests
server/src/__tests__/lib/unified-max-tokens.test.ts:57–62 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
readSseFrames data: prefix (issue #1087) > parses data: {json} with a space after the colon
server/src/__tests__/providers/read-sse-frames.test.ts:38–46 ↗readSseFrames data: prefix (issue #1087) > parses data:{json} with no space after the colon
server/src/__tests__/providers/read-sse-frames.test.ts:48–56 ↗
Findings by rule
- Parameterization candidate231
- Near-duplicate test6
- Duplicate test name2
- Duplicate test2
Not compared
- context could not be resolved90
- order-dependent-state8
No finding is reported for these tests, which does not mean they have no duplicates.
Appearances
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-11-18 | 6 | 9d2b4b4 | 0.10.0 | 6,067 | 98.4% | 241 | 2 |
| 2026-11-16 | 3 | bce469c | 0.10.0 | 5,979 | 98.4% | 240 | 2 |
| 2026-11-04 | 2 | d9c4e11 | 0.9.0 | 5,220 | 97.5% | 178 | 2 |
| 2026-11-01 | 7 | eae1a40 | 0.9.0 | 5,140 | 97.6% | 178 | 2 |
| 2026-10-26 | 2 | 22b7ec7 | 0.8.0 | 4,997 | 97.7% | 175 | 2 |
| 2026-10-25 | 3 | 22b7ec7 | 0.7.0 | 4,997 | 97.5% | 175 | 2 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/tashfeenahmed/freellmapi.git
cd freellmapi
git checkout 9d2b4b407b12e489ecd35320cd630d5ff97cd666
npx [email protected] .