# LLM development services for features that ship

Source: https://www.serverless.direct/llm-development

We engineer the LLM part of your feature: which Claude model, what context it gets, how its output is checked, and what it costs per request.

## Where LLM features go wrong

- **Output your code cannot parse.** The answer reads well but arrives in a slightly different shape each time, so the code around it keeps breaking.
- **Quality is judged by feel.** Someone tries a few prompts and it looks fine. A week later a change makes another class of inputs worse and no one notices.
- **Responses are too slow.** Users wait for a long answer when a shorter prompt, a smaller model or streaming would do.
- **Cost grows faster than usage.** Every request resends the same long context, and work that could wait runs at full price.

## The engineering in our LLM development services

The work an LLM feature needs between the first prompt and steady production traffic.

### Model choice and context

We pick the Claude model for each step by testing it on your inputs, and we decide what context each request gets.

- A larger model only for the steps that need it
- Retrieval of the documents and records a request needs
- Prompts kept in version control and reviewed like code
- Context limits planned for your longest inputs

### Structured output and tool use

The model returns data your code can rely on and calls defined tools instead of free text instructions.

- Output that follows a JSON schema
- Tool definitions for lookups and actions
- Validation and a clear error path
- Citations back to the source text where users need them

### Evaluation sets

A set of real inputs with expected results. It runs on every change, so each release has a quality score.

- Cases drawn from your data, including the hard ones
- Automatic checks plus graded samples
- A score per release, compared with the last one
- A required pass before a model or prompt change ships

### Latency, cost and deployment

We tune the feature for speed and cost and deploy it through Amazon Bedrock or the Claude API.

- Prompt caching for repeated context
- Batch processing for work that can wait
- Streaming for long answers
- Cost per request tracked by feature

## How we develop an LLM feature

Measurement comes first, so every later change can be compared with a baseline.

1. **Collect cases.** We gather real inputs and agree with your team what a correct result looks like for each.
2. **Baseline.** We build a first version, run the evaluation set and record quality, latency and cost.
3. **Iterate.** We change the model, prompts, context and output format one at a time and keep only the changes that score better.
4. **Ship and watch.** We deploy, track quality and cost in production, and add new failure cases to the evaluation set.

## What we use

- Claude API
- Amazon Bedrock
- Prompt caching
- Message Batches API
- Amazon Bedrock batch inference
- Structured outputs
- Tool use
- AWS Lambda
- TypeScript
- Python

## The data and backend work around the model

An LLM feature depends on data pipelines and APIs that hold up. These AWS projects show that part of our work, from more than 10 years on AWS.

- [ELT platform: Rebuilding a platform for data extraction from third-party analytical sources](https://www.serverless.direct/works/elt-platform.md)
  We helped out client rebuild a platform for extracting, analyzing, and visualizing ad performance and marketing data from 3d-party sources.
- [OverQuota: Scalable Streaming Infrastructure](https://www.serverless.direct/works/overquota.md)
  We eliminated technical debt, re-architected the real-time application, and built a scalable ECS-based infrastructure for Overquota’s AI-driven coaching software with a robust streaming infrastructure.
- [Aggregator platform: Architecture Improvements and Data Migration](https://www.serverless.direct/works/aggregator-platform.md)
  Our team has improved architecture, migrated data, and optimized the performance of the aggregator platform, enabling efficient integration between banks and fintech startups.
  Result: 1.5 sec to 70 msec response time reduction.

> They're comfortable in fast-paced environments and always available.
>
> Michael Lazarenko, Co-Founder & CEO, Embedd.it

> Their technical skills and work ethics were very impressive.
>
> Mikko Mäki-Rahkola, CTO, MR Living Oy

## FAQ

### What do LLM development services include?

The engineering that turns a prompt into a production feature: model choice, context and retrieval, structured output, evaluation, cost and latency work, and deployment.

### Do you train or fine-tune models?

Our work is on Claude models as they are offered. We improve results through context, prompts, tools and evaluation, which suits most product features.

### How do you choose between Claude models?

We run the same evaluation set on more than one model and compare quality, speed and cost. Often a smaller model handles most steps and a larger one handles the hard ones.

### How do you measure LLM quality?

With an evaluation set of your real inputs and expected results. It runs on every change, and the score decides whether the change ships.

### How can we reduce LLM cost?

Prompt caching cuts the cost of context that repeats across requests. Batch processing is cheaper for work that does not need an instant answer. Choosing the right model for each step also helps.

### Amazon Bedrock or the Claude API?

Both run Claude. The choice depends on your AWS setup, your data rules and the features you need. Our Claude on AWS page compares them.

## Related

- [AI integration services](https://www.serverless.direct/ai-integration.md): Claude inside the product and systems you already run.
- [Agent harness engineering](https://www.serverless.direct/agent-harness-engineering.md): Permissions, checkpoints, evals and tracing around an agent.
- [LLM evaluation services](https://www.serverless.direct/llm-evaluation.md): Tests that show an LLM feature is ready to ship and stays that way.

## Tell us about your LLM feature

Describe the feature, a few sample inputs and what a good result looks like. Kyrylo replies with the next steps.

## Contact
- Email: hello@serverless.direct
- Book a call with Kyrylo Kozak, Founder and CEO: https://meetings-eu1.hubspot.com/kyrylo-kozak
- Website: https://www.serverless.direct
