Helicone alternative: Helicone vs Amiril
A Helicone alternative for agents that act. Helicone logs model calls through a proxy, and Amiril checks each tool call against your rules before it runs.
A Helicone alternative for agents that act. Helicone logs model calls through a proxy, and Amiril checks each tool call against your rules before it runs.
Helicone's sign-up page reads "Sign ups are disabled". Mintlify bought Helicone in March 2026 and put it in maintenance mode, and the announcement offers to help customers move to another platform. A new team that wanted Helicone now needs a Helicone alternative. Helicone sits between your app and the model provider and records every model call. Amiril's SDK checks each tool call against your rules inside the agent's process, before the tool runs, and Amiril drafts those rules from problems it finds in your agent's traces.
Mintlify announced the deal on March 3, 2026. Helicone's founders moved to Mintlify in San Francisco, and the post says Helicone "will continue operating in maintenance mode", with security updates, bug fixes and new models still shipping. In the same paragraph Mintlify promises to "work closely with every customer to support a smooth migration to another platform." The founders wrote their own letter about the move, and by their count Helicone served over 16,000 organizations and processed 14.2 trillion tokens.
On December 3, 2026, helicone.ai carried a banner: "Helicone is now part of Experiential Labs. Details to come soon." Experiential Labs is a Y Combinator company with an AI gateway of its own, and the banner didn't say how the move fits with Mintlify's maintenance-mode promise. The sign-up page turned new accounts away and pointed existing ones to sign in. The pricing page still listed a free Hobby plan with 10,000 requests a month, Pro at $79 a month and Team at $799, with usage-based pricing on top of both.
Helicone is an open-source AI gateway with logging built in. You point your OpenAI client at https://ai-gateway.helicone.ai with a Helicone key, and every request and response goes through it. One OpenAI-compatible API reaches more than 100 models. On top of that come caching, fallbacks between providers and rate limits that count requests, or cents of spend, per user or per custom property.
Since it sees every request, Helicone can price each one. The figure is exact through the gateway and a best-effort estimate from token counts when you log provider calls another way. Costs add up per session or per custom property, such as a user tier or a feature, and cost alerts fire at thresholds like 80% of a budget.
Sessions group the requests of one task by three headers, an id, a path and a name. A session can hold tool calls and vector database queries as well as model calls, if you log those through Helicone too. The LLM Security option runs each user message past Meta's Prompt Guard model to catch prompt injection and jailbreaks, with Llama Guard as an extra check. The docs say it currently works with OpenAI models only.
A gateway that faces the model sees what the model asks for. When the model wants a tool, the request for it comes back inside the response. Helicone logs that response and passes it on, and then your code runs the tool.
Say a support agent has a send_sms tool. A customer asks to be kept posted on a late delivery, and every time the order status comes back unchanged, the model sends another text. Helicone's log shows every model request in that loop with its price, and each one is cheap. Helicone's rate limits count model requests, or their cents, per user. A limit low enough to stop this loop would also cut off the customer's ordinary questions, and it can't count by the phone number being texted.
In Amiril the check goes on the tool:
@id("texts-per-number") @per("to") @sentence("This number has already had 3 texts in this conversation") block ( agent == "support", tool == "send_sms" ) unless { len(calls(send_sms{})) < 3 };
@per("to") limits send_sms{} to earlier texts sent to the same number, across every run in the conversation. The first three texts go out, the fourth is blocked, and a text to a different number still goes. When the rule blocks, the SDK gives the model this in place of the tool's result:
The call to send_sms was not performed. Rule texts-per-number blocked it: This number has already had 3 texts in this conversation (send_sms.count 3). Do not retry this call with different arguments or achieve the same outcome another way; tell the user it was not performed.
The SDK keeps a copy of your published rules in the agent's process and checks calls there, so the check never waits on a request to Amiril. Change the 3 to a 5 and publish, and running agents pick it up within about a minute, without a deploy. An agent that can't reach Amiril keeps enforcing the last rules it had.
You may not know the loop exists until a customer complains. Amiril reads your agent's traces and learns what's normal for that one agent, so a run that texts one number far more often than usual stands out with a rarity factor. Runs that share the problem are grouped into an issue. When a rule could have stopped them, the issue carries a rule suggestion with the rule already drafted, and Create rule opens it in the editor.
A new rule starts in Shadow. It checks every call and records what it would have done, then lets the call through. Test on past calls replays any version of it over the last 24 hours, 7 days or 30 days of real calls and lists each one it would have fired on. If it lists texts to customers who asked for every update, the limit of 3 is too low. Once the list shows only texts you wanted stopped, switch the rule to Enforce.
Helicone and Amiril both put a price on the model calls your agents make. Helicone adds request costs up by session, or by a custom property you tag each request with. Amiril shows each agent's cost beside the share of its runs that met their success condition, and each run's tokens and cost.
A refund, a payment or a text has its own price, and no model bill includes it. The way to cap it is a rule on that tool, such as a session total built with sum and @scope("session"). To stop the same invoice being paid twice, add a one-payment-per-invoice rule as well.
| Feature | Amiril | Helicone |
|---|---|---|
| Where it sits | In the agent's process, around each tool | A proxy in front of the model provider |
| Checks a tool call before it runs | Yes, against your published rules | No; it logs the model's request for the tool |
| What a check reads | The call's arguments and earlier calls in the run or session | Prompt Guard screens user messages, on OpenAI models |
| Where rules come from | Drafted from an issue and tested on past calls, or written by you | No rules on tool calls |
| Try a rule without blocking | Shadow, plus a replay over up to 30 days of past calls | No |
| Spend limits | Rules on tool call arguments and session totals | Rate limits in requests or cents of model spend |
| Cost tracking | Cost and success per agent; tokens and cost per run | Cost per request, session and custom property |
| Runs grouped | Issues, each with a severity, and runs ranked by rarity | Sessions, by headers you add |
| Alerts | Slack: a digest each day, plus new issues at High or above | Alerts and reports, from the Pro plan |
| Gateway | MCP gateway in front of tool servers, with access per agent per tool | AI gateway in front of model providers, with caching and fallbacks |
| Traces in | OpenTelemetry, LangGraph, Google ADK, LiveKit, OpenAI Agents SDK, CrewAI, Anthropic SDK, Claude Agent SDK, Langfuse exports | The gateway's base URL, set on the model client or a framework, or its manual logger |
| New sign-ups | Open | Disabled |
| Starting price | Free; Team $249 a month | Hobby free for 10,000 requests; Pro $79 a month |
If a tool texts customers or issues refunds, the failures that hurt are ordinary-looking calls with a wrong argument, or one call more than the job needed. Amiril's guardrails sit on the call itself, so they can stop a fourth text to the same customer, or a second refund on one order, before it goes out.
Each run gets a rarity for how unusual it is for its own agent, shown as where it stands among the environment's runs of the last 30 days, such as Top 6%. Slack alerts bring a daily digest and a message when an issue forms at High or above.
Helicone's Team plan lists at $799 a month. As a Helicone alternative, Amiril's Team plan lists at $249, under a third of that. Every plan includes the MCP gateway, which sits in front of your tool servers. Each agent reaches only the tools you grant it, by Read, Write and Destructive, and every call lands in an access log.
You don't have to take Helicone out first. Helicone changes the model client's base URL and Amiril wraps the tools, so the two fit in the same agent loop. Here the OpenAI client still goes through Helicone's gateway, and the Amiril SDK wraps send_sms:
import json
import os
import amiril
from amiril import plain
from openai import OpenAI
amiril.init()
client = OpenAI(
base_url="https://ai-gateway.helicone.ai",
api_key=os.environ["HELICONE_API_KEY"],
)
agent = plain.Agent("support")
@agent.tool
def send_sms(to: str, body: str) -> dict:
"""Text a customer."""
return sms_provider.send(to, body)
def answer(conversation_id: str, messages: list) -> str:
with agent.run(session_id=conversation_id) as run:
while True:
reply = client.chat.completions.create(
model=os.environ["MODEL"], messages=messages, tools=TOOLS
).choices[0].message
run.turn()
if not reply.tool_calls:
return reply.content
messages.append(reply)
for call in reply.tool_calls:
handler = {"send_sms": send_sms}[call.function.name]
result = handler(**json.loads(call.function.arguments))
messages.append(
{"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)}
)amiril.init() reads AMIRIL_API_KEY and AMIRIL_ENDPOINT from the environment. TOOLS is the tool schema you already pass the model, and sms_provider is your own client. The session_id ties together the runs of one conversation, and run.turn() marks each model reply, so the rule counts texts from earlier replies and earlier runs. A blocked call returns the message above inside a dict, so it goes back to the model like any other tool result. The same loop in TypeScript is in the docs, with the steps to connect. LangGraph, Google ADK and LiveKit agents get adapters of their own, listed in the SDK guides.
Amiril learns from traces, which it takes over OpenTelemetry. The trace guides cover LangGraph, Google ADK, LiveKit, the OpenAI Agents SDK, CrewAI, the Anthropic SDK and the Claude Agent SDK. If you later leave Helicone, point base_url back at your provider and leave the rest of the loop alone. Each run's tokens and cost, and each agent's, come from the model-call spans in your traces. Instrument the OpenAI client with OpenInference or OpenLLMetry and send its spans to Amiril.
Not according to Mintlify. Its announcement says Helicone keeps running in maintenance mode and still ships bug fixes, security updates and new models. As of December 3, 2026, a banner on helicone.ai says Helicone has joined Experiential Labs, a Y Combinator gateway startup, and promises details soon, and the sign-up page says sign-ups are disabled.
Amiril's Free plan costs nothing and includes 20,000 events and 10 Amiril credits a month. An event is a run, a model call or a tool call, and a credit pays for $1 of Amiril's own AI work, such as drafting a rule. Team is $249 a month with 1 million events and 100 credits. The pricing page has the details.
Yes. The code above keeps base_url on Helicone's gateway and wraps send_sms with the Amiril SDK, so Helicone still logs and prices each model request while Amiril checks each text.
A Helicone rate limit counts model requests, or the cents they cost, for a user or a custom property over a time window. An Amiril rule reads the tool call itself: its arguments, and what the agent already called in this run or session. It can refuse a fourth text to one number while a text to a new number goes through.