Prompt Studio v1.0 is live on PyPI · pip install promptstudio-ai
/FEATURES [X 12.4, Y 08.1]

The workbench, every surface.

Prompt Studio is a structured workflow for writing better prompts · analyze, score, optimize, compress, count, map, generate, and persist. Every feature runs offline against a TypeScript fallback when the FastAPI backend isn't reachable.

[X 12.4, Y 08.1]
/F.01

Analyze

Paste a prompt, get instant feedback on structure, clarity, and completeness. Runs the full pipeline: score, issues, token count, format preview.

/F.02

Score

7-dimension breakdown · clarity, specificity, context richness, format spec, mode alignment, token efficiency, constraints · rolled into an overall letter grade A–F.

/F.03

Optimize

Rule-based improvement pass. Adds missing persona, format directives, few-shot examples, and constraints in one shot.

/F.04

Compress

Strip filler tokens without losing semantic content. Ships shorter payloads at the same intent.

/F.05

Token counter

Estimate input/output tokens and per-call USD cost across 7 models: GPT-4o, Claude 3.5, Gemini 1.5, GPT-3.5, Llama 3.1, Mistral Large, DeepSeek-V3.

/F.06

Context map

Visualize how your prompt fits across every supported context window · 16K to 1M tokens.

/F.07

Adaptive wizard

7-question guided flow that auto-generates a well-structured prompt from your intent.

/F.08

History + semantic search

Persistent session history backed by PostgreSQL. pgvector ivfflat index for cosine-similarity retrieval when embeddings are wired.

/API [X 60.1, Y 22.8]

API Reference

GET/modelsList all supported models with metadata
POST/analyzeFull pipeline · score + issues + token count + format preview
POST/score7-dimension scoring + top-3 recommendations
POST/tokens/countToken count, context window %, per-call USD cost
POST/validate/formatIssue detection + model-native format preview
POST/optimizeRule-based prompt improvement pass
POST/compare/modelsCross-model compatibility matrix
GET/wizard/questionsAdaptive wizard question set
POST/wizard/generateBuild a prompt from collected wizard answers
POST/prompt/compressFiller-token compression pass
GET/historyFetch persisted session history
POST/historySave a history entry
Try in Studio