Skip to main content

4 posts tagged with "open-source"

View All Tags

Limitr for Python

· 3 min read
CJ Cummings
Co-founder & CEO, Limitr

Limitr 0.8.7 is out, and Limitr now runs in Python.

pip install limitr

It's the same engine as the TypeScript SDK, not a port of it. The engine is a Stof document, so the Python SDK loads the very same document (your policy, its functions, and every customer's state) and runs it in your process. A policy you wrote for a Node service works unchanged in a Python one, and both can serve the same customers through Limitr Cloud.

Pricing Logic in Your Process: Limitr's Security Model

· 6 min read
CJ Cummings
Co-founder & CEO, Limitr

Limitr puts pricing inside your app. Every allow() is checked in your process, and a policy can carry logic of its own: a cost function per model, a rule for who gets a feature, a capability your agent can call. That's what makes it fast and flexible, and it raises the questions any security review should ask: what can that logic touch, who can change it, and what happens when something goes wrong?

Here are the answers, as of engine 0.8.3. The Security model page keeps them current.

Limitr 0.8: Contracts in the Engine, Quote to Cash in Cloud

· 8 min read
CJ Cummings
Co-founder & CEO, Limitr

Limitr 0.8 is out. It's about the deals that don't fit a plan.

Every team selling AI features ends up with them: one customer gets 5M tokens a month instead of 2M, audit logs their plan doesn't include, 20% off tokens, a not-to-exceed amount, and a platform fee, for a year, with a price step-up in month seven. Until now, that meant a plan per deal, or a spreadsheet next to your billing that someone has to remember.

0.8 makes a deal two things: a rule in your policy that says what changes, and a contract in Limitr Cloud that says who has it, when, and what it bills.

npm i @formata/limitr

Limitr 0.7: Real Costs, Predicted Usage, and Feature Flags

· 13 min read
CJ Cummings
Co-founder & CEO, Limitr

Limitr 0.7 is out (0.7.5 as of Oct 27). It's the biggest release of the open-source engine so far, and most of it came straight from conversations with teams putting AI features in front of paying customers.

Three questions kept coming up:

  • What did this call actually cost us? Not an average, this call, on this model, at today's provider prices.
  • How much room should a call get before we know its size? An LLM call's usage is only known after it finishes.
  • Who gets this feature right now? Plans decide most of it, but launches, betas, and custom deals don't fit neatly into plans.

0.7 answers all three inside the same policy, running in your process, with no network call on the hot path.

npm i @formata/limitr