Skip to main content
← Back to glossary

Price per token

Optimization

The unit cost you pay for inference on APIs and providers: a price per million input tokens and, separately, per million output tokens. Comparing it with your own hardware's per-token cost (electricity bill + amortization) tells you when owning beats calling an API.

Related articles

This term in other languages