Skip to content

Pitch: AI Context for Free Plan #3583

@JanCizmar

Description

@JanCizmar

1. Problem

All AI customization is behind a single feature flag (AI_PROMPT_CUSTOMIZATION), available only on higher-tier plans. Free users can't set even basic context like project description or language notes — simple text fields that dramatically improve AI translation quality.

This means free users get generic, context-less AI translations (bad first impression), and there's no natural upgrade path: they never see what prompt customization can do because the entire AI settings section is locked.

Baseline: Free users have AI translation available, but every translation goes through the default prompt with no way to edit project-specific context. They have no way to tell the AI "this is a children's education app."

2. Appetite

3 days, one developer. No new data models, endpoints, or migrations — just access control changes and minor UI adjustments.

3. Solution

Split the existing AI customization into two access tiers by ungating the context data while keeping prompt customization gated.

Context Data tab — free for all plans

Remove the AI_PROMPT_CUSTOMIZATION feature gate from the Context Data tab. Free users can:

  • Set a project description (text field)
  • Set language notes per target language

These fields already exist in the data model and are already injected into the default AI prompt template. The only change is removing the feature flag from the PUT endpoints and the frontend feature check.

Prompts tab — visible but gated

The Prompts tab (prompt list, basic/advanced editor, save/load/rename) remains visible to all users. Free users can browse prompts and see the Basic tab options, but advanced features (custom Handlebars templates, prompt save/preview) stay gated behind AI_PROMPT_CUSTOMIZATION with an upgrade banner. This is already the current behavior — no changes needed here.

Edit links in Basic tab

The Basic tab within the prompt editor has inline edit links for "Project Description" and "Language Notes" that navigate to the Context Data tab. These links currently check AI_PROMPT_CUSTOMIZATION — ungate them so free users can reach the Context Data tab from the prompt editor.

4. Rabbit holes

  • No new feature flag: The pitch originally mentioned creating an ADVANCED_AI feature. We do NOT create a new feature flag in this pitch — the existing AI_PROMPT_CUSTOMIZATION continues to gate the advanced features. A separate future pitch will introduce the new feature flag when more advanced AI features are added.

5. No-gos

  • Do NOT create a new ADVANCED_AI feature flag — that's a separate future pitch
  • Do NOT move code from EE to OSS codebase — code stays in EE even though it's now available on the free plan
  • Do NOT change the permission model (keep OWNER-only for editing context data)
  • Do NOT redesign the AI settings UI or add new components
  • Do NOT change how the Prompts tab or AI Playground is gated

6. Success criteria

  • Free plan users can set project description and language notes without hitting a paywall
  • AI translations for free users incorporate their project description and language notes
  • Prompts tab still shows upgrade banner for advanced features (no regression)
  • Existing paid users experience no change in behavior

Metadata

Metadata

Assignees

Labels

pitchThe pitch according to the Shape-up approachpitch-donePitch prepared for betting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions