Close Menu
AI News TodayAI News Today

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    FTC pushes ad agencies into dropping brand safety rules

    Ticketmaster is an illegal monopoly, jury rules

    NBA fans cry foul as Prime Video cuts out during overtime, fails to sync audio

    Facebook X (Twitter) Instagram
    • About Us
    • Contact Us
    Facebook X (Twitter) Instagram Pinterest Vimeo
    AI News TodayAI News Today
    • Home
    • Shop
    • AI News
    • AI Reviews
    • AI Tools
    • AI Tutorials
    • Chatbots
    • Free AI Tools
    AI News TodayAI News Today
    Home»AI Tutorials»GLM-5.1: Towards Long-Horizon Tasks
    AI Tutorials

    GLM-5.1: Towards Long-Horizon Tasks

    By No Comments2 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    The bicycle is red and has a frame the correct shape and wheels with spokes. The pelican is a perky little fella.
    Share
    Facebook Twitter LinkedIn Pinterest Email

    GLM-5.1: Towards Long-Horizon Tasks

    Chinese AI lab Z.ai’s latest model is a giant 754B parameter 1.51TB (on Hugging Face) MIT-licensed monster – the same size as their previous GLM-5 release, and sharing the same paper.

    It’s available via OpenRouter so I asked it to draw me a pelican:

    llm install llm-openrouter
    llm -m openrouter/z-ai/glm-5.1 'Generate an SVG of a pelican on a bicycle'
    

    And something new happened… unprompted, the model decided to give me an HTML page that included both the SVG and a separate set of CSS animations!

    The SVG was excellent, and might be my new favorite from an open weights model:

    But the animation broke it:

    Animation - the wheels and pedals rotate, the clouds move... and the pelican has vanished, but there is a little blob bobbing up and down in the top left corner.

    That’s the pelican, floating up in the top left corner.

    I usually don’t do follow-up prompts for the pelican test, but in this case I made an exception:

    llm -c 'the animation is a bit broken, the pelican ends up positioned off the screen at the top right'
    

    GLM 5.1 replied:

    The issue is that CSS transform animations on SVG elements override the SVG transform attribute used for positioning, causing the pelican to lose its placement and fly off to the top-right. The fix is to separate positioning (SVG attribute) from animation (inner group) and use <animateTransform> for SVG rotations since it handles coordinate systems correctly.

    And spat out fresh HTML which fixed the problem!

    Now everything is right - the bicycle rotates correctly, the pelican sits on it and bobs up and down, and its lower beak moves slightly as well.

    I particularly like the animation of the beak, which is described in the SVG comments like so:

    <!-- Pouch (lower beak) with wobble -->
    <g>
        <path d="M42,-58 Q43,-50 48,-42 Q55,-35 62,-38 Q70,-42 75,-60 L42,-58 Z" fill="url(#pouchGrad)" stroke="#b06008" stroke-width="1" opacity="0.9"/>
        <path d="M48,-50 Q55,-46 60,-52" fill="none" stroke="#c06a08" stroke-width="0.8" opacity="0.6"/>
        <animateTransform attributeName="transform" type="scale"
        values="1,1; 1.03,0.97; 1,1" dur="0.75s" repeatCount="indefinite"
        additive="sum"/>
    </g>

    Tags: css, svg, ai, generative-ai, llms, pelican-riding-a-bicycle, llm-release, ai-in-china, glm

    GLM5.1 LongHorizon Tasks
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleApple has the lowest grades in laptop, phone repairability analysis
    Next Article Amazon is ending support for older Kindles and Kindle Fires
    • Website

    Related Posts

    AI Tutorials

    Gemini 3.1 Flash TTS

    AI Tutorials

    Trusted access for the next era of cyber defense

    AI Tutorials

    Turn your best AI prompts into one-click tools in Chrome

    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    FTC pushes ad agencies into dropping brand safety rules

    0 Views

    Ticketmaster is an illegal monopoly, jury rules

    0 Views

    NBA fans cry foul as Prime Video cuts out during overtime, fails to sync audio

    0 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews
    AI Tutorials

    Quantization from the ground up

    AI Tools

    David Sacks is done as AI czar — here’s what he’s doing instead

    AI Reviews

    Judge sides with Anthropic to temporarily block the Pentagon’s ban

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Most Popular

    FTC pushes ad agencies into dropping brand safety rules

    0 Views

    Ticketmaster is an illegal monopoly, jury rules

    0 Views

    NBA fans cry foul as Prime Video cuts out during overtime, fails to sync audio

    0 Views
    Our Picks

    Quantization from the ground up

    David Sacks is done as AI czar — here’s what he’s doing instead

    Judge sides with Anthropic to temporarily block the Pentagon’s ban

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Terms & Conditions
    • Privacy Policy
    • Disclaimer

    © 2026 ainewstoday.co. All rights reserved. Designed by DD.

    Type above and press Enter to search. Press Esc to cancel.