7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
import type { SearchPlatform } from '@freellmapi/shared/types.js';
// Runtime copy of shared/types.ts SEARCH_PLATFORMS. The server only ever
// imports types from @freellmapi/shared (it is not compiled into dist), so the
// list lives here too; a test pins the two together.
export const SEARCH_PLATFORMS: readonly SearchPlatform[] = ['tavily', 'exa', 'firecrawl', 'linkup', 'parallel', 'serpsearch', 'keenable', 'brave'];
const SEARCH_PLATFORM_SET = new Set<string>(SEARCH_PLATFORMS);
/** True for platforms whose keys serve web search only, never chat. */
export function isSearchPlatform(platform: string): platform is SearchPlatform {
return SEARCH_PLATFORM_SET.has(platform);
}