DEV Community

Cover image for Top Free LLM tools, APIs, and Open Source models
Eden AI
Eden AI

Posted on • Originally published at edenai.co

Top Free LLM tools, APIs, and Open Source models

What is Large Language Model (LLM) API?

Large language models (LLMs) are sophisticated AI models that process, analyze and create natural language. They differ fundamentally from typical NLP techniques, which often require manually created rules to analyze and interpret text.

In contrast, LLMs are designed to learn and recognize language patterns by analyzing large volumes of text data. Neural networks are employed to comprehend the way in which words are combined and construct an inner depiction of language that can be utilized for multiple tasks related to language.

Top Open Source (Free) LLM models on the market

For users seeking a cost-effective engine, opting for an open-source model is the recommended choice. Here is the list of best LLM Open Source Models:

1‍. GPT-NeoX-20B
With 20 billion parameters, GPT-NeoX-20B, developed by EleutherAI, is one of the most distinguished open-source large language models. It's trained on the Pile dataset, an 886-gigabyte open-source language modeling dataset separated into 22 smaller datasets. The Pile dataset has a variety of text sources like books, Wikipedia, GitHub, and Reddit.

2. GPT-J
GPT-J is an advanced language model designed by EleutherAI, featuring 6 billion parameters compared to GPT-3's 175 billion. Its architecture follows that of GPT-2's, with the only main distinction being the incorporation of parallel decoders.

3. LLaMA 2
LLaMA 2, which stands for Large Language Model Meta AI, is a top-tier AI language model created by Microsoft and Meta AI. It can understand both text and images, making it appropriate for various tasks. The model comes in three sizes, where each has been trained using 7, 13, and 70 billion parameters.

4. BLOOM
BLOOM is a huge, free, multilingual language system developed by BigScience to encourage scientific teamwork and innovation. Its creators are a worldwide, varied team, and BLOOM is based on the GPT-3.5 system. With 176 billion parameters, it's one of the biggest models ever and is larger than many existing versions.

5. CodeGen
CodeGen is a fantastic new invention developed by researchers at Salesforce AI Research. It expands on the GPT-3.5 architecture and provides a range of different sizes to choose from, including 350 million, 2 billion, 6 billion, and an impressive 16 billion parameters.

6. T5
T5 is a useful pre-trained language model created by researchers at Google AI. It's based on the Transformer architecture and is made to manage multiple natural language processing tasks using a unified "text-to-text" structure. T5 has 11 different sizes, ranging from small to extra-large, with the biggest containing 11 billion parameters.

7. Vicuna-33B
Vicuna-33B was created by LMSys, a respected AI research group. Its model comprises 33 billion parameters, and scientists honed Vicuna-33B by adapting LLaMA utilizing conversations shared by users on ShareGPT.com. Vicuna-33B is composed of a unique hybrid framework that combines transformer-based and biological neural network components.

8. MPT-30B
MPT-30B is an innovative open source language model developed by MosaicML, a leader in AI research. With 30 billion parameters, it builds on the foundation of the GPT architecture and refines it for improved performance. Its unique training approach involves a 'mosaic' of data, including 1 trillion tokens of English text and code, combining supervised, unsupervised and reinforcement learning.

9. Stable Beluga 2
Stable Beluga 2 is an auto-regressive Language Model derived from the LLamA-2 model created by Meta AI. Developed by Stability AI, Stable Beluga 2 is capable of efficiently handling intricate language tasks with increased accuracy and enhanced comprehension.

Cons of Using Open Source AI models

‍While open source models offer many advantages, they also come with some potential drawbacks and challenges. Here are some cons of using open source models:

- Not Entirely Cost Free: Open-source models, while providing valuable resources to users, may not always be entirely free of cost. Users often need to bear expenses related to hosting and server usage, especially when dealing with large or resource-intensive data sets.
- Lack of Support: Open source models may not have official support channels or dedicated customer support teams. If you encounter issues or need assistance, you might have to rely on community forums or the goodwill of volunteers, which can be less reliable than commercial support.
- Limited Documentation: Some open source models may have incomplete or poorly maintained documentation. This can make it difficult for developers to understand how to use the model effectively, leading to frustration and wasted time.
- Security Concerns: Security vulnerabilities can exist in open source models, and it may take longer for these issues to be addressed compared to commercially supported models. Users of open source models may need to monitor for security updates and patches actively.
- Scalability and Performance: Open source models may not be as optimized for performance and scalability as commercial models. If your application requires high performance or needs to handle a large number of requests, you may need to invest more time in optimization.

Why choose Eden AI?

Given the potential costs and challenges related to open-source models, one cost-effective solution is to use APIs. Eden AI smoothens the incorporation and implementation of AI technologies with its API, connecting to multiple AI engines.

Eden AI presents a broad range of AI APIs on its platform, customized to suit your specific needs and financial limitations. These technologies include data parsing, language identification, sentiment analysis, logo recognition, question answering, data anonymization, speech recognition, and numerous other capabilities.

To get started, we offer free $10 credits for you to explore our APIs.

Image description

Try Eden AI for FREE

Access LLM providers with one API

Our standardized API enables you to integrate LLM APIs into your system with ease by utilizing various providers on Eden AI. Here is the list (in alphabetical order):

  • AI21Labs: Jurassic-2
  • Anthropic: Claude 2
  • Cohere
  • Google Bard: LaMDA
  • Google Generative: PalM
  • Meta: Llama2
  • OpenAI: GPT ‍

1. AI21Labs: Jurassic-2- Available on Eden AI

Image description

Jurassic-2 (J2) is the next generation of fundamental models, with significant quality enhancements and additional abilities such as zero-shot instruction-following, reduced latency, and multi-language compatibility. J2 furnishes an even more advanced foundational model, placing it amongst the leading large language models in the marketplace.

J2 supports several other non-English languages, comprising Spanish, French, German, Portuguese, Italian, and Dutch. J2's models can execute up to 30% more quickly than former models in terms of latency.

2. Anthropic: Claude 2- Available on Eden AI

Image description

Claude 2 is an advanced AI assistant developed by Anthropic, designed to be helpful, honest, and non-harmful. It performs similarly to ChatGPT, scoring 76.5% on the Bar exam's multiple-choice section and ranking in the 90th percentile for reading and writing on the GRE.

Compared to its predecessor, Claude, its Python coding skills have improved, scoring 71.2% on a coding test versus Claude's 56%.

3. Cohere- Available on Eden AI

Image description

Cohere is a player in the vast realm of language models. This pioneering solution empowers developers and organizations to create exceptional products utilizing top-notch natural language processing (NLP) technology whilst safeguarding their data's privacy and security.

Cohere allows companies of any magnitude to explore, innovate, and discover information in groundbreaking methods. As the models are pre-trained on billions of words, the API is easy to use and configure. This suggests that even small businesses can now take advantage of this state-of-the-art technology without exceeding their budget.

4. Google Bard: LaMDA- Available on Eden AI

Image description

Bard is a Google AI chatbot that produces text and visuals resembling human communication via the Large Language Model (LLM) and LaMDA (Language Model for Dialogue Applications). Unlike Google Search, Bard is conversational, whereby users can pose a question and receive a tailored response in everyday language.

Bard is a prime example of how LLMs can be deployed to create excellent conversational AI experiences. The system has the ability to produce text and graphics tailored to the specific user input in a natural and captivating way.

5. Google Generative: PalM- Available on Eden AI

Image description

PaLM is one of Google's in-house Large Language Models, short for Pathways Language Model. It has proven to excel in multiple tasks such as generating codes, understanding various languages, logical reasoning skills, amongst others. PaLM powers Bard which integrates with Google Services, inclusive of Gmail, Google Docs, and Google Sheets. This integration enables Bard to deliver data directly to these services with ease.

6. Meta: Llama2- Available on Eden AI

Image description

Llama, which stands for Language Learning and Multimodal Analytics, is an innovative concept that warrants mention in the discussion of LLMs. The Meta AI team specifically developed Llama to tackle the challenge of language modeling with limited computational capacity.

Pretrained Llama 2 models are trained with 2 trillion tokens. Its fine-tuned models were trained using more than a million annotations by humans. On various external metrics, such as coding, knowledge, competency and reasoning assessments, Llama 2 outstrips rival open source language models. It has been trained with 40% more data and twice the amount of context compared to Llama 1.

There is no API currently accessible for Llama 2. Nevertheless, it will be reachable through Replicate on Eden AI.

7. OpenAI: GPT- Available on Eden AI

Image description

Chatbots are a fascinating application of LLMs, and ChatGPT is a prime example of this. Powered by the GPT-4 language model, ChatGPT can engage in natural language conversations with users.

The uniqueness of ChatGPT lies in the fact that it has been taught on a diverse range of topics, enabling it to aid with multiple tasks, respond to queries, and hold captivating discussions on an array of themes. Using the ChatGPT API, it's possible to effortlessly produce Python code, create an email draft, and adapt to varying conversational styles and settings.

Pricing Structure for LLM API Providers

Eden AI offers a user-friendly platform for evaluating pricing information from diverse API providers and monitoring price changes over time. As a result, keeping up-to-date with the latest pricing is crucial. The pricing chart below outlines the rates for smaller quantities for October 2023, as well as you can get discounts for potentially large volumes.

Image description

Check the current prices on Eden AI

How Eden AI can help you?

Eden AI is the future of AI usage in companies: our app allows you to call multiple AI APIs.

Image description

  • Centralized and fully monitored billing on Eden AI for LLM APIs
  • Unified API for all providers: simple and standard to use, quick switch between providers, access to the specific features of each provider
  • Standardized response format: the JSON output format is the same for all suppliers thanks to Eden AI's standardization work. The response elements are also standardized thanks to Eden AI's powerful matching algorithms.
  • The best Artificial Intelligence APIs in the market are available: big cloud providers (Google, AWS, Microsoft, and more specialized engines)
  • Data protection: Eden AI will not store or use any data. Possibility to filter to use only GDPR engines. ‍

You can see Eden AI documentation here.

Next step in your project

The Eden AI team can help you with your LLM integration project. This can be done by :

  • Organizing a product demo and a discussion to better understand your needs. You can book a time slot on this link: Contact
  • By testing the public version of Eden AI for free: however, not all providers are available on this version. Some are only available on the Enterprise version.
  • By benefiting from the support and advice of a team of experts to find the optimal combination of providers according to the specifics of your needs
  • Having the possibility to integrate on a third-party platform: we can quickly develop connectors. ‍

Create your Account on Eden AI

Top comments (0)