GPT-5 vs Llama 3 70B API pricing
Updated
GPT-5: USD 1.25 input, USD 10 output per 1M tokens (OpenAI and 2 others). Llama 3 70B: USD 2.65 input, USD 3.50 output per 1M tokens (Amazon Bedrock). At 3 input tokens per output token, GPT-5 costs 20% more than Llama 3 70B (USD 3.438 vs USD 2.862 per 1M).
How do GPT-5 and Llama 3 70B differ on price?
- Cheapest input price: GPT-5 USD 1.25 against USD 2.65 per 1M tokens, so Llama 3 70B costs 2.1× as much.
- Cheapest output price: Llama 3 70B USD 3.50 against USD 10 per 1M tokens, so GPT-5 costs 2.9× as much.
- Among the 201 indexed models, GPT-5 ranks 165th cheapest and Llama 3 70B 159th on the 3:1 blend.
- The cheaper model changes at 4.6 input tokens per output token.
- Both list cached-input discounts: GPT-5 at 3 standard prices of 3, from USD 0.125 (OpenAI, 90% below that provider's input price); Llama 3 70B at 1 standard price of 2, from USD 0.70 (Featherless, 80% below that provider's input price).
- Only Llama 3 70B has a stated context window (8,192 tokens); no provider of GPT-5 states one on its pricing page.
- GPT-5 has 3 providers with a standard price, 1 more than Llama 3 70B; no provider sells both, so using both means two accounts.
- Shopping around matters more for Llama 3 70B: its dearest standard price is 1.64× its cheapest, against 1× for GPT-5.
- OpenAI's own API is one of 3 providers tied for the lowest standard price we found for GPT-5, USD 3.438 at 3:1.
- GPT-5 has a batch price at 2 providers, from USD 1.719 at 3:1 (OpenAI); Llama 3 70B has no batch price on file.
- For the one-developer coding agent preset, the gap is USD 43,875 a year in GPT-5's favour (GPT-5 USD 1,429 a month, Llama 3 70B USD 5,085).
- Per character of input, the gap depends on the language: GPT-5 costs 53% less than Llama 3 70B on Code text but 71% less than Llama 3 70B on Hindi, because the two tokenizers split those languages differently.
GPT-5 and Llama 3 70B prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | GPT-5 | Llama 3 70B |
|---|---|---|
| Model page | GPT-5 (2025-08-07) OpenAI · 3 providers | Llama 3 Instruct (70B) Meta · 2 providers |
| Cheapest standard price, blended 3:1 | USD 3.438 USD 1.25 in / USD 10 out at OpenAI and 2 others OpenAI page checked 2026-11-14 | USD 2.862 lower USD 2.65 in / USD 3.50 out at Amazon Bedrock Amazon Bedrock page checked 2026-11-14 |
| Cheapest input | USD 1.25 lower OpenAI source | USD 2.65 Amazon Bedrock source |
| Cheapest cached input | USD 0.125 lower OpenAI source | USD 0.70 Featherless source |
| Cheapest output | USD 10 OpenAI source | USD 3.50 lower Amazon Bedrock source |
| Maker's own API | USD 1.25 / USD 10 OpenAI source | Meta publishes no paid standard price on its own API that we found. |
| Median standard price | USD 1.25 / USD 10 input / output, 3 prices | USD 3.075 / USD 5.90 input / output, 2 prices |
| Context window | No provider states one on its pricing page. | 8,192 tokens, largest stated |
| Providers with a standard price | 3 | 2 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do GPT-5 and Llama 3 70B cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | GPT-5 | Llama 3 70B | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 231.75 OpenAI | USD 301.50 Amazon Bedrock | USD 69.75 GPT-5 lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 369.00 OpenAI | USD 688.50 Amazon Bedrock | USD 319.50 GPT-5 lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 1,429 OpenAI | USD 5,085 Amazon Bedrock | USD 3,656 GPT-5 lower |
GPT-5 is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 3.6× as much as the cheaper one.
Does the cheaper model change with your input:output ratio?
The cheaper model changes with the mix: below 4.6 input tokens per output token, Llama 3 70B is cheaper; above 4.6, GPT-5 is cheaper. At the site's 3:1 blend, Llama 3 70B is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
| Input : output tokens | GPT-5 | Llama 3 70B |
|---|---|---|
| 1 : 3 (long answers) | USD 7.813 OpenAI | USD 3.287 lower Amazon Bedrock |
| 1 : 1 | USD 5.625 OpenAI | USD 3.075 lower Amazon Bedrock |
| 3 : 1 (the site’s blend) | USD 3.438 OpenAI | USD 2.862 lower Amazon Bedrock |
| 10 : 1 (retrieval, long prompts) | USD 2.045 lower OpenAI | USD 2.727 Amazon Bedrock |
| 30 : 1 (agents, big contexts) | USD 1.532 lower OpenAI | USD 2.677 Amazon Bedrock |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do GPT-5 and Llama 3 70B cost per character in other languages?
Cost to send 1M characters at each model's cheapest non-promotional standard input price, with the GPT (o200k) tokenizer for GPT-5 and the Llama 3.3 70B tokenizer for Llama 3 70B:
| Content | GPT-5 | Llama 3 70B |
|---|---|---|
| English | USD 0.267 lower Microsoft Azure | USD 0.575 Amazon Bedrock |
| Arabic MSA | USD 0.399 lower Microsoft Azure | USD 1.02 Amazon Bedrock |
| Egyptian Arabic | USD 0.416 lower Microsoft Azure | USD 1.04 Amazon Bedrock |
| Hindi | USD 0.403 lower Microsoft Azure | USD 1.38 Amazon Bedrock |
| Chinese | USD 0.964 lower Microsoft Azure | USD 2.12 Amazon Bedrock |
| Spanish | USD 0.282 lower Microsoft Azure | USD 0.708 Amazon Bedrock |
| Code | USD 0.318 lower Microsoft Azure | USD 0.674 Amazon Bedrock |
From the real cost by language dataset (measured tokens per character on FLORES-200 and other texts). Your own text will differ.
Check it on your own traffic
- GPT-5 (2025-08-07) API pricing: all 3 providers and other tiers.
- Llama 3 Instruct (70B) API pricing: all 2 providers and other tiers.
- Cost calculator with GPT-5 and Llama 3 70B preloaded
- GPT token counter
- Llama 3 token counter
- Prompt caching calculator
More comparisons: GPT-5 vs GPT-4.1 · GPT-5.2 vs GPT-5 · GPT-5 Pro vs GPT-5 · GPT-5 Nano vs GPT-5 · Llama 3.1 70B vs Llama 3 70B · Llama 3 70B vs Llama 3 8B · every GPT-5 comparison · every Llama 3 70B comparison · all 662 price comparisons
Questions
Is GPT-5 cheaper than Llama 3 70B?
No. On a blend of 3 input tokens to 1 output token, Llama 3 70B costs USD 2.862 per 1M tokens and GPT-5 USD 3.438, at each model's cheapest standard price. For input alone, GPT-5 is cheaper (USD 1.25 against USD 2.65 per 1M); for output alone, Llama 3 70B is (USD 3.50 against USD 10). This compares price only, not quality.
What do GPT-5 and Llama 3 70B cost per 1M tokens?
GPT-5: from USD 1.25 input and USD 10 output at OpenAI and 2 others; OpenAI's own API charges USD 1.25 / USD 10; median of 3 standard prices USD 1.25 / USD 10. Llama 3 70B: from USD 2.65 input and USD 3.50 output at Amazon Bedrock; median of 2 standard prices USD 3.075 / USD 5.90. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both GPT-5 and Llama 3 70B?
None of the providers we track sells both at a standard price. GPT-5 is cheapest at OpenAI and 2 others and Llama 3 70B at Amazon Bedrock, so running both means two accounts.
Which is cheaper for a coding agent or a chatbot, GPT-5 or Llama 3 70B?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 1,429 a month on GPT-5 (OpenAI) against USD 5,085 on Llama 3 70B (Amazon Bedrock), a difference of USD 3,656. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 231.75 a month on GPT-5 (OpenAI) against USD 301.50 on Llama 3 70B (Amazon Bedrock), a difference of USD 69.75. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of GPT-5 and Llama 3 70B change?
The cheaper model changes with the mix: below 4.6 input tokens per output token, Llama 3 70B is cheaper; above 4.6, GPT-5 is cheaper. At the site's 3:1 blend, Llama 3 70B is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
Do GPT-5 and Llama 3 70B have cached input pricing?
GPT-5 from USD 0.125 per 1M cached input tokens (OpenAI; 3 of 3 standard prices list a discount). Llama 3 70B from USD 0.70 per 1M cached input tokens (Featherless; 1 of 2 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.