---
title: "femtoGPT vs rtk"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/keyvank-femtogpt-vs-rtk-ai-rtk"
tools: ["keyvank-femtogpt", "rtk-ai-rtk"]
---

# femtoGPT vs rtk

*GraphCanon updated Aug 16, 2026*

## Verdict

Pick femtoGPT if a minimalistic GPT-style language model framework in Rust, suitable for both CPU and GPU inference and training via OpenCL; pick rtk if rtk is a Rust-based CLI tool aimed at reducing LLM token consumption for common development commands.

[femtoGPT](https://discord.gg/wTJFaDVn45) reports 935 GitHub stars, 67 forks, and 10 open issues, last pushed Oct 21, 2025. [rtk](https://www.rtk-ai.app) has 76k stars, 4.8k forks, and 2.0k open issues, last pushed Aug 15, 2026. Figures are from public GitHub metadata via [femtoGPT's repository](https://github.com/keyvank/femtoGPT) and [rtk's repository](https://github.com/rtk-ai/rtk).

| | [femtoGPT](/tools/keyvank-femtogpt.md) | [rtk](/tools/rtk-ai-rtk.md) |
| --- | --- | --- |
| Tagline | Pure Rust implementation of a minimal Generative Pretrained Transformer | CLI proxy reducing LLM token consumption by 60-90% on common dev commands |
| Stars | 935 | 76,247 |
| Forks | 67 | 4,795 |
| Open issues | 10 | 1,973 |
| Language | Rust | Rust |
| Adopt for | A minimalistic GPT-style language model framework in Rust, suitable for both CPU and GPU inference and training via OpenCL. | rtk is a Rust-based CLI tool aimed at reducing LLM token consumption for common development commands. |
| Persona | developer harness | - |
| Runtime | - | - |
| License | MIT License, permitting any use as long as all copyright and license information are retained. | Apache-2.0 |
| Categories | LLM Frameworks, Model Training | Developer Tools |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [femtoGPT](/tools/keyvank-femtogpt.md) | [rtk](/tools/rtk-ai-rtk.md) |
| --- | --- | --- |
| Maintenance | Slowing (36%) | Very active (96%) |
| Days since push | 290d | 1d |
| Open issues (now) | 10 | 2.0k |
| Stars delta | Unknown | +4.9k (30d) |
| Open issues delta | Unknown | +358 (30d) |
| Owner type | User | Organization |
| Full report | [trust report](/tools/keyvank-femtogpt/trust.md) | [trust report](/tools/rtk-ai-rtk/trust.md) |

## Decision facts: femtoGPT

- **Requirements:** Requires the Rust toolchain installed on your system.; If targeting GPU usage, correct installation of GPU drivers along with OpenCL runtimes is necessary.
- **Adopt for:** A minimalistic GPT-style language model framework in Rust, suitable for both CPU and GPU inference and training via OpenCL.
- **License detail:** MIT License, permitting any use as long as all copyright and license information are retained.
- **Persona:** developer harness

## Decision facts: rtk

- **Pricing:** freemium - rtk is available under the Apache-2.0 license and is free for use in open-source projects.
- **Adopt for:** rtk is a Rust-based CLI tool aimed at reducing LLM token consumption for common development commands.

## Choose when

### Choose femtoGPT if…

- License: femtoGPT is MIT, rtk is Apache-2.0.
- Requirements: Requires the Rust toolchain installed on your system.; If targeting GPU usage, correct installation of GPU drivers along with OpenCL runtimes is necessary..
- Tags unique to femtoGPT: from-scratch, gpt, gpu, machine-learning.
- Also covers LLM Frameworks, Model Training.
- When you want a pure Rust implementation that provides an easy-to-understand basis for learning about the inner workings of AI models.

### Choose rtk if…

- License: rtk is Apache-2.0, femtoGPT is MIT.
- Pricing: rtk is available under the Apache-2.0 license and is free for use in open-source projects..
- Tags unique to rtk: agentic-coding, ai-coding, anthropic, claude-code.
- Also covers Developer Tools.
- - Use rtk when you want to significantly reduce the tokens consumed by your language models during typical dev tasks, potentially lowering costs by up to 90%.

## When NOT to use femtoGPT

- When high performance is required as femtoGPT operates relatively slower compared to optimized models, especially for large-scale training.
- If your project strictly needs CUDA-based optimization specific to NVIDIA GPUs, given that femtoGPT leverages OpenCL for GPU support.
- In cases where the project demands a fully tested and production-ready model; femtoGPT's architecture correctness is not guaranteed due to possible implementation errors.

## When NOT to use rtk

- - Avoid using rtk if your workflow requires extensive command customization that would conflict with the tool’s predefined optimizations.
- - Do not use rtk for development tasks outside of common dev commands where significant token reductions might not impact efficiency or costs as much. For more specialized or unique commands, other L1

## Common questions

### What is the difference between femtoGPT and rtk?

femtoGPT: Pure Rust implementation of a minimal Generative Pretrained Transformer. rtk: CLI proxy reducing LLM token consumption by 60-90% on common dev commands. See the comparison table for live GitHub stats and shared categories.

### When should I choose femtoGPT over rtk?

Choose femtoGPT over rtk when License: femtoGPT is MIT, rtk is Apache-2.0; Requirements: Requires the Rust toolchain installed on your system.; If targeting GPU usage, correct installation of GPU drivers along with OpenCL runtimes is necessary.; Tags unique to femtoGPT: from-scratch, gpt, gpu, machine-learning; Also covers LLM Frameworks, Model Training; When you want a pure Rust implementation that provides an easy-to-understand basis for learning about the inner workings of AI models.

### When should I choose rtk over femtoGPT?

Choose rtk over femtoGPT when License: rtk is Apache-2.0, femtoGPT is MIT; Pricing: rtk is available under the Apache-2.0 license and is free for use in open-source projects.; Tags unique to rtk: agentic-coding, ai-coding, anthropic, claude-code; Also covers Developer Tools; - Use rtk when you want to significantly reduce the tokens consumed by your language models during typical dev tasks, potentially lowering costs by up to 90%.

### When should I avoid femtoGPT?

When high performance is required as femtoGPT operates relatively slower compared to optimized models, especially for large-scale training. If your project strictly needs CUDA-based optimization specific to NVIDIA GPUs, given that femtoGPT leverages OpenCL for GPU support. In cases where the project demands a fully tested and production-ready model; femtoGPT's architecture correctness is not guaranteed due to possible implementation errors.

### When should I avoid rtk?

- Avoid using rtk if your workflow requires extensive command customization that would conflict with the tool’s predefined optimizations. - Do not use rtk for development tasks outside of common dev commands where significant token reductions might not impact efficiency or costs as much. For more specialized or unique commands, other L1

### Is femtoGPT or rtk more popular on GitHub?

rtk has more GitHub stars (76,247 vs 935). Stars measure visibility, not whether either tool fits your constraints.

### Are femtoGPT and rtk open source?

Yes - both are open-source projects on GitHub (femtoGPT: MIT, rtk: Apache-2.0).

### Where can I find alternatives to femtoGPT or rtk?

GraphCanon lists graph-backed alternatives at [femtoGPT alternatives](/tools/keyvank-femtogpt/alternatives) and [rtk alternatives](/tools/rtk-ai-rtk/alternatives) ([femtoGPT markdown twin](/tools/keyvank-femtogpt/alternatives.md), [rtk markdown twin](/tools/rtk-ai-rtk/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/keyvank-femtogpt-vs-rtk-ai-rtk.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, femtoGPT or rtk?

femtoGPT: Slowing. rtk: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for femtoGPT and rtk?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [femtoGPT trust report](/tools/keyvank-femtogpt/trust); [rtk trust report](/tools/rtk-ai-rtk/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=keyvank-femtogpt`](/api/graphcanon/graph?tool=keyvank-femtogpt)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
