Prompt Golf

A tiny language model runs on your own GPU. Get it to hit the target in the fewest characters. Greedy decoding, so every swing is reproducible.

Model not loaded. Weights download once, then cache in your browser.

    Caddie hints
      0 strokes
      Model output
      Load the model, then swing.

      Output is trimmed of leading and trailing whitespace before judging. Max 48 new tokens per swing. Scores only compare on the same ball (model) and backend.

      Course editor

      Holes
        Prompt Golf guide

        Quick start

        1. Load a ball. Pick a model at the top and press Load model. The first load downloads the weights; after that they come from your browser cache.
        2. Pick a hole on the scorecard. Read the goal, the target card and any red “out of bounds” chips.
        3. Write a prompt and press Swing, or ⌘/Ctrl + Enter. The model's answer streams in and the judge says whether it's in the cup.
        4. Shave strokes. Your best score per hole is kept. Keep cutting characters until the ball stops dropping.

        Every character in your prompt is one stroke: letters, spaces, punctuation and newlines. Simple emoji count as one; combined ones (skin tones, flags, families) count as several.

        Golf terms

        NameScore vs par
        Albatross3 under
        Eagle2 under
        Birdie1 under
        ParEven
        Bogey1 over
        Double bogey2 over

        Import a course

        Paste a code someone shared from the course editor.