DE- AI acceleration
- Industries
- Finance
Nearshore software development for finance—secure, scalable, and compliant solutions for banking, payments, and APIs.
- Retail
Retail software development services—e-commerce, POS, logistics, and AI-driven personalization from nearshore engineering teams.
- Manufacturing
Nearshore manufacturing software development—ERP systems, IoT platforms, and automation tools to optimize industrial operations.
- Finance
- What we do
- Services
- Software modernization services
- Cloud solutions
- AI – Artificial intelligence
- Idea validation & Product development services
- Digital solutions
- Integrations for digital ecosystems
- A11y – Accessibility
- QA – Test development
- Technologies
- Front-end
- Back-end
- DevOps & CI/CD
- Cloud
- Mobile
- Collaboration models
- Collaboration models
Explore collaboration models customized to your specific needs: Complete nearshoring teams, Local heroes from partners with the nearshoring team, or Mixed tech teams with partners.
- Way of work
Through close collaboration with your business, we create customized solutions aligned with your specific requirements, resulting in sustainable outcomes.
- Collaboration models
- Services
- About Us
- Who we are
We are a full-service nearshoring provider for digital software products, uniquely positioned as a high-quality partner with native-speaking local experts, perfectly aligned with your business needs.
- Meet our team
ProductDock’s experienced team proficient in modern technologies and tools, boasts 15 years of successful projects, collaborating with prominent companies.
- Why nearshoring
Elevate your business efficiently with our premium full-service software development services that blend nearshore and local expertise to support you throughout your digital product journey.
- Who we are
- Our work
- Career
- Life at ProductDock
We’re all about fostering teamwork, creativity, and empowerment within our team of over 120 incredibly talented experts in modern technologies.
- Open positions
Do you enjoy working on exciting projects and feel rewarded when those efforts are successful? If so, we’d like you to join our team.
- Hiring guide
How we choose our crew members? We think of you as a member of our crew. We are happy to share our process with you!
- Rookie boot camp internship
Start your IT journey with Rookie boot camp, our paid internship program where students and graduates build skills, gain confidence, and get real-world experience.
- Life at ProductDock
- Newsroom
- News
Stay engaged with our most recent updates and releases, ensuring you are always up-to-date with the latest developments in the dynamic world of ProductDock.
- Events
Expand your expertise through networking with like-minded individuals and engaging in knowledge-sharing sessions at our upcoming events.
- News
- Blog
- Get in touch
12. Nov 2026 •2 minutes read
LLM freedom: Breaking free from vendor lock-in with AI gateways
Nemanja Marić
Software Engineer
During our recent Friday Talk, our software engineer, Nemanja Marić, presented “LLM freedom,” exploring practical methods to avoid being locked into a single Large Language Model (LLM) provider. He demonstrated how engineering teams can use AI gateways and flexible coding agents to maintain architectural independence, reduce administrative overhead, and optimize token costs.
The problem of vendor lock-in
Many teams find themselves restricted by subscription-based models tied exclusively to a single provider, such as OpenAI or Anthropic. Relying on a single ecosystem limits flexibility. Furthermore, attempting to integrate new or alternative LLMs traditionally requires maintaining multiple complex subscriptions and managing a tangled web of API keys, which significantly increases administrative complexity and security risks.
The AI gateway solution
To solve this, Nemanja introduced the concept of an AI gateway, specifically highlighting Requesty. An AI gateway serves as a unified interface that routes requests to various LLMs without requiring changes to the underlying code.
Using Requesty provides access to over 600 models through a single API key. Developers can switch models instantly via a simple command without altering their coding agent. Beyond flexibility, this centralized gateway gives organizations robust administrative controls, including:
- Data residency & compliance: Defining approved models and enforcing data residency requirements, such as restricting routing exclusively to EU servers.
- Cost control: Setting guardrails and spending budgets to encourage the use of more cost-effective models for routine tasks.
- Infrastructure reliability: Performing automatic load balancing across servers to ensure high availability.
Flexible coding agents: OpenCode vs. Pi
Nemanja also showcased how to pair this gateway architecture with flexible coding agents, comparing two specific tools he utilizes for his projects:
- OpenCode: An open-source AI coding agent available in both terminal and desktop formats. It offers a “batteries-included” experience featuring built-in “plan” and “build” modes. Because of its comprehensive nature, it uses a heavier system prompt of approximately 7,000 to 14,000 tokens.
- Pi Coding Agent: A minimalist alternative focused purely on core functionalities (read, write, edit, and bash). It requires extensions to add tools like “plan” and “build” modes, making it highly token-efficient with a system prompt of only about 1,000 tokens.
Usage insights and cost optimization
One of the most powerful workflows Nemanja demonstrated was mid-session model switching. Both OpenCode and Pi allow users to swap the active model on the fly. This is highly effective if an LLM begins to hallucinate or if a sudden shift in task complexity requires a different model’s reasoning capabilities.
By utilizing an AI gateway, teams can shift their cost structure from expensive, flat-rate subscriptions to efficient, API-based usage pricing. This allows developers to route complex reasoning tasks to premium models while seamlessly routing routine tasks to cheaper, high-quality open-source models like Mistral or DeepSeek—drastically optimizing overall project costs.
If you are looking to build scalable, independent, and secure AI architectures that put you in control of your models and data, discover how our team can help you implement these solutions and accelerate your digital journey.
Tags:Skip tags
Nemanja Marić
Software EngineerNemanja Marić is a software engineer with 6 years of hands-on experience in building robust and scalable applications. He holds a BSc in Software Engineering and specializes primarily in Java and Spring. Along the way, he had also explored C#, React, Cloud Computing, and Flutter. He approaches software development with genuine joy and a passion for creating impactful solutions by building scalable, robust, and high-quality software.