If you write Python loops, you can already write Mojo loops. The syntax is the same: for, while, break, continue.

To repeat something n times, use for _ in range(n):

Comprehensions work, too, i.e. [x * x for x in range(5)]

The biggest difference is speed. Mojo compiles your code, while Python interprets one step at a time.

We counted the primes below 2 million with the same trial-division loop in both languages (no sieve): Python took 2.8 seconds, Mojo took 57 ms.

More quick references in the Mojo cheat sheets: mojolang.org/docs/reference…
5
7
104
MiniMax M3.1 Flash (aka Space Bunny) from @MiniMax_AI is live on Modular Cloud, day zero.

M3.1 Flash is best in cowork automation among open models, with SOTA-level coding and engineering performance. It can ship a fix in a real codebase, then update Jira and Slack afterwards.
iMax team ahead of launch, so M3.1 Flash is already serving production traffic on Modular Cloud. Evaluating it for your stack? Try it now: console.modular.com/signup?utm_sou…
3
5
36
It’s day 2 of @PyTorch Conference! Today is your last chance to stop by the Modular booth (#3). If you missed @clattner_llvm's talk, come find us and we’ll walk you through our stack and answer your questions. We’d love to hear about what you’re building and give you a Modular shirt.
0
0
10
#PyTorchCon kicks off today, and we’re excited to spend the next two days with the PyTorch community.

In a few hours, @clattner_llvm delivers a keynote: “MAX and Mojo: The Best Way to Extend PyTorch” (9:35 AM, Grand Ballroom). This afternoon, Stef Lindall goes deep on how we r whatever hardware you’re running (4:20 PM, Room 210B).

Throughout the conference, you can find us at booth #3 to talk accelerators, compilers, and open roles. Stop by today to grab a MAX and Mojo T-shirt while supplies last.
1
2
12
The Modular team is heading to the 2026 @llvmorg LLVM Developers’ Meeting in Santa Clara on Oct 26–28.

On Monday, the Mojo team is running a full-day workshop on Mojo internals and the roadmap. Bring your hardest questions about how the language works under the hood.

On an explains how MAX emits device graph construction code with its MLIR/LLVM graph compiler instead of relying on vendor record and replay support, which lets it support a broader range of accelerators.

We’re sponsoring alongside Qualcomm all week. Our recruiting team will be at the booth if you'd like to explore open roles.
1
4
22
Chris Lattner keynotes #PyTorchCon on Tuesday: “MAX and Mojo: The Best Way to Extend PyTorch.”

@clattner_llvm will cover how we’re helping developers run their models across a wider range of hardware. He’ll also share an early look at how the broader ecosystem can build on MAX note, swing by the Modular booth (#3) for demos and swag.
1
1
26
#PyTorchCon starts next Tuesday! On day one, Stef Lindall, Principal Engineer at Modular, will cover how MAX lets you write fast kernels for any chip and compile them just in time.

Oct 20, 4:20 PM, Room 210B.

Find the Modular team at booth #3 on both days for live demos and jib7LNp
0
1
19
The best inference config depends on your model, your hardware and your traffic, and all three keep changing. Settings that were ideal last week are rarely the right ones today.

Tonight at @MiniMax_AI's #SFTechWeek research night, Modular AI Performance Engineer Tyler Kenney is ng ML inference systems, exploring how we can teach inference systems to tune their own settings.

📍 UpScaleX, San Francisco
🗓 Thursday, Oct 8 · 5:30–8:30 PM PT

RSVP: partiful.com/e/DKY1zYjyuOvM…
1
3
15
Compute is becoming increasingly heterogeneous, and programming it currently means juggling various languages. The goal of Mojo is to provide a single systems language for the heterogeneous era.

Tomorrow at SPLASH 2026 in Oakland, @clattner_llvm will deliver a keynote focused ojo: parametric metaprogramming and an ownership model built on origins. He'll also touch on the open language design problems that remain to be solved.

2026.splashcon.org/details/splash…
0
1
40
.@dMatrix_AI had matrix multiplication running in Mojo on their Corsair accelerator 6 days after getting access to the Mojo compiler.

At ModCon 2026, our Chief Scientist Abdul Dakkak walked through why this was possible with the Modular stack: youtube.com/watch?v=hYjKbT…
0
4
33
Are models commoditizing? We asked four panelists at ModCon, from Google DeepMind, MiniMax, Poolside, and Reflection AI, and asked where they see innovation coming from, whether that's data, post-training, or somewhere else: youtu.be/GZ_oM-nLGO0
11
1
25
Our cofounder and CEO @clattner_llvm takes the keynote stage at The AI Conference @AIconference tomorrow at 10:05 AM in Theater 1.

His talk, "Opening the AI Compute Stack with MAX and Mojo," covers why the software layer will decide the future of AI compute. He'll introduce Mojo rce under Apache 2.0, explain how MAX delivers portable performance across hardware, and cover how you can get involved to build a more open future for AI: agenda.45-77-127-32.nip.io/?session=9efe8…
0
6
34
This week in Chicago, Mojo found The Bean, ate a pretzel half its size, and got to hang out with the whole Modular team at our off-site.

Want to come to the next one? We're hiring across Engineering, Product Management, Customer Engineering, and Developer Relations: modular.com/company/careers
1
2
29
Headed to Santa Clara today for #AIInfraSummit?

Don’t miss @alisterburt's talk at 10:30 AM PT in Expo Theater 2: "Modular: Open Source, Open Cloud, Open Silicon."

Stop by the Qualcomm booth (#206) anytime this week during expo hall hours to chat with the Modular team and catch a Modular Cloud demo.
0
3
15
Replying to @Modular
Hippocratic AI cofounders @munjalshah and @debo_datta_ on the latency problem, from the ModCon keynote: youtube.com/watch?v=hUSMA2…
0
0
4
GLM-5.3 open weights are now public, and Modular Cloud has Day Zero support.

GLM-5.3 is the most capable open-weights model for coding, with a 50% improvement over GLM-5.2 on @Zai_org's Code Bench.

Try it today on Modular Cloud: console.modular.com/?utm_source=x&…
0
7
60
Modular's price-performance on @Zai_org's GLM-5.2 (Non-reasoning) lands right on the Pareto frontier in @ArtificialAnlys' latest benchmark: near-top speed without the near-top price tag.

We're just getting started, and we're ready for GLM-5.3. Expect to see a lot more incredible results. 🚀
2
11
102
We're the #1 trending repo on @github today.

The Mojo compiler went open source at ModCon this week, and developers noticed fast.

Thank you to everyone who joined us in person and online. If you missed the keynote, the full recording is live on our YouTube channel:
K
2
11
187
That's a wrap on #ModCon2026!

Mojo 1.0 shipped as open source, Modular Cloud launched, and several hundred engineers spent the day pondering the hardest problems in AI infrastructure.

Thank you to everyone who joined us in San Francisco and on the livestream.

Catch the replay o/AYL6hIpvco

And enjoy these super fun pics created at our FLUX booth!
1
6
72
In just a few minutes, @dylan522p and @_micah_h address the gap between the story the industry tells about AI progress and what their data shows, in our AI Analyst Perspectives fireside chat at #ModCon2026. Join the livestream and share your reactions in the chat:
o
0
3
20
TTune in live now: youtube.com/watch?v=Yvb_G2…

Right now: Modular Cloud Deep Dive - How do we achieve performance under the hood?

Up next: Five investors, thirty minutes, one question: where is AI infrastructure capital going next? GV, General Catalyst, DFJ, USIT, and M12 26
0
1
11
Replying to @Modular
And if you want to dig deeper into the announcements we shared this morning, tune into the ModCon livestream and explore the full announcements blog:

Livestream: youtube.com/watch?v=Yvb_G2…

Blog: modular.com/blog/modcon-an…
0
0
7
Today, we open sourced Mojo 🔥.

Announced just now during the ModCon keynote, effective immediately, Apache 2.0 License.

Thank you to our community for waiting patiently and building alongside us.

#ModCon2026

Full blog: modular.com/blog/mojo-open…
47
225
1,412
Keynote starting in a few minutes! Let us know where you're joining from in the livestream chat:

youtube.com/watch?v=Yvb_G2…

#ModCon2026
1
6
33
ModCon 2026 is open! Badges are printing, coffee is hot, and the livestream kicks off at 9 AM. Join us virtually from anywhere to hear the big announcements!

youtube.com/watch?v=Yvb_G2…

#ModCon2026
0
2
27
Our biggest product announcements of the year land tomorrow in the ModCon 2026 opening keynote. 9:00 AM PT.

Chris Lattner, Tim Davis, Eric Johnson, and Mostafa Hagog deliver The Unified AI Compute Layer, alongside Cristiano Amon and Rashid Attar of @Qualcomm, Anush Elangovan of ic of @HTECgroup.

If you only watch one thing from ModCon, watch this.

Free livestream: luma.com/modcon-livestr…
2
9
52
MiniMax designed H3 for hardware compatibility from the earliest stages, then opened the weights so people could run it across even more silicon.

Morgan Suo, Head of US Business Development at @MiniMax_AI, joins ModCon '26 to share what open-weight omni-context generation Aug 18, Grand Hyatt SF. Register for the livestream: luma.com/modcon-livestr…
9
3
26
Building frontier models involves a hundred decisions rarely discussed publicly: when to stop scaling, what data to keep, how to differentiate, whether to release the weights.

On August 18th at ModCon '26, Paige Bailey of @GoogleDeepMind, Joseph Spisak of @reflection_ai, Victor , and Varun Randery of @poolsideai are talking through the challenges of the industry from four different vantage points.

Register for the livestream: luma.com/modcon-livestr…
2
4
29
Most data centers were built on old assumptions: big training jobs, homogeneous fleets, and plenty of time to plan capacity. Inference broke all three.

At ModCon '26, Jay Jackson (SVP, @OracleCloud) and @jtatarchuk (Co-Founder & CGO, @tensorwave) join us for a fireside chat to weighe data center.

Catch the conversation via livestream: luma.com/modcon-livestr…
0
3
15
.@_micah_h of @ArtificialAnlys and @dylan522p of @SemiAnalysis_ know more about the current state of AI compute than almost anyone. They're both joining our Analyst Perspectives fireside chat at ModCon on August 18th. Moderated by our own @iamtimdavis.

Register for the ot on the in-person waitlist to hear their hot takes on where the industry is headed:
luma.com/modcon
luma.com/modcon-livestr…
0
2
29
If you were starting from zero today, where would you invest your first dollar in AI infra? At ModCon 2026, we're asking five investors who already have full portfolios to answer anyway: @davemuni of @GVteam, @samofort of @DFJvc, Liz Stein of @USITfund, @quentinclark of michhgonz of @Microsoft's @M12vc, moderated by @iamtimdavis.

Grab a ticket while supplies last: luma.com/modcon
1
5
21
Replying to @Modular
Missed week 1? Catch the recording on our YouTube channel, and leave your questions in the comments: youtube.com/watch?v=1Jqp0B…
0
0
3
Session 1 of Mojo 101 streamed yesterday, and the turnout was great. Our live chat was full of insightful questions.

If you missed it (or want to rewatch), the recording of Language Fundamentals is up now on YouTube: youtube.com/watch?v=1Jqp0B…
1
0
14
ModCon '26 brings together the people setting the direction for AI infrastructure. Hear from @clattner_llvm, @Qualcomm's @cristianoamon, @GoogleDeepMind's @DynamicWebPaige, @SemiAnalysis_'s @dylan522p, and more.

Grab your ticket: modular.com/modcon?utm_sou…
2
3
42
Modular is live on @ArtificialAnlys with 3x faster image generation than the competition.

MAX inference serving @bfl_ai’s FLUX.2-dev achieves state of the art latency per AA’s new benchmarking: artificialanalysis.ai/image/provider…
1
6
26
Two chances to learn about our stack today at @aiDotEngineer World's Fair in San Francisco:

#1. MAX in Action: Sub-Second FLUX.2 on Any GPU - 11-11:30 AM at our booth (U-G28) with @ConorBronsdon, Technical Ecosystem Lead

#2. Modular: Taming the AI Hardware Cambrian Explosion - age 1 NE with Abdul Dakkak, Chief Scientist

Want to talk about optimizing your team's inference stack IRL this week? Book time with us: modular.com/aie-2026?utm_s…
0
2
17
Mojo Quest launches today! Mojo Quest is a browser-based game for learning Mojo syntax by closing engineering tickets for a fictional robotics company.

quest.mojolang.org
1
2
66
We had a blast at the official @aiDotEngineer hackathon with @cerebral_valley, @GoogleDeepMind, @MiniMax_AI, @digitalocean, @MongoDB, and @livekit. Thanks to everyone who came out and hacked with us!

We're at Booth UG28 all week at AI Engineer World's Fair. Want to see how optimize your company's stack? Grab time with our team here: modular.com/aie-2026
1
2
54
ModCon is back.

August 18th. San Francisco.

A full day of AI infrastructure talks, launches, and workshops, with speakers including @dylan522p of @SemiAnalysis_ , @jerryjliu0 of @llama_index, @DynamicWebPaige of @GoogleDeepMind, and @sidsheth of @dMatrix_AI.

Limited spots. July 1st.

Get your ticket: modular.com/modcon?utm_sou…
1
9
31
Replying to @Modular
GLM 5.2 is built for long-horizon tasks - get all the benchmarks and learn more about the model in @Zai_org's great blog post: z.ai/blog/glm-5.2
0
0
6
.@zai_org open-sourced GLM 5.2 today, and Modular is a Day Zero launch partner.

GLM 5.2 is their new flagship for coding and long-horizon agentic work, with usable 1M-token context built for tasks that run long and call a lot of tools.

Serving a model like this well is a context grows, the KV cache grows with it, and doing it economically at high concurrency takes more than a config flag. The Modular stack optimizes the path from GPU kernels to serving, which lets us run frontier open models on Day 0 with the utilization and economics agent workloads need.

It's available on Modular Cloud now. Request access: console.modular.com/signup
2
5
55
.@iamtimdavis built a retro platformer where the terrain is generated by SIMD kernel computation.

Meet GPU Boost Adventure. A neon, CRT-flavored endless runner. boost.modular.com
2
6
42
M3 open weights from @MiniMax_AI just dropped, and Modular is a Day Zero launch partner.

1M-token context. Text, image, and video input. Built for long-running agent and coding workloads.

Read our full announcement: modular.com/blog/day-zero-…
2
7
49
Our kernel team has been deep in MiniMax M3 all week. The 1M-token context and native multimodality make it a hard model to serve well, which is exactly the kind of problem we like!

When the open weights drop in the next few days, you'll be able to run it on Modular right away.
x_AI x Modular.
5
6
125
Replying to @Modular
Don't see your company? Drop your URL and watch it generate: inkwell.modular.com/founders/

If you're deploying image gen at scale, our team wants to hear what you're building: modular.com/request-demo
1
0
2
Working through our GPU Puzzles? Don't sleep on our companion YouTube series that walks through puzzles 1 through 5. Follow along, pause, and rewind to make sure you grok the solution: youtube.com/watch?v=-VsP4k…
0
3
17
At @AMD AI DevDay, @clattner_llvm showed that AMD MI355X paired with Modular platform delivers equivalent image gen performance to Blackwell at 5.5x lower total cost.

Watch Chris' luminary talk: youtube.com/watch?v=FjFC__…

Thanks again to @AIatAMD for a great event!
1
2
21
In the latest Modular Tech Talk, Mojo Compiler Engineer Billy Zhu presents Mojo's attribute-based expression system and how it enables Mojo's powerful type-safe meta-programming:

youtu.be/4DKInnobCjY
1
4
26
Seoul showed up! Packed room, sharp questions, a special message from @clattner_llvm, and an intro to Mojo 🔥 and MAX. Our first developer meetup in Korea. Thank you to SqueezeBits for making this happen, and to everyone who came out.
2
4
27
The MAX-LLM book just made it even easier to build an LLM from scratch.

The new notebook format lets you run the GPT-2 components interactively, inspect real tensor shapes, and generate text from pretrained weights.

Prefer to browse first? The pre-rendered version shows all a cell:

github.com/modular/max-ll…
0
8
66
Replying to @Modular
For engineers: hit the </> button in Inkwell and dev mode stays on across every page.

You'll see exactly how fast each image is generating in real time: latency, tokens/sec, and more. Powered by Modular Cloud.

Try it at inkwell.modular.com
0
0
6
Replying to @Modular
Every Inkwell story stars a character you build. Pick the species, the hair, the outfit. Watch them come to life across an endless branching story, illustrated on every page.

Make yourself the hero at inkwell.modular.com. Tag us in what you create. We're sending swag to our favorites.
1
1
6