Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Feature request: Google AI Studio (Gemini) API key support in Opusmodus AI

Featured Replies

Hi opmo and everyone,

First of all, thank you for the work on Opusmodus AI. I’m very interested in using it, and I’d like to ask whether support for Google AI Studio (Gemini API) could be added alongside OpenAI and Claude.

Why it would be useful

  • Google AI Studio lets anyone create a Gemini API key easily, and it offers a free tier with usage limits. This would let many users, such as students, teachers and composers working on a limited budget, try Opusmodus AI without paying for API usage from the start.

  • Several users have reported good results using Gemini to write Lisp and Opusmodus code (for example Julio’s experience in this forum), so the model seems well suited to this workflow.

  • The current providers require paid API credits. Subscriptions like Claude Pro/Max or ChatGPT Plus do not give API access, so a free option would lower the barrier to entry considerably.

Thank you for considering it, and thanks again for the great work.

Best regards,
Cosimo

Indeed, I´m using Gemini at the browser and I´m doing amazing and complex new functions. Best, Julio

  • Author

Hi @JulioHerrlein ! If you don’t mind, could you share some practical tips on how you use Gemini? I’d love to learn how you make the most of it. Thanks in advance!

Dear Cosimo,

I started with the NotebookLM (now Gemini Notebook). I did a notebook with many lisp related manuals and I merged all Opusmodus documentation of OMN notation and functions in one big document, so every time I ask for something, Gemini search ONLY this documentation and LISP manuals in order to give me the answer.
Here is an example of the exact prompt I used:

https://opusmodus.com/forums/topic/4220-idiomatic-probabilistic-function

Good luck on vibe coding

  • 2 weeks later...

Similar to the OP feature request - I was interested in exploring the AI features only to discover that it was limited to Anthropic or OpenAI keys. Given the pervasiveness of both hosted and local inference engines which provide OpenAI compatible endpoints I think the existing integration would benefit significantly from making the the OpenAI client configurable (allow the user to specify endpoint, key, default model, and models).

I see several non-exported globals open-api-host, ai-openai-models, openai-api-default-model which look like they could provide the desired control.

In my particular case I wanted to use openrouter.ai which presents an metered OpenAI SDK compatible endpoint while providing access to a wide selection of closed and open weight models (including those from OpenAI and Anthropic). Based on my searching Google also provides an OpenAI-compatible endpoint for Gemini which in theory would address @Cosimodaniele want as well.

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.