Softwr

Software Development · head to head

Optuna vs TeamCity

Optuna logo

Optuna

Software Development

Open-source Python framework for automated hyperparameter optimisation

From
Free
Free plan
Yes
TeamCity logo

TeamCity

Software Development

JetBrains continuous integration and delivery server

From
Free
Free plan
Yes

The short version

  • Optuna is an MIT-licensed hyperparameter optimisation framework.
  • Both are free.
  • Only Optuna lists define-by-run search spaces; only TeamCity lists build Chains.
  • Where Optuna falls short: searches are only as good as the objective and search space defined.
  • Where TeamCity falls short: detailed pricing requires visiting a calculator and isn't transparent on the main pricing page.

How do Optuna and TeamCity differ?

Optuna and TeamCity differ on pricing model (Open-source against Freemium) and platforms. Only the attributes on which Optuna and TeamCity actually diverge.

Attributes where Optuna and TeamCity differ
AttributeOptunaTeamCity
Pricing modelOpen-sourceFreemium
PlatformsWebWeb, Windows, macOS, Linux, API

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

Not yet recorded: category for Optuna.

Which features does each one have?

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

  • Build Chains
  • Parallel Test Execution
  • VCS Integration
  • Build History & Analytics
  • Docker & Kubernetes Support
  • Access Control

What is each one used for?

Optuna is most often brought in for tuning deep learning models; TeamCity for running build and test pipelines for enterprise software teams. The jobs each tool is most often brought in to do.

Optuna

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

TeamCity

  • Running build and test pipelines for enterprise software teamsnot Optuna
  • Self-hosting CI/CD infrastructure behind a firewallnot Optuna
  • Coordinating multi-stage build chains with dependenciesnot Optuna
  • Scaling build capacity with additional agentsnot Optuna

Where do Optuna and TeamCity fall short?

Optuna's most cited limit: searches are only as good as the objective and search space defined. TeamCity's: detailed pricing requires visiting a calculator and isn't transparent on the main pricing page. 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

TeamCity

  • Detailed pricing requires visiting a calculator and isn't transparent on the main pricing page
  • Self-hosted setup and agent management require more operational overhead than fully managed CI/CD services
  • Additional build agents and users are priced incrementally, which can add up for larger teams
  • The UI and configuration model have a steeper learning curve compared to YAML-first CI tools

How much do Optuna and TeamCity cost?

Optuna is free to use; TeamCity is free to use. Plan by plan below, from each vendor's own pricing page.

Optuna

Free

No published plan breakdown. See the Optuna review.

TeamCity

Free
  • Free TierFree
    • Includes 3 build agents
    • 100 build configurations
    • On-premises or Cloud
  • TeamCity Cloud / On-PremisesOn request
    • Priced per additional build agent
    • Additional users on Cloud plans
    • Enterprise support options

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 TeamCity if

  • You need build chains.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux, API.
  • You also want parallel test execution.

Questions people ask

Is Optuna or TeamCity better?
It depends on the job. Optuna fits tuning deep learning models; TeamCity fits running build and test pipelines for enterprise software teams. Optuna starts at Free and TeamCity at Free.
Which is cheaper, Optuna or TeamCity?
Optuna starts at Free and TeamCity at Free.
Does Optuna or TeamCity run on more platforms?
Optuna runs on Web. TeamCity runs on Web, Windows, macOS, Linux, 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 TeamCity is typically brought in for.
What can Optuna do that TeamCity cannot?
Optuna covers Define-by-run search spaces, Pruning of unpromising trials, Parallel and distributed search, Framework-agnostic integrations. TeamCity covers Build Chains, Parallel Test Execution, VCS Integration, Build History & Analytics.

Answered from the vendors’ own pages

Optuna: What licence does Optuna use?

The MIT License.

Source
TeamCity: How much does TeamCity cost?

TeamCity offers a free download option but specific pricing for commercial use is not detailed on the website. Customers must contact JetBrains for licensing and pricing information.

Source
Optuna: Who develops Optuna?

Preferred Networks, which first introduced it in 2018.

Source
TeamCity: Is TeamCity free to use?

TeamCity has a free option available for download, but full pricing and licensing details require contacting JetBrains directly.

Source
Optuna: What Python version is needed?

Python 3.10 or newer.

Source
Share

Related pages

Other head to heads