> For the complete documentation index, see [llms.txt](https://docs.datasaur.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasaur.ai/llm-projects/models/llm-comparison-table.md).

# LLM Comparison Table

This table provides a comprehensive comparison of various LLM providers and their offerings. This comparison is designed to help you make informed decisions when selecting the most suitable LLM for your needs.

<table data-full-width="true"><thead><tr><th width="123">Provider</th><th width="191.2421875">Model</th><th width="209.3359375">Maximum context length</th><th width="157.8671875">Maximum output</th><th width="164.4140625">Price per 1M input</th><th width="177.96875">Price per 1M output</th></tr></thead><tbody><tr><td><a href="https://docs.anthropic.com/en/docs/about-claude/models">Anthropic</a></td><td>claude-3-opus-20240229</td><td>200,000</td><td>4,096</td><td>$15.00</td><td>$75.00</td></tr><tr><td><a href="https://platform.openai.com/docs/models/overview">OpenAI</a></td><td>gpt-4-turbo-2024-04-09</td><td>128,000</td><td>4,096</td><td>$10.00</td><td>$30.00</td></tr><tr><td><a href="https://aws.amazon.com/bedrock/pricing/">AWS Bedrock</a></td><td>meta.llama3-1-405b-instruct-v1:0</td><td>128,000</td><td>2,048</td><td>$5.32</td><td>$16.00</td></tr><tr><td><a href="https://platform.openai.com/docs/models/overview">OpenAI</a></td><td>gpt-4o-2024-05-13</td><td>128,000</td><td>4,096</td><td>$5.00</td><td>$15.00</td></tr><tr><td><a href="https://ai.google.dev/gemini-api/docs/models/gemini#model-variations">Google</a></td><td>gemini-1.5-pro</td><td>2,097,152</td><td>8,192</td><td>$3.50</td><td>$10.50</td></tr><tr><td><a href="https://docs.anthropic.com/en/docs/about-claude/models">Anthropic</a></td><td>claude-3-5-sonnet-20240620</td><td>200,000</td><td>8,192</td><td>$3.00</td><td>$15.00</td></tr><tr><td><a href="https://docs.anthropic.com/en/docs/about-claude/models">Anthropic</a></td><td>claude-3-sonnet-20240229</td><td>200,000</td><td>4,096</td><td>$3.00</td><td>$15.00</td></tr><tr><td><a href="https://cohere.com/pricing">Cohere</a></td><td>command-r-plus</td><td>128,000</td><td>4,096</td><td>$3.00</td><td>$15.00</td></tr><tr><td><a href="https://docs.mistral.ai/getting-started/models/">Mistral</a></td><td>mistral-large-2407</td><td>128,000</td><td></td><td>$3.00</td><td>$9.00</td></tr><tr><td><a href="https://platform.openai.com/docs/models/overview">OpenAI</a></td><td>gpt-4o-2024-08-06</td><td>128,000</td><td>16,384</td><td>$2.50</td><td>$10.00</td></tr><tr><td><a href="https://docs.mistral.ai/getting-started/models/">Mistral</a></td><td>codestral-2405</td><td>32,000</td><td></td><td>$1.00</td><td>$3.00</td></tr><tr><td><a href="https://aws.amazon.com/bedrock/pricing/">AWS Bedrock</a></td><td>meta.llama3-1-70b-instruct-v1:0</td><td>128,000</td><td>2,048</td><td>$0.99</td><td>$0.99</td></tr><tr><td><a href="https://aws.amazon.com/bedrock/pricing/">AWS Bedrock</a></td><td>Amazon Titan Text Premier</td><td>32,000</td><td>3,072</td><td>$0.50</td><td>$1.50</td></tr><tr><td><a href="https://cohere.com/pricing">Cohere</a></td><td>command-r</td><td>128,000</td><td>4,096</td><td>$0.50</td><td>$1.50</td></tr><tr><td><a href="https://platform.openai.com/docs/models/overview">OpenAI</a></td><td>gpt-3.5-turbo-0125</td><td>16,385</td><td>4,096</td><td>$0.50</td><td>$1.50</td></tr><tr><td><a href="https://docs.mistral.ai/getting-started/models/">Mistral</a></td><td>open-mistral-nemo-2407</td><td>128,000</td><td></td><td>$0.30</td><td>$0.30</td></tr><tr><td><a href="https://docs.anthropic.com/en/docs/about-claude/models">Anthropic</a></td><td>claude-3-haiku-20240307</td><td>200,000</td><td>4,096</td><td>$0.25</td><td>$1.25</td></tr><tr><td><a href="https://aws.amazon.com/bedrock/pricing/">AWS Bedrock</a></td><td>meta.llama3-1-8b-instruct-v1:0</td><td>128,000</td><td>2,048</td><td>$0.22</td><td>$0.22</td></tr><tr><td><a href="https://aws.amazon.com/bedrock/pricing/">AWS Bedrock</a></td><td>Amazon Titan Text Express</td><td></td><td>8,192</td><td>$0.20</td><td>$0.60</td></tr><tr><td><a href="https://platform.openai.com/docs/models/overview">OpenAI</a></td><td>gpt-4o-mini-2024-07-18</td><td>128,000</td><td>16,384</td><td>$0.15</td><td>$0.60</td></tr><tr><td><a href="https://aws.amazon.com/bedrock/pricing/">AWS Bedrock</a></td><td>Amazon Titan Text Lite</td><td></td><td>4,096</td><td>$0.15</td><td>$0.20</td></tr><tr><td><a href="https://platform.deepseek.com/api-docs/pricing/">Deepseek</a></td><td>deepseek-chat</td><td>128,000</td><td>8,192</td><td>$0.14</td><td>$0.28</td></tr><tr><td><a href="https://platform.deepseek.com/api-docs/pricing/">Deepseek</a></td><td>deepseek-coder</td><td>128,000</td><td>8,192</td><td>$0.14</td><td>$0.28</td></tr><tr><td><a href="https://ai.google.dev/gemini-api/docs/models/gemini#model-variations">Google</a></td><td>gemini-1.5-flash</td><td>1,048,576</td><td>8,192</td><td>$0.08</td><td>$0.30</td></tr><tr><td><a href="https://cohere.com/pricing">Cohere</a></td><td>command</td><td>4,096</td><td>4,096</td><td></td><td></td></tr><tr><td><a href="https://cohere.com/pricing">Cohere</a></td><td>command-light</td><td>4,096</td><td>4,096</td><td></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.datasaur.ai/llm-projects/models/llm-comparison-table.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
