PyLLMs: – Connect and compare top AI models in Python
PyLLMs: – Connect and compare top AI models in Python
Hi HN, We needed a simple way to connect to the top AI models to experiment, prototype and evaluate them. Main features: - Connect to top LLMs in few lines of code (currenly OpenAI, Anthropic and AI21 are supported) - Response meta includes tokens processed, cost and latency standardized across the models - Multi-model support: Get completitions from different models at the same time - LLM benchmark: Eevaluate models on quality, speed and cost The benchmark uses predefine questions to test AI reasoning abilities across a range of "hard" queries. The outputs are then automatically evaulauted using a powerful model (gpt-4 recommended): https://github.com/kagisearch/pyllms/blob/990855968b4bc26ab6... This helped uncover a hidden gem among models: 'claude-instant-v1' which is 4x faster, 2x cheaper and similar quality to 'crowd favorite' gpt-3.5-turbo.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Compare AI models before you adopt AI
Compare AI models side-by-side on same prompt
Replicover – Find the hottest AI models on Replicate
AI Models PAI
Tinx.ai – Prebuilt AI Models for You
Polibench – compare political bias across AI models
Compare, test, and optimize AI models
All AI Models in One API
ModelAtlas – Find AI models that HuggingFace search can't
Aisir – AI models deliberate and critique each other like a council