Softwr

Cybersecurity · head to head

Optuna vs Ory

Optuna logo

Optuna

Cybersecurity

Open-source Python framework for automated hyperparameter optimisation

From
Free
Free plan
Yes
Ory logo

Ory

Cybersecurity

Open-source identity, authentication, and permissions infrastructure

From
Free
Free plan
Yes

The short version

  • Optuna is an MIT-licensed hyperparameter optimisation framework.
  • Optuna is free; Ory starts at $64/mo.
  • Only Optuna lists define-by-run search spaces; only Ory lists authentication APIs.
  • Where Optuna falls short: searches are only as good as the objective and search space defined.
  • Where Ory falls short: SAML SSO and multi-region deployments are reserved for the custom-priced Enterprise tier.

How do Optuna and Ory differ?

Optuna and Ory differ on pricing model (Open-source against Usage-based) and platforms (Web against Web, API). Only the attributes on which Optuna and Ory actually diverge.

Attributes where Optuna and Ory differ
AttributeOptunaOry
Pricing modelOpen-sourceUsage-based
PlatformsWebWeb, API

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

Not yet recorded: category for Optuna, founded for Optuna.

Which features does each one have?

They share no listed features; 7 appear only for Optuna and 6 only for Ory. 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 Optuna

  • Define-by-run search spaces
  • Pruning of unpromising trials
  • Parallel and distributed search
  • Framework-agnostic integrations
  • Optuna Dashboard
  • OptunaHub feature sharing
  • Multiple search algorithms

Only in Ory

  • Authentication APIs
  • Permissions engine
  • Machine-to-machine tokens
  • B2B organizations
  • SAML SSO
  • Multi-region deployments

What is each one used for?

Optuna is most often brought in for tuning deep learning models; Ory for adding self-hosted or cloud identity to a new product. The jobs each tool is most often brought in to do.

Optuna

  • Tuning deep learning modelsnot Ory
  • Tuning gradient-boosted treesnot Ory
  • Pruning slow experiments earlynot Ory
  • Parallel searches across machinesnot Ory

Ory

  • Adding self-hosted or cloud identity to a new productnot Optuna
  • Implementing fine-grained permission checksnot Optuna
  • Supporting B2B organizations and multi-tenancynot Optuna
  • Building machine-to-machine authentication for microservicesnot Optuna

Where do Optuna and Ory fall short?

Optuna's most cited limit: searches are only as good as the objective and search space defined. Ory's: SAML SSO and multi-region deployments are reserved for the custom-priced Enterprise tier. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Optuna

  • Searches are only as good as the objective and search space defined
  • Distributed runs need a shared storage backend set up by the user
  • Works only with Python code, so non-Python teams cannot use it
  • Tuning only; no experiment tracking or deployment features

Ory

  • Production and Growth plans are billed annually ($770/year and $9,350/year), which is a larger upfront commitment than monthly-only competitors
  • SAML SSO and multi-region deployments are reserved for the custom-priced Enterprise tier
  • Usage-based pricing across aDAU, M2M tokens, and permission checks makes cost estimation more complex than flat per-MAU billing

How much do Optuna and Ory cost?

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

Optuna

Free

No published plan breakdown. See the Optuna review.

Ory

Free
  • DeveloperFree
    • Community support
    • No production environments
  • Production$64/mo
    • $21 monthly credit included
    • 1 production environment
    • 3 staging environments
  • Growth$779/mo
    • $255 monthly credit included
    • 2 production environments
    • B2B organizations (max 3)

Which should you pick?

Choose Optuna if

  • You need define-by-run search spaces.
  • You want to start without paying.
  • You also want pruning of unpromising trials.

Choose Ory if

  • You need authentication apis.
  • You want to start without paying.
  • You work on Web, API.
  • You also want permissions engine.

Questions people ask

Is Optuna or Ory better?
It depends on the job. Optuna fits tuning deep learning models; Ory fits adding self-hosted or cloud identity to a new product. Optuna starts at Free and Ory at Free.
Which is cheaper, Optuna or Ory?
Optuna starts at Free and Ory at Free.
Does Optuna or Ory run on more platforms?
Optuna runs on Web. Ory runs on Web, API.
Can I use Optuna for free?
Both have a free tier, so you can try either at no cost before committing.
What is Optuna best used for?
Optuna is most often used for tuning deep learning models, tuning gradient-boosted trees, pruning slow experiments early, parallel searches across machines. Of those, tuning deep learning models and tuning gradient-boosted trees are not what Ory is typically brought in for.
What can Optuna do that Ory cannot?
Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations. Ory covers Authentication APIs, Permissions engine, Machine-to-machine tokens, B2B organizations.

Answered from the vendors’ own pages

Optuna: What licence does Optuna use?

The MIT License.

Source
Ory: What does Ory cost?

Ory has a free Developer tier, a Production plan at $770/year including a $21 monthly credit, a Growth plan at $9,350/year including a $255 monthly credit, and custom Enterprise pricing.

Source
Optuna: Who develops Optuna?

Preferred Networks, which first introduced it in 2018.

Source
Ory: How is usage metered?

Beyond the included credit, Ory charges per average daily active user (aDAU), per machine-to-machine token, and per permission check, with lower per-unit rates on the Growth plan.

Source
Optuna: What Python version is needed?

Python 3.10 or newer.

Source
Ory: What payment methods are supported?

Ory accepts credit cards (Visa, MasterCard, Amex) and bank transfer, processed via Stripe.

Source
Share

Related pages

Other head to heads