by Boundary

BAML pricing, free plan and limits

Programming language for agents that generates typed SDKs for your own language and records every call; free, open source, with hosted tracing in early access.

Best for
Platform engineers who own LLM calls shared across several languages
Not for
Solo Python developers who want to pip install a library and use it in one file

Should you use BAML?

BAML suits platform engineers who want typed LLM functions shared across languages and a trace of every call. It costs nothing to run locally, but it is a new language whose docs Boundary admits trail the product, so a Python team needing only structured output may prefer Instructor or Pydantic AI.

A typed language that generates an SDK in the app's own language and records each call to local SQLite, so LLM calls are traceable with no extra wiring.

Also for

  • Teams that want local traces of every LLM and tool call
  • Engineers whose coding agents write the LLM glue code and need a typed contract to check it against

Also not for

  • Teams that cannot adopt a new language or a build step

Main trade-off

The docs trail the product, which Boundary itself says, and a new language adds learning time.

BAML pricing

PlanMonthly priceWhat it includes
BAML (open source)FreeLanguage, compiler, CLI, local playground and generated SDKs, Runs on your machine under Apache-2.0
Boundary Cloud Starter (early access)Free1 GB of data a month, kept 30 days; $4 per GB beyond that, Unlimited members, projects and environments
Boundary Cloud Volume (early access)$250/mo5 GB a month with 30-day retention; $3 per GB beyond that, Retention past 30 days at $0.10 per GB; bring-your-own-cloud add-on, Billed annually
How the pricing works, in full

Boundary Cloud bills for the content of function inputs and outputs, logs, network requests and responses and process context; spans, timings, profiles and field names are free, and a value sent again is stored and billed once. Queries are free up to 90 seconds each. It is early access: usage caps, Google sign-in, SAML and OIDC, SCIM and audit logs are all marked coming soon, and every plan has a 60-day money-back guarantee. The local toolchain never calls Boundary's servers.

What BAML does

BAML is an open-source programming language for agents from Boundary, a Seattle company that joined Y Combinator in Winter 2023. It generates typed SDKs for languages including Python and TypeScript, runs on the developer's machine, and records every call to local SQLite, with a hosted tracing service, Boundary Cloud, in early access.

  • Typed functions

    A function declares its prompt, its client (such as openai/gpt-5-mini) and a return type, in a syntax that looks like TypeScript with a Rust-style type system.

  • Generated SDKs

    baml generate writes a typed SDK for the app's own language; Boundary names seven languages on its How BAML works page.

  • Agent skill

    baml agent install adds a version-matched BAML skill for supported coding agents, including Claude Code and Codex.

  • Local tracing

    Calls are recorded to SQLite by default, and BAML_TELEMETRY sets the level to off, low, medium (the default) or high.

Show all 7 features
  • Editors and CI

    VS Code, Cursor and any language-server client such as Zed, JetBrains or Neovim, plus a GitHub Action that comments on pull requests with code-health metrics.

  • Single-binary services

    A service written wholly in BAML ships as one self-contained binary with no host language.

  • Boundary Cloud

    Hosted traces, dashboards, alerts and SQL queries, switched on by setting BOUNDARY_API_KEY; early access.

Works with

  • VS Code
  • Cursor
  • OpenTelemetry
  • GitHub Actions

Strengths and limits

Strengths

  • The core is free and open source on GitHub, with a toolchain that runs on your machine, according to Boundary's pricing page.
  • The paid cloud is priced in the open and bills for values, not for timings: spans, profiles and field names are free, per Boundary's pricing page.
  • Development is visible: GitHub shows nightly language builds, the newest dated 13 November 2026, so fixes and changes land within days.

Limits

  • Boundary says its docs are still catching up, and the docs home still describes BAML as a language for structured LLM outputs rather than the agent language the repository describes.
  • A new language brings a build step and a learning cost; Boundary's Adopt page says its standard library and package ecosystem are still young.
  • Boundary Cloud is early access, with usage caps, Google sign-in, SAML, OIDC and SCIM all marked coming soon on its pricing page.
  • Boundary's team page lists eight people, so support and roadmap depend on a small group.

How Hokai rates it

  • Features7.5 / 10
  • Value for money8.0 / 10

BAML alternatives

ToolPrice fromFree planRuns onRating
BAML This page$250/moYesWeb · Mac · Windows3.9
LangChainPick BAML when you want a typed language that generates SDKs and records every call; pick LangChain when ready-made chains and a broad set of integrations matter more.$39/moYesWeb · Mac · Windows--
InsForgeOpen-source AI agent backend with 12,800+ GitHub stars: $25/mo Pro, free tier. 2.4x fewer tokens than Supabase MCP on MCPMark v2. YC Spring 2026, 6-person team.$25/moYesWeb3.7
MindeeDeveloper API that turns invoices, receipts, IDs and other documents into structured JSON, with prebuilt models, custom schemas and confidence scores.$53/moTrialWeb3.6

BAML facts

Data retention
30 days
Minimum skill level
Advanced
Price band
Free
Maker founded
2023
Training-data policy
The local toolchain does not call Boundary's servers. With BOUNDARY_API_KEY set, recordings go to Boundary Cloud and are kept 30 days on the listed plans; Boundary's privacy policy, last updated 23 January 2024, predates the cloud and states no training policy for recorded data.

Questions about BAML

How much does BAML cost?

The language and local toolchain are free and open source. Boundary Cloud, in early access, lists Starter at $0 a month with 1 GB of data and Volume at $250 a month, billed annually, with 5 GB; extra data costs $4 per GB on Starter and $3 on Volume (Boundary's pricing page, read 15 November 2026).

Is BAML free to use?

Yes. You can install it, write and test programs and generate SDKs without buying anything, and the local toolchain never contacts Boundary's servers. Only the optional Boundary Cloud is paid, and your LLM provider still bills for the model calls themselves.

Is BAML still just a structured-output tool?

Not any more. The docs home still describes a language for structured LLM outputs, but the GitHub README describes a language made for agents, while the company's front page now sells tracing and dashboards around it. Because the docs lag the product, trust the installed toolchain over older pages.

How does BAML compare with Instructor?

Instructor describes itself as a schema-first extraction library with validation and automatic retries, and its docs point to Pydantic AI when you need agents. BAML is heavier, because it adds a language and a build step, but it also generates SDKs and records every call. Choose Instructor for quick extraction inside an existing codebase, and BAML when several services should share one typed contract and one trace.

How do I install BAML and use it with a coding agent?

Install with brew install baml on macOS or Linux, the install script, yay -S baml-bin on Arch, or the PowerShell script on Windows, then run baml init. The command baml agent install installs a skill, matched to the toolchain version, for agents like Claude Code and Codex, and baml ide install --code adds the VS Code extension.

About BAML

BAML, short for Basically A Made-up Language, is an open-source programming language from Boundary, a Seattle company in Y Combinator's Winter 2023 batch, founded by Vaibhav Gupta (CEO, formerly on Google's Pixel 4 team and at Microsoft on HoloLens) and Aaron Villalpando (CTO, formerly seven years at Amazon). Its GitHub repository was created on 6 October 2023 and showed 9,509 stars under Apache-2.0 on 15 November 2026. The pitch has widened since the early structured-output days: the repository now calls BAML the programming language for agents, and Boundary's homepage sells a hyperobservable software stack, with traces and dashboards from a paid Boundary Cloud that is in early access.

Read the full background

You write .baml files that declare types and functions, with prompts inside the function bodies, and baml generate produces a typed SDK that your own code calls like a normal library. Boundary's How BAML works page lists Python, TypeScript, Go, Rust, Java, C++ and Swift, and the README adds C#. New services can also be written wholly in BAML and shipped as one binary, although Boundary's own Adopt page says not to rewrite a codebase in BAML yet because its standard library and package ecosystem are young. Running baml agent install adds a version-matched skill for coding agents such as Claude Code, and locally every call is recorded to SQLite.

It fits engineers who maintain shared LLM code across services and want a trace of each call. It sits with the AI SDKs on Hokai. Keep the toolchain, the SDK package and the generated code on one version, because a mismatch stops startup with a version skew error, and the language ships nightly builds (0.25.3 on 13 November 2026), so expect change. On 15 November 2026 Hokai read, without running it, the install script at pkg.boundaryml.com: it defaults to the canary channel (nightly is the other choice), fetches a wrapper into ~/.baml/bin after checking its SHA-256 against a published manifest, and has a --no-modify-path flag for your shell setup.

Skip BAML if you want a Python library you can install and call from one file. Instructor, which its docs offer for Python, TypeScript, Go, Ruby, Elixir and Rust, and Pydantic AI, a Python agent SDK paired with the Logfire observability platform, are the lighter steps, and Hokai has no page for either so far. LangChain is the choice when you want a large library of prebuilt chains and integrations instead of a new language.

Sources and guides

More AI Tools on Hokai

  • TiptapOpen source rich text editor framework backed by a 6,000-member Discord community; Tiptap Cloud adds AI-agent editing and paid collaboration plans.
  • DailyDaily provides WebRTC SDKs and the open-source Pipecat framework for building realtime voice and video AI agents, with 75+ global points of presence.
  • VeryfiVeryfi is a document-AI API that turns receipts, invoices and 40+ document types into structured JSON at 99.56% field accuracy.
  • AgentPhoneAgentPhone gives any AI agent its own US or Canadian phone number via 1 API call, with unified voice, SMS, real-time transcription, and built-in MCP support.
  • db-branchSelf-hosted MySQL and PostgreSQL branches on ZFS clones: the maker measured 0.5 seconds for a PostgreSQL branch on its own three-node test cluster.
  • FramerDesign and publish stunning websites without code