Summary
- Check Amazon's current Bedrock pricing page for exact Llama rates; we do not quote them here.
- Bedrock bills through your AWS account, so cost also depends on region, mode and surrounding services.
- A prepaid API gives one input rate, one output rate and a balance you can read in a response header.
- Our API is $0.15 per 1M input and $0.50 per 1M output, with crypto top-ups from $20.
What you are really comparing
Searching for llama pricing bedrock usually means one of two things: you want the per-token number, or you want to know whether Bedrock is the right place to run Llama at all. The first answer is on Amazon's pricing page and it changes, so we will not copy figures from memory. The second is a question about how much machinery you are willing to carry.
Bedrock is a managed service inside AWS. That brings real benefits for teams already on AWS: one bill, IAM for access control, and integration with the rest of the cloud. It also means the price you pay is the price of Bedrock plus everything around it.
A pay-per-token API from a smaller provider sits at the other end. You get a base URL, a key, and a balance. Whether that is better depends on what you need, so let us break down both sides.
How Bedrock pricing is structured
Without quoting any rate, the publicly documented shape of Bedrock billing looks like this:
- On-demand. You pay per token, with separate input and output rates for each model. This is the closest thing to a standard API.
- Provisioned throughput. You reserve capacity for a model, usually for a committed term, and pay for it whether or not you use it. It suits steady high volume.
- Per-model and per-region rates. Each model has its own price, and availability and rates can differ by region.
- Model access. You enable models in your account before calling them, and some require extra steps.
- Everything around it. Data transfer, logging, guardrails, and any other AWS service in your request path appear on the same invoice.
None of this is a flaw. It is how a large cloud sells infrastructure. But it means the honest way to estimate your bill is to price the whole pipeline and not only the token line.
Cost a request the same way on both sides
Pick a request and measure it. Say your app sends 3,000 input tokens and gets 600 output tokens back, 20,000 times a month. That is 60M input tokens and 12M output tokens.
At our rates of $0.15 and $0.50 per 1M:
in_tokens = 20_000 * 3_000 # 60,000,000
out_tokens = 20_000 * 600 # 12,000,000
total = in_tokens / 1e6 * 0.15 + out_tokens / 1e6 * 0.50
print(total) # 15.0
That is $9.00 for input plus $6.00 for output, $15.00 a month. For Bedrock, take the on-demand input and output rates for the Llama model you want from Amazon's current page and run the same two lines. Then add your estimate for logging, transfer and any guardrail charges. Now you are comparing totals, not headlines.
One caution on the comparison itself: the models differ. A Llama model on Bedrock and the model behind our endpoint are not the same thing, so price per token is only half the decision. Test the answers too.
Where a simple prepaid API is easier
The case for a plain per-token API is mostly about less to manage.
Setup time
There is no cloud account to configure. Sign up, claim the trial, copy a key. The service is OpenAI-compatible, so existing client code needs only a new base URL.
A visible balance
Every response carries an X-Balance-USD header, and GET /v1/balance returns the balance directly. You do not wait for a monthly invoice to learn what a feature costs.
No commitment
Credit is prepaid, there is no subscription, and it never expires. Top-ups are whole amounts from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200. A $200 top-up gives $230 of credit.
Refusals are free
Failed or refused requests are not charged.
Integration differences that affect real cost
Price is one input. Developer time is another, and it is easy to underweight.
Authentication and clients
Bedrock is called through AWS SDKs with IAM credentials, and the request format follows AWS conventions. That is fine inside an AWS shop, and awkward if the rest of your code already speaks the OpenAI format. Our API takes Authorization: Bearer <key> and supports POST /v1/chat/completions, POST /v1/responses and GET /v1/models, so tools that accept an OpenAI-compatible endpoint work after you change the base URL and key.
Limits and retries
Every provider throttles. On a full key we allow 8 concurrent requests and 300 requests per minute; a trial key allows 2 and 60. Over a limit you get HTTP 429 with the code rate_limited or concurrency, and on temporary overload a 429 with Retry-After: 5. A streamed request holds its concurrency slot until the stream ends, so size your worker pool to the slot count rather than to the request rate. Find the equivalent quota rules in Amazon's documentation and compare them before you design a queue.
Key handling
Keys here are self-service. On the API key page you can regenerate a key at any time, and the old one stops working at once. Accounts that have topped up can hold up to 5 keys, label them and revoke any of them, which is handy for separating staging from production.
Data handling
Prompts are not used for training. For anything beyond that, read the pricing and policy pages of every provider you shortlist, including the cloud one, and decide against your own data rules.
Where Bedrock is the better choice
It would be dishonest to pretend a small API wins everywhere. Bedrock is the better fit when:
- Your company already runs on AWS and procurement, security review and billing all flow through it.
- You need a specific named Llama version, or models from several vendors behind one AWS interface.
- Compliance rules require your data to stay inside your own cloud account and region.
- You have large steady volume and want reserved capacity.
Our service is a different thing. It runs a single open-weight model, operated by an independent provider and tuned to answer without content refusals for lawful adult use. It is not an official Meta or Amazon product, it is text only, and the context window is 100,000 tokens. If those traits match your project, keep reading. If you need a named Llama checkpoint, use a host that serves it.
Trying the flat-rate option in five minutes
The quickest check is a real call against your own prompts. With the Python SDK:
from openai import OpenAI
client = OpenAI(
base_url="https://api.llamaapipricing.com/v1",
api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a two-line product description."}],
)
print(resp.choices[0].message.content)
print(resp.usage)
Print resp.usage for each call and multiply by the two rates. After a few dozen calls you will have a measured average and can project the month. The docs cover streaming, tool calling and JSON mode, and the pricing page has the full rate table. You can claim the $0.50 trial on the API key page; it is valid for 7 days and needs no card.
A practical way to decide is to run both for one week on a copy of real traffic. Log tokens in and out on each side, note how many answers needed a retry, and add the non-token charges from the cloud invoice. If the totals are close, pick on operational fit: who already has access, who gets paged, and which provider's terms your legal team has read. If one side is clearly cheaper and the answers are good enough, the decision makes itself.
If you are also weighing frontier closed models, see how we frame that in Claude API pricing vs uncensored alternatives.
