Softwr

Automation Integration · head to head

Hatchet vs pytest

Hatchet logo

Hatchet

Automation Integration

Postgres-backed distributed task queue and workflow engine for Python, TypeScript and Go

From
Free
Free plan
Yes
pytest logo

pytest

Testing

Python testing framework maintained by an independent core team funded partly through Tidelift

From
Free
Free plan
Yes

The short version

  • pytest is free; Hatchet starts at $500/mo.
  • Only Hatchet lists postgres-backed queue; only pytest lists assert-based test syntax.
  • Prices and features on this page were last checked on 20 November 2026.

How do Hatchet and pytest differ?

Hatchet and pytest differ on pricing model, platforms and category. Only the attributes on which Hatchet and pytest actually diverge.

Attributes where Hatchet and pytest differ
AttributeHatchetpytest
Pricing modelPer month by task run countOpen source, no licence fee
PlatformsLinux, Self-hosted, WebLinux, macOS, Windows
CategoryAutomation IntegrationTesting

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Hatchet.

Which features does each one have?

They share no listed features; 8 appear only for Hatchet and 6 only for pytest. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Hatchet

  • Postgres-backed queue
  • Durable execution
  • DAG workflows
  • Concurrency and fairness
  • Rate limiting
  • Cron and scheduling
  • Multi-language SDKs
  • Self-hosting

Only in pytest

  • Assert-based test syntax
  • Fixture system
  • Parametrised testing
  • Plugin ecosystem
  • Detailed assertion introspection
  • Test discovery

What is each one used for?

The jobs each tool is most often brought in to do.

Hatchet

  • An AI product running long agent pipelines that must survive worker restarts and resume mid-workflownot pytest
  • A team that outgrew Celery and wants concurrency keys, fairness and rate limiting without building themnot pytest
  • An engineering group that wants durable execution self-hosted with no datastore beyond the Postgres they already runnot pytest
  • A multi-tenant SaaS that needs one noisy customer's jobs not to starve everyone else'snot pytest

pytest

  • A Python team moving off the standard library's unittest module for a less verbose, fixture-driven testing stylenot Hatchet
  • A project needing parametrised tests to cover many input combinations without duplicating test codenot Hatchet
  • A team wanting a large plugin ecosystem for coverage, async testing or Django-specific test supportnot Hatchet
  • An organisation wanting a commercial support and maintenance assurance layer via a Tidelift subscription rather than relying purely on community response timesnot Hatchet

Where do Hatchet and pytest fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hatchet

  • Postgres as the queue backend simplifies operations but sets a throughput ceiling, and very high task rates require database tuning or partitioning work that a purpose-built queue would not demand
  • Data retention on the managed tiers is three days on Team and seven on Scale, which is short for debugging intermittent failures and forces you to export run history elsewhere
  • The step from the free tier to Team is 500 US dollars a month plus usage, which is a large increment for a small team that simply needs a production SLA
  • Hatchet is a young company in a category with Temporal, Inngest and cloud-native alternatives already established, so ecosystem, hiring pool and third-party material are all thin
  • Self-hosting the MIT engine is realistic but you then run the engine, its Postgres and its workers yourself, and the managed features such as audit logs and support are not part of that

pytest

  • There is no corporate owner or dedicated support organisation, so response time on bugs or security issues depends on volunteer maintainer availability unless a Tidelift subscription is purchased separately
  • The plugin ecosystem's quality and maintenance level varies widely between plugins, and a team building a workflow around several plugins takes on the risk of any one of them going unmaintained
  • Its assert-rewriting magic, while convenient, can behave unexpectedly in edge cases involving custom assert helpers, which occasionally confuses developers used to explicit assertion methods
  • Large test suites with many fixtures can develop hard-to-trace fixture dependency chains, since fixtures can depend on other fixtures in ways that are not always obvious from a single test file
  • Being free and volunteer-maintained, roadmap direction is set by contributor consensus rather than a company with commercial incentive to prioritise enterprise-requested features quickly

How much do Hatchet and pytest cost?

Hatchet has a free plan, with paid plans from $500/mo; pytest is free to use. Plan by plan below, from each vendor's own pricing page.

Hatchet

Free
  • DeveloperFree
    • First 100,000 task runs included
    • $10 per million task runs after
    • No card required
  • Team$500/mo
    • Usage billed on top of the base fee
    • 10 users and 5 tenants
    • 3 day data retention
  • Scale$1,000/mo
    • Unlimited users and tenants
    • 7 day data retention
    • Audit logs
  • EnterpriseOn request
    • 300 million plus runs a month
    • Latency guarantees and custom SLAs
    • SSO and audit logging

pytest

Free
  • pytestFree
    • Full functionality, no usage limits
    • Community support via GitHub
    • Optional Tidelift subscription for a commercial support and licence assurance layer

Which should you pick?

Choose Hatchet if

  • You need postgres-backed queue.
  • You want to start without paying.
  • You work on Linux, Self-hosted, Web.
  • You also want durable execution.

Choose pytest if

  • You need assert-based test syntax.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want fixture system.

Questions people ask

Is Hatchet or pytest better?
Neither clearly leads. Hatchet starts at Free and pytest at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Hatchet or pytest?
Hatchet starts at Free and pytest at Free.
Does Hatchet or pytest run on more platforms?
Hatchet runs on Linux, Self-hosted, Web. pytest runs on Linux, macOS, Windows.
Can I use Hatchet for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hatchet best used for?
Hatchet is most often used for an ai product running long agent pipelines that must survive worker restarts and resume mid-workflow, a team that outgrew celery and wants concurrency keys, fairness and rate limiting without building them, an engineering group that wants durable execution self-hosted with no datastore beyond the postgres they already run, a multi-tenant saas that needs one noisy customer's jobs not to starve everyone else's. Of those, an ai product running long agent pipelines that must survive worker restarts and resume mid-workflow and a team that outgrew celery and wants concurrency keys, fairness and rate limiting without building them are not what pytest is typically brought in for.
What can Hatchet do that pytest cannot?
Hatchet covers Postgres-backed queue, Durable execution, DAG workflows, Concurrency and fairness. pytest covers Assert-based test syntax, Fixture system, Parametrised testing, Plugin ecosystem.

Answered from the vendors’ own pages

Hatchet: Is Hatchet open source?

Yes, the engine is MIT licensed and can be self-hosted, with a managed cloud offered alongside.

pytest: Is pytest owned by a company?

No, it is maintained by the pytest-dev volunteer community with no single corporate parent; some maintainers receive partial funding through Tidelift subscriptions.

Hatchet: What does it cost?

Free for the first 100,000 task runs, then 10 US dollars per million. Team is 500 US dollars a month plus usage; Scale is 1,000.

pytest: Is there a paid version?

No, pytest itself is free and open source; buyers can optionally pay for a Tidelift subscription for commercial assurance and support.

Hatchet: Why Postgres as the queue?

So durable task state lives in a database your team already backs up, replicates and can inspect with SQL, instead of a second system.

pytest: Does it replace the standard library unittest module?

It does not replace unittest at the language level, but it is now the de facto standard choice for most Python projects over unittest's more verbose syntax.

Hatchet: How does it compare with Temporal?

Lighter to adopt and operate, with a much smaller ecosystem and a lower throughput ceiling from the Postgres backend.

Share

Related pages

Other head to heads