Urgent.News

What's breaking now, across thousands of outlets.

Tech

What is an LLM gateway? A practical guide for side projects

An LLM gateway is a single API endpoint in front of multiple model providers. Your application sends one request in one format; the gateway handles provider keys, routing, retries and usage records. Why use one Without a gateway, every provider means another account, another key and another request shape. A gateway reduces that to one base URL and one key. It also gives you a single place to see…

An LLM gateway is a single API endpoint that acts as a middleman for multiple model providers. When you send a request to the gateway, it handles the provider keys, routing, retries, and usage records. Instead of needing a separate account, key, and request format for each provider, the gateway simplifies this to one base URL and one key. This centralization allows you to see which model answered a request from a single location.

However, a gateway does not improve the capabilities of a weak model. For tasks requiring long context, tool calling, or code editing, the selected model must still support these requirements. The gateway's routing function simply directs requests to the most appropriate provider, but it does not enhance the model's inherent abilities.

Before committing to a gateway, there are several factors to consider. First, ensure the model list is public and clearly distinguishes between free and paid models, including what happens if a free model runs out of capacity. If a provider fails, the gateway should automatically route the request to the next candidate or return an error to your application, rather than leaving your app in the lurch.

Additionally, the gateway's API should be compatible with existing clients like OpenAI or Anthropic's, allowing you to switch providers without extensive code changes. Lastly, the ability to view usage metrics, such as per-key and per-day data, is crucial for monitoring and budgeting purposes.

A practical way to start using a gateway is to begin with a free tier and a small task. This allows you to gauge how the gateway performs when the free allowance is exhausted. If the gateway seamlessly switches to paid capacity, it's essential to set a budget in advance. The true test of a gateway's utility lies in how it handles failures and unexpected situations, not just what it claims on its landing page.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Stop Guessing Text Colors. Chrome DevTools Can Pick an Accessible One for You

Light grey text on white looks clean in a design file. It's also one of the most common accessibility failures on the web, and it's easy to miss because it looks fine on your own bright screen.

  • Chrome DevTools suggests accessible text colors
  • WCAG contrast ratio 4.5:1 for normal text
  • DevTools applies suggested color automatically

Small SaaS Image Thumbnail Architecture — Object Storage and Server Resize vs CDN

Short answer: for a small fintech SaaS serving US and EU users, keep originals and thumbnails in object storage and resize on the server after upload.

  • Object storage with server resizing provides reproducible thumbnails.
  • CDN offers URL-driven, edge transformations for global delivery.
  • Infrai provides unified REST API for image processing management.

Upgrading from .NET 8 to .NET 10: A Practical Checklist

Why upgrade now November 10, 2026 is the end-of-support date for both .NET 8 and .NET 9. Your apps keep running after that date, but they stop receiving security patches, so every new vulnerability…

  • End-of-support for .NET 8 and .NET 9 on November 10, 2026
  • Upgrade to LTS release .NET 10 supported until November 2028
  • Upgrade process involves pinning .NET 10 SDK, updating global.json, and testing suite

More from Wednesday 11 November →