AWS Bites Podcast

153. LLM Inference with Bedrock

If you're curious about building with LLMs, but you want to skip the hype and learn what it takes to ship something reliable in production, this episode is for you.

We share our real-world experience building AI-powered apps and the gotchas you hit after the demo: tokens and cost, quotas and throttling, IAM and access friction, marketplace subscriptions, and structured outputs that do not break your JSON parser.

We focus on Amazon Bedrock as AWS's managed inference layer: how to get started with the current access model, how to choose models, how pricing works, and what to watch for in production.

We also go deep on structured outputs: constrained decoding, schema design that improves output quality, and how to avoid "grammar compilation timed out".

Thanks to fourTheorem for powering AWS Bites. We help teams build cloud systems that are simple, scalable, and cost effective. Visit fourTheorem.com.

In this episode, we mentioned the following resources:

Let's talk!

Do you agree with our opinions? Do you have interesting AWS questions you'd like us to chat about? Leave a comment on YouTube or connect with us on:

00:41:40

We'll have a bunch of tips in our upcoming article, so watch out. episode notes down here because we'll put the link there once it's available. So with that, I think we get to the end of this episode. I think today we learned quite a lot about LLMs, what inference is, why you should be considering bedrock, And in general, I want to summarize that our take is that if you are building anything new with LLMs, I think Bedrock is really a solid default choice for production inference, especially because you get all the guarantees from region availability, more legal concerns in terms of data privacy, ability to make sure that basically your data is not going to be used for training, which is generally a common issue, plus all the other additional services that come with Bedrock that probably you might want to start using as you get more and more familiar with LLMs and Bedrock itself. Now, our usual call to action is if you use Bedrock, do you like it? What you didn't like? Maybe you found other random issues that we haven't encountered yet. So please share them with us because that's how we learn, just by keep sharing and talking with the rest of the community. So we always love that you find our connection details in the links. As always, feel free to reach out on socials. One last word, thank you to fourTheorem for powering yet another episode of AWS Bites. If you want help building AI-powered applications on AWS that are reliable, cost-effective, and production-ready, make sure to check out fourtheorem.com and reach out to us. So thank you very much, and we'll see you in the next episode.

Help us to make this transcription better! If you find an error, please submit a PR with your corrections.