← All projects
Project record1 mention
Originally shared on Hacker News

LLMRing

A unified interface across OpenAI, Anthropic, Google, and Ollama so the same code works with all providers. Code references model aliases (e.g. "summarizer") that a version-controlled lockfile maps to actual models, letting you switch providers by changing the lockfile rather than the code. It handles streaming, tool calling, and structured output consistently across providers, ships with an MCP server and client plus an interactive chat for defining aliases/models, and includes a human-curated registry of current model capabilities and pricing. A Postgres-backed open source server stores logs and costs. MIT licensed.

Last shared For Developers building applications that call multiple LLM providers
01 / The problem

What it addresses

Model IDs get hardcoded and each provider's API differs, making it hard to switch LLM providers or keep model choices under version control.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. LLMRing

    A unified interface across OpenAI, Anthropic, Google, and Ollama so the same code works with all providers. Code references model aliases (e.g. "summarizer") that a version-controlled lockfile maps to actual models, letting you switch providers by changing the lockfile rather than the code. It handles streaming, tool calling, and structured output consistently across providers, ships with an MCP server and client plus an interactive chat for defining aliases/models, and includes a human-curated registry of current model capabilities and pricing. A Postgres-backed open source server stores logs and costs. MIT licensed.

    Problem: Model IDs get hardcoded and each provider's API differs, making it hard to switch LLM providers or keep model choices under version control.

    Audience: Developers building applications that call multiple LLM providers

    Posted by @juanre · Original source ↗

    Source text · @juanre · · Source ↗

    LLMRing https://llmring.ai is a unified interface across OpenAI, Anthropic, Google, and Ollama - same code works with all providers. Use aliases instead of hardcoding model IDs. Your code references "summarizer", and a version-controlled lockfile maps it to the actual model. Switch providers by changing the lockfile, not your code.