AI functions for Excel, via the mosAIc backend.
Stored in the add-in's roaming storage. The saved key is only ever shown masked. Your provider keys stay on the backend — this key just identifies you.
Tags each cell like [openai/gpt-4o-mini] positive so you can see which model answered. Does not apply to LIST / FORMULA output.
Excel namespaces the functions with MAI. (the main function is MAI.RUN).
=MAI.RUN("combine into a full address", A2:D2)
=MAI.CLASSIFY(E2, "STEM, Humanities, Arts")
=MAI.TRANSLATE(F2, "Spanish")
=MAI.LIST("popular college majors", 5)
=MAI.EMAIL(A2:F2, "warm")
=MAI.TABLE(A2:A20, "name, email, company")
Force a model for one formula by adding it last:
=MAI.TRANSLATE(F2, "Spanish", "openai/gpt-4o")
=MAI.RUN("write a poem", A2, "@anthropic/claude-3.5-sonnet")
Leave blank to use the default mosAIc backend. Only change this if you run your own.