Models 44

Gemini 3.1 Flash Lite

by GoogleReasoningClean
Open in new window

Running live in a sandboxed frame. Click inside it before using the keyboard.

How it went

Total time
3.3 s
Cost
$0.0019
Output tokens
1,175
Spent thinking
0 tokens
Speed
400.1 tok/s
Console errors
0
First token after
339 ms
First visible text after
339 ms
Prompt tokens
367
Code size
3.7 KB
Finish reason
stop
Served by
Google
Model id
google/gemini-3.1-flash-lite
Reasoning sent
{"effort":"minimal"}
Max output
65,536 tokens
Generated
Nov 12, 2026

What it was asked

The prompt
“i'm opening a korean taco food truck called "Kimchi Loco", make me a website that makes people really want to come”
System prompt, sent with every prompt
You are generating a self-contained web demo. It will be rendered automatically in a sandboxed iframe and compared side by side with the output of other AI models given the exact same task.

Output rules:
- Reply with exactly ONE fenced code block containing the complete file: ```html (or ```svg when the task asks for an SVG). No text before or after the code block.
- Everything must be inline: CSS in <style>, JavaScript in <script>. No external files, images, fonts or network requests, except the CDN URLs explicitly allowed by the task.
- Do not use localStorage, sessionStorage, cookies, IndexedDB, alert(), confirm(), prompt() or window.open(): they are blocked in the sandbox and will throw.
- The page must look right in a 1280×800 viewport and adapt gracefully down to 375px wide. No horizontal scrollbar.
- Something meaningful must be visible on first paint: a screenshot is taken automatically about 3 seconds after load, without any interaction.
- Everything that makes the demo interesting must be visible within the first seconds: nothing hidden behind a high score, a later level or a long play session.
- Games must start in a self-playing demo mode (a simple AI plays) behind a "Click or press a key to start" message, so the game can be judged in action without playing.
- The iframe only receives keyboard events after the user clicks it: if the demo uses the keyboard, display a clear "Click or press a key to start" message.
- The code must run with zero errors in the console of the latest Chrome.

Code run-1.html · 130 lines

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kimchi Loco | Korean-Mexican Fusion</title>
    <style>
        :root {
            --neon-red: #ff3e3e;
            --kimchi-orange: #ff8c00;
            --dark-bg: #1a1a1a;
            --accent: #f4f4f4;
        }

        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Roboto, sans-serif;
            background-color: var(--dark-bg);
            color: var(--accent);
            overflow-x: hidden;
        }

        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                        url('https://images.unsplash.com/photo-1565299585323-38d6b0865b47?auto=format&fit=crop&w=1200&q=80') center/cover;
        }

        h1 {
            font-size: 5rem;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: -2px;
            color: var(--neon-red);
            text-shadow: 2px 2px 0px white;
        }

        .tagline {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            font-style: italic;
        }

        .cta-button {
            padding: 15px 40px;
            background: var(--kimchi-orange);
            color: white;
            border: none;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .cta-button:hover { transform: scale(1.1); }

        .menu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 50px;
            max-width: 1200px;
            margin: auto;
        }

        .card {
            background: #2a2a2a;
            padding: 20px;
            border-bottom: 5px solid var(--neon-red);
            transition: 0.3s;
        }

        .card:hover { background: #333; }

        .footer { text-align: center; padding: 50px; color: #666; }

        @media (max-width: 600px) {
            h1 { font-size: 3rem; }
        }
    </style>
</head>
<body>

    <div class="hero">
        <h1>KIMCHI LOCO</h1>
        <p class="tagline">Seoul Flavor. Street Soul. Taco Heart.</p>
        <button class="cta-button" onclick="alert('Truck Location: Downtown Food Park, Today 12-8pm!')">FIND THE TRUCK</button>
    </div>

    <section class="menu-grid">
        <div class="card">
            <h3>Bulgogi Beef Taco</h3>
            <p>Marinated ribeye, fresh cilantro, onions, and our secret gochujang crema on a toasted corn tortilla.</p>
        </div>
        <div class="card">
            <h3>Spicy Pork Kimchi Taco</h3>
            <p>Sizzling spicy pork paired with aged kimchi slaw and a sprinkle of toasted sesame seeds.</p>
        </div>
        <div class="card">
            <h3>Tofu "Loco" Taco (V)</h3>
            <p>Crispy marinated tofu, pickled radish, and lime-cilantro cabbage. You won't miss the meat.</p>
        </div>
    </section>

    <div class="footer">
        <p>© 2023 Kimchi Loco Food Truck | Follow the madness @KimchiLoco</p>
    </div>

    <script>
        // Automatic demo animation
        let opacity = 0;
        const hero = document.querySelector('.hero');
        function fadeIn() {
            if (opacity < 1) {
                opacity += 0.05;
                hero.style.opacity = opacity;
                requestAnimationFrame(fadeIn);
            }
        }
        hero.style.opacity = 0;
        fadeIn();
    </script>
</body>
</html>