Gemma 3n 4B vs MiniMax M1
Compare Gemma 3n 4B by Google AI against MiniMax M1 by MiniMax, context windows of 33K vs 1.0M, tested across 17 shared challenges. Updated February 2026.
Compare Gemma 3n 4B by Google AI against MiniMax M1 by MiniMax, context windows of 33K vs 1.0M, tested across 17 shared challenges. Updated February 2026.
17 challenges
Recreate an interactive, nostalgic Pokémon battle UI in a single HTML file.
Recreate an interactive, classic Mario level in a single HTML file.
Couldn't render this response
This model didn't return a displayable web page for this challenge.
<!DOCTYPE html>
<html>
<head>
<title>Super Mario Bros. Level</title>
>
<style>
body {
margin: 0;
overflow: hidden;
background: #87CEEB;
font-family: 'Press Start 2P', system-ui, -apple-system, sans-serif;
}
#gameCanvas {
display: block;
margin: 0 auto;
background: #87CEEB;
}
#score {
position: absolute;
top: 20px;
left: 20px;
color: white;
font-size: 20px;
text-shadow: 2px 2px 0 #000;
}
#instructions {
position: absolute;
bottom: 20px;
left: 20px;
color: white;
font-size: 14px;
text-shadow: 1px 1px 0 #000;
}
</style>
>
</head>
<body<body>
<div id="score">SCORE: 0</div>
<div id="instructions">←→ TO MOVE | ↑ TO JUMP | REACH THE FLAG!!</div>
<canvas id="gameCanvas" width="800" height="600">"></canvas>
>
<script>
const canvas = document.getElementById('gameCanvas');
const ctx = canvas.getContext('2d');
let score = 0;
const gravity = 0.5;
const friction = 0.8;
// Game objects
const mario = {
x: 50,
y: 450,
width: 40,
height: 60,
speed: 5,
velX: 0,
velY: 0,
grounded: false,
jumping: false,
color: '#FF0000'
};
const platforms = [
{ x: 0, y: 550, width: 800, height: 50, color: '#8B4513' }, // Ground
{ x: 200, y: 450, width: 100, height: 20, color: '#8B4513' }, // Platform 1
{ x: 400, y: 350, width: 100, height: 20, color: '#8B4513' }, // Platform 2
{ x: 600, y: 250, width: 100, height: 20, color: '#8B4513' } // Platform 3
];
const enemies = [
{ x: 250, y: 430, width: 30, height: 30, velX: 2, color: '#000000' },
{ x: 450, y: 330, width: 30, height: 30, velX: 2, color: '#000000' },
{ x: 650, y: 230, width: 30, height: 30, velX: 2, color: '#000000' }
];
const coins = [
{ x: 220, y: 430, width: 20, height: 20, collected: false, color: '#FFD700' },
{ x: 420, y: 330, width: 20, height: 20, collected: false, color: '#FFD700' },
{ x: 620, y: 230, width: 20, height: 20, collected: false, color: '#FFD700' }
];
const flag = { x: 700, y: 200, width: 30, height: 50, color: '#00FF00' };
// Input handling
const keys = {};
document.addEventListener('keydown', e => keys[e.key] = true);
document.addEventListener('keyup', e => keys[e.key] = false);
// Game loop
function gameLoop() {
// Clear canvas
ctx.fillStyle = '#87CEEB';
ctx.fillRect(0, 0, canvas.width, canvas.height);
// Draw clouds
drawClouds();
// Update Mario
updateMario();
// Update enemies
updateEnemies();
// Check collisions
checkCollisions();
// Draw game elements
drawGameElements();
requestAnimationFrame(gameLoop);
}
function updateMario() {
// Movement
if (keys['ArrowLeft']) mario.velX = -mario.speed;
if (keys['ArrowRight']) mario.velX = mario.speed;
if (keys['ArrowUp'] && mario.grounded) {
mario.velY = -12;
mario.grounded = false;
}
// Physics
mario.velX *= friction;
mario.velY += gravity;
mario.x += mario.velX;
mario.y += mario.velY;
// Boundaries
if (mario.x < 0) mario.x = 0;
if (mario.x + mario.width > canvas.width) mario.x = canvas.width - mario.width;
// Reset if fallen off
if (mario.y > canvas.height) {
mario.x = 50;
mario.y = 450;
mario.velY = 0;
}
// Platform collision
mario.grounded = false;
platforms.forEach(p => {
if (mario.x + mario.width > p.x &&
mario.x < p.x + p.width &&
mario.y + mario.height >= p.y &&
mario.y + mario.height <= p.y + 10 &&
mario.velY > 0) {
mario.grounded = true;
mario.y = p.y - mario.height;
mario.velY = 0;
}
});
}
function updateEnemies() {
enemies.forEach((e, index) => {
e.x += e.velX;
// Platform collision
platforms.forEach(p => {
if (e.x + e.width > p.x &&
e.x < p.x + p.width &&
e.y + e.height >= p.y &&
e.y + e.height <= p.y + 5) {
if (e.x <= p.x || e.x + e.width >= p.x + p.width) {
e.velX *= -1;
}
}
});
});
}
function checkCollisions() {
// Enemy collision
enemies.forEach((e, index) => {
if (mario.x + mario.width > e.x &&
mario.x < e.x + e.width &&
mario.y + mario.height > e.y &&
mario.y < e.y + e.height) {
if (mario.velY > 0 && mario.y + mario.height < e.y + e.height) {
enemies.splice(index, 1);
mario.velY = -10;
score += 20;
} else {
mario.x = 50;
mario.y = 450;
mario.velY = 0;
}
}
});
// Coin collection
coins.forEach(c => {
if (!c.collected &&
mario.x + mario.width > c.x &&
mario.x < c.x + c.width &&
mario.y + mario.height > c.y &&
mario.y < c.y + c.height) {
c.collected = true;
score += 10;
}
});
// Flag collision (win condition)
if (mario.x + mario.width > flag.x &&
mario.x < flag.x + flag.width &&
mario.y + mario.height > flag.y &&
mario.y < flag.y + flag.height) {
alert('YOU WIN!\nSCORE: ' + score + '');
resetGame();
}
// Update score display
document.getElementById('score').textContent = 'SCORE: ' + score + '';
}
function drawGameElements() {
// Draw platforms
platforms.forEach(p => {
ctx.fillStyle = p.color;
ctx.fillRect(p.x, p.y, p.width, p.height);
});
// Draw coins
coins.forEach(c => {
if (!c.collected) {
ctx.fillStyle = c.color;
ctx.beginPath();
ctx.arc(c.x + 10, c.y + 10, 10, 0, Math.PI * 2);
ctx.fill();
}
});
// Draw enemies
enemies.forEach(e => {
ctx.fillStyle = e.color;
ctx.fillRect(e.x, e.y, e.width, e.height);
// Draw eyes
ctx.fillStyle = 'white';
ctx.fillRect(e.x + 7, e.y + 8, 5, 5);
ctx.fillRect(e.x + 18, e.y + 8, 5, 5);
});
// Draw flag
ctx.fillStyle = flag.color;
ctx.fillRect(flag.x, flag.y, flag.width, flag.height);
// Flag pole
ctx.strokeStyle = '#654321';
ctx.lineWidth = 5;
ctx.beginPath();
ctx.moveTo(flag.x, 250);
ctx.lineTo(flag.x, flag.y);
ctx.stroke();
// Draw Mario
ctx.fillStyle = mario.color;
ctx.fillRect(mario.x, mario.y, mario.width, mario.height);
// Mario eyes
ctx.fillStyle = 'white';
ctx.fillRect(mario.x + 10, mario.y + 15, 8, 8);
ctx.fillRect(mario.x + 22, mario.y + 15, 8, 8);
}
function drawClouds() {
ctx.fillStyle = 'rgba(255, 255, 255, 0.8)';
// Cloud 1
ctx.beginPath();
ctx.arc(100, 100, 20, 0, Math.PI * 2);
ctx.arc(130, 90, 20, 0, Math.PI * 2);
ctx.arc(160, 100, 20, 0, Math.PI * 2);
ctx.fill();
// Cloud 2
ctx.beginPath();
ctx.arc(600, 150, 20, 0, Math.PI * 2);
ctx.arc(630, 140, 20, 0, Math.PI * 2);
ctx.arc(660, 150, 20, 0, Math.PI * 2);
ctx.fill();
}
function resetGame() {
mario.x = 50;
mario.y = 450;
mario.velY = 0;
coins.forEach(c => c.collected = false);
score = 0;
enemies.push(
{ x: 250, y: 430, width: 30, height: 30, velX: 2, color: '#000000' },
{ x: 450, y: 330, width: 30, height: 30, velX: 2, color: '#000000' },
{ x: 650, y: 230, width: 30, height: 30, velX: 2, color: '#000000' }
);
}
// Start game
gameLoop();
</script>
>
</body>
</htmlhtml>Generate a single-page, self-contained HTML webapp using Tailwind CSS for a randomly chosen category/industry/niche.
Generate a unique and simple recipe with common ingredients.
This savory dish is quick, easy, and packed with flavor!
Yields: 2 servings Prep time: 5 minutes Cook time: 15 minutes
Ingredients:
Instructions:
Enjoy your Sun-Kissed Chickpea & Tomato Delight! It's a vibrant and flavorful meal that’s perfect for a weeknight dinner.
Create a starter plan for improving long-term health.
This plan focuses on sustainable, beginner-friendly changes across three key areas: Diet, Exercise, and Sleep & Stress Management. It’s designed to build healthy habits gradually, not overwhelm you.
Goal: Establish a foundation for better health and longevity through incremental improvements in diet, exercise, sleep & stress management.
I. Diet (Focus: Nourishment, Not Restriction)
II. Exercise (Focus: Gentle Movement & Consistency)
III. Sleep & Stress Management (Focus: Rest & Relaxation)
Important Notes:
This plan provides a solid starting point for improving your health and longevity. As you progress, you can gradually increase the intensity and complexity of your habits. Good luck!
Recreate a classic, retro, macOS Desktop UI — make it interactive and nostalgic, make it as interactive as you can, you can be creative.. Feel free to showcase your skills. The entire application must be a single-page self-contained HTML file.
Develop a cutting-edge 3-month longevity plan for a biohacker.
Disclaimer: This plan is designed for individuals with a strong understanding of biohacking principles and a baseline level of fitness. Consult with your physician and/or qualified healthcare professionals before implementing any significant dietary, supplement, or exercise changes. This is a template; personalize dosages and activities based on your individual needs, response, and health conditions.
Core Philosophy: This plan focuses on a holistic approach encompassing nutrition, supplementation, exercise, stress management, and personalized tracking. It's built on principles of cellular health, metabolic optimization, and neuroplasticity. Progress is tracked meticulously, and adjustments are made based on data-driven insights.
I. Phase Overview:
II. Key Pillars:
1. Nutrition (Dietary Protocol):
2. Supplement Stack (Dosages are examples; consult a professional):
3. Exercise Protocol:
4. Stress Resilience & Mental Wellbeing:
5. Advanced Tracking and Monitoring:
Integrating cutting-edge strategies for physical, cognitive, and cellular health.
Goal: Establish baseline metrics, initiate core protocols, and build habits.
Dosages and cycling to maximize efficacy and minimize tolerance.
Cycling Notes:
Ketogenic cycling with fasting for metabolic flexibility and autophagy.
Strength, HIIT, and recovery for mitochondrial health and muscle retention.
Data-driven adjustments for personalized optimization.
HRV training, breathwork, and cold exposure.
Goal: Refine protocols using data, enhance cognitive performance, and deepen autophagy.
Goal: Push performance, refine biomarkers, and integrate cutting-edge biohacks.
This plan balances aggressive longevity strategies with adaptability, leveraging wearables and biomarkers for precision. Always consult a healthcare provider before starting new supplements or protocols.
Write a pro-level buy-side investment memo with valuation and diligence questions.
Build a simplified LBO with returns and sensitivities.
Design an innovative, multi-component dish worthy of a 3-star Michelin restaurant.
Conceptual Narrative:
"The Echo of the Deep" is an exploration of contrasting textures and flavors inspired by the hidden depths of the ocean and the vibrant resilience of the coastal landscape. The dish represents a journey from the briny freshness of the sea to the earthy depths of the soil, culminating in a light, ethereal finish. The unusual pairing of delicate scallops and tart sea buckthorn creates a surprising interplay of sweet and sour, evoking the feeling of sunlight piercing through the water's surface. The dish aims to be a sensory experience, stimulating both the palate and the imagination.
Yields: 2 servings Difficulty: Advanced Prep Time: 4 hours (plus overnight curing for black garlic) Cook Time: 30 minutes
I. Scallop & Sea Buckthorn Spheres:
Concept: Delicate spheres bursting with concentrated scallop flavor and a tart sea buckthorn counterpoint.
Ingredients:
Instructions:
II. Smoked Black Garlic Soil:
Concept: An earthy, umami-rich "soil" that adds depth and complexity to the dish.
Ingredients:
Instructions:
III. Sea Bean Salad:
Concept: A refreshing and salty salad that provides a textural contrast and a bright, oceanic flavor.
Ingredients:
Instructions:
IV. Yuzu Air:
Concept: A light, ethereal foam that adds a burst of citrusy aroma and a delicate finish to the dish.
Ingredients:
Instructions:
Plating & Assembly:
Wine Pairing Suggestion:
A crisp, dry Albariño from Rías Baixas, Spain, with its citrus notes and minerality, would perfectly complement the sea buckthorn and scallop flavors.
Notes:
This dish aims to be a memorable culinary experience, showcasing the potential of unexpected ingredient pairings and advanced techniques. The "Echo of the Deep" is a celebration of the ocean's bounty and the artistry of fine dining.
Dish Name: Oceanic Harmony: Scallop, Yuzu, and Black Garlic
Conceptual Narrative:
This dish embodies the interplay between land and sea, inspired by the Japanese philosophy of shinrin-yoku (forest bathing). The Hokkaido scallop represents the ocean’s bounty, while black garlic (a fermented, earthy ingredient) and yuzu (a citrus fruit) bridge terrestrial and marine elements. A celery root puree adds creaminess, black truffle introduces luxury, and seaweed salad evokes coastal flora. Edible flowers mirror the colors of a forest meadow, creating a dish that is both visually stunning and narratively cohesive.
(Serves 4)
Ingredients:
Technique:
Ingredients:
Technique:
Ingredients:
Technique:
Ingredients:
Technique:
Ingredients:
Technique:
Ingredients:
Assembly:
This dish balances technical mastery, unexpected flavor pairings (scallop + black garlic + yuzu), and artistic presentation, embodying the creativity and precision of a Michelin 3-star experience.
Create an autonomous drone simulator with custom environment using ThreeJS
Find exploitable clauses in a software consulting contract and suggest modifications with legal reasoning.