Overview
Engines are the AI models that power Sphinx’s reasoning, code generation, and analytical capabilities. Each engine offers a different balance of speed, accuracy, and cost. Sphinx exposes a set of engines for data science workflows: code generation, data analysis, and visualization.Available Engines
Sphinx offers two stable engines ready for production use. Additional beta engines are available in Engine Details.Memphis
Default EngineSphinx’s frontier engine, ideal for complex coding and multi-step analytical tasks.
- Primary Model: GPT-5.2
- Context: 400K tokens
Thebes
Original EngineThe original Sphinx engine, a reliable general-purpose workhorse.
- Primary Model: GPT-4.1
- Context: 1M+ tokens
Engine Details
Memphis (Default)
Memphis is Sphinx’s default engine, powered by GPT-5.2. It handles complex coding and multi-step analytical tasks.| Attribute | Value |
|---|---|
| Model | GPT-5.2 |
| Context Window | 400,000 tokens |
| Status | Stable |
- Works in small, concrete steps (one operation per cell)
- Separates cleaning, feature engineering, and modeling
- Avoids unnecessary reruns of successful code
Thebes
Thebes is the original Sphinx engine—a proven, general-purpose model for everyday data science work.| Attribute | Value |
|---|---|
| Model | GPT-4.1 |
| Context Window | 1,047,576 tokens |
| Status | Stable |
- Maximum context window - great for your largest notebooks
- Reliable, consistent performance
Siwa
Siwa is Sphinx’s speed and cost optimized engine, primarily powered by Claude Haiku 4.5. Use Siwa when you need fast iterations or are working on simpler tasks.| Attribute | Value |
|---|---|
| Model | Claude Haiku 4.5 |
| Context Window | 200,000 tokens |
| Status | Beta |
- Rapid prototyping and iteration
- Simple data transformations
- Cost-conscious workflows
Cairo
Cairo is Sphinx’s most powerful engine, built on Claude Sonnet 4.5. It delivers high quality reasoning for demanding analytical tasks.| Attribute | Value |
|---|---|
| Model | Claude Sonnet 4.5 |
| Context Window | 200,000 tokens |
| Status | Beta |
- Nuanced code generation with thorough edge case handling
- Detailed explanations and well-documented code
- Designing polished, aesthetic visualizations and plots
Choosing the Right Engine
When to use Memphis (default)
When to use Memphis (default)
Choose Memphis for most analytical work, especially:
- Multi-step data pipelines
- Complex modeling tasks
- When you want frontier capabilities without thinking about engine selection
When to use Thebes
When to use Thebes
Select Thebes when:
- You need to work with extremely large context (1M+ tokens)
When to use Siwa
When to use Siwa
Use Siwa when:
- Speed matters more than perfection
- You’re doing rapid prototyping
- The task is relatively simple
- You want to minimize costs
When to use Cairo
When to use Cairo
Switch to Cairo when:
- You want thorough edge case handling
- You need presentation-ready visualizations
- Quality matters more than speed
- You prefer Claude’s coding style and reasoning over GPT’s