Decision Workspace
openai-ergonomic vs tiktoken-rs vs openai-rust2
Side-by-side comparison of Rust crates
52
openai-ergonomic
experimentalv0.5.2
Ergonomic Rust wrapper for OpenAI API
59
tiktoken-rs
growingv0.9.1
Library for encoding and decoding with the tiktoken library in Rust
57
openai-rust2
stablev1.7.2
An unofficial library for the OpenAI API
Core Metrics
| openai-ergonomic | tiktoken-rs | openai-rust2 | |
|---|---|---|---|
| Health Score | 52 | 59 | 57 |
| Total Downloads | 1.5K | 5.3M | 6.1K |
| 30d Downloads | 11 | 848.2K | 95 |
| Dependents | 0 | 3.8K | 43 |
| Releases | 7 | 32 | 11 |
| Last Updated | 47d ago | 138d ago | 109d ago |
| Age | 6m | 3y 1m | 1y 2m |
Health Breakdown
openai-ergonomic
Maintenance
16
Quality
11
Community
6
Popularity
4
Documentation
15
tiktoken-rs
Maintenance
12
Quality
12
Community
12
Popularity
8
Documentation
15
openai-rust2
Maintenance
13
Quality
17
Community
9
Popularity
5
Documentation
13
Technical Details
| openai-ergonomic | tiktoken-rs | openai-rust2 | |
|---|---|---|---|
| Version | 0.5.2 | 0.9.1 | 1.7.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 26 | 9 | 10 |
| Crate Size | 318KB | 3.8MB | 27KB |
| Features | 4 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.88 | 1.61.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tiktoken-rs leads with a health score of 59/100, but none of the options score above 80.
- •tiktoken-rs is depended on by 3.8K crates — strongest ecosystem trust.
- •openai-ergonomic, tiktoken-rs are pre-1.0 — API may change.