Saving 90% on AI Costs

Stop overpaying for
AI Inference

Your AI bill is 10x higher than it should be. Most tasks like formatting, refactoring, and simple fixes don't need Claude Opus – but you're paying premium prices. Felix automatically routes 60% of your work to free models.

$ npm i -g @anatolykoptev/krolik-cli
View on GitHub
krolik-cli — node
krolik felix start --prd PRD.json
0
Cost Reduction
vs. premium-only approach
0
Auto-Tiers
Free · Cheap · Mid · Premium
0
Type Safety

Supported Providers

OpenAI Anthropic Google Gemini Groq Ollama DeepSeek

Engineered for Efficiency

A drop-in optimization layer for your AI workflow.

Multi-Tier Routing

Intelligent Routing

Felix analyzes task complexity from your PRD and automatically selects the optimal tier: 60% Free (Llama, DeepSeek), 25% Cheap (Haiku, Flash), 10% Mid (Sonnet, Pro), 5% Premium (Opus, O1).

Complexity Score Low (0.2)
-> Routing to Claude Haiku
Universal API

Universal API

One standard interface for OpenAI, Anthropic, and Google. Zero vendor lock-in.

OpenAI Anthropic Google
Cascade Fallback

Cascade Fallback

Fail-safe reliability. Model failure triggers instant retry on next tier.

Heuristic Learning

SQLite-Based History Learning

Felix tracks every routing decision in a local SQLite database: success rates, latency, and task patterns. Routes similar tasks to models that performed well historically. Accuracy improves from 80% initially to 95%+ after 100 tasks.

Quick Start

Three simple steps to start saving on AI costs

1

Install

npm i -g @anatolykoptev/krolik-cli
2

Configure

Add API keys for your preferred models (Anthropic, Google, Groq, etc.)

3

Run & Monitor

Execute tasks with krolik felix start and track routing stats with krolik felix stats

Integrations

Works seamlessly with your existing tools and workflows

Claude Code

Native MCP integration for seamless AI-assisted development

claude mcp add krolik

CI/CD Pipelines

GitHub Actions, GitLab CI, Jenkins integration out of the box

krolik felix start

IDE Support

VS Code, JetBrains IDEs via MCP protocol integration

MCP Compatible

Universal CLI

Works in any terminal: Bash, Zsh, Fish, PowerShell

Cross-platform

More integrations coming soon. Request a feature →

Simple to Use

Get started with Krolik Felix in seconds.

PRD.json
{
  "name": "Add user authentication",
  "tasks": [
    {
      "id": "create-user-model",
      "description": "Create Prisma User model",
      "complexity": "low"
    },
    {
      "id": "implement-jwt-auth",
      "description": "JWT authentication logic",
      "complexity": "high"
    }
  ]
}
terminal
# Run Felix with PRD
krolik felix start --prd PRD.json
Task 1: Low complexity
Routed to Cheap (Haiku) — $0.001
Task 2: High complexity
Routed to Premium (Opus) — $0.08
Total cost: $0.081

Felix Commands

krolik felix start

Execute tasks from PRD

krolik felix plan

Get routing dry-run

krolik felix stats

View routing statistics

krolik felix estimate

Calculate cost projection

Developer Tools

krolik context

Project context in seconds

krolik mem save

Persistent AI memory

krolik audit

Find quality issues

krolik fix

Auto-fix code issues

Real-World Savings

Stop burning money on over-provisioned models. 100 tasks comparison.

Standard Way

Everything on Claude Opus

Inefficient
Simple (60%) $0.50
Medium (25%) $3.00
Complex (15%) $8.00
Total Cost $1,500

With Krolik

Intelligent Routing

Optimized
Simple (60%) $0.00
Medium (25%) $0.50
Complex (15%) $8.00
Total Cost $150
90% SAVINGS

Built for Every Development Team

From solo developers to enterprises, Felix adapts to your scale and budget

Solo Developers

Ship side projects faster without breaking the bank. Felix routes 60%+ of tasks to free models.

  • $5-15/month typical AI cost
  • Perfect for MVPs and prototypes
  • CLI integration with your workflow

Startups

Scale efficiently with intelligent routing. Reduce burn rate while maintaining development velocity.

  • Save $500-2,000/month per developer
  • Team collaboration with shared memory
  • Scales from 2-20+ developers

Enterprises

Cost governance at scale. Control AI spend across hundreds of developers with transparent routing.

  • $10K-50K+/month typical savings
  • Audit logs and cost attribution
  • Self-hosted deployment option

🐰 Felix learns your team's patterns over time, improving cost savings with every task

Trusted by Developers Worldwide

Join teams saving thousands on AI costs

-
GitHub Stars
Star on GitHub →
-
Weekly Downloads
View on npm →
15+
Supported Models
Anthropic · Google · OpenAI · Groq

Open Source & Free

Apache 2.0 / FSL-1.1. You only pay for the API tokens you use.

$0
Forever
Unlimited local usage
All features included
Community support
Transparent License
Get Started

Common Questions

Everything you need to know about Krolik Felix

Still have questions?

Ask on GitHub Discussions

Ready to optimize?

Join developers saving 90% on AI API costs. Open source, TypeScript-native, and production ready.