---
title: "Discussion on \"How to use Gemini with the OpenAI SDK (JavaScript)\" | Hashnode"
description: "Discussion on \"How to use Gemini with the OpenAI SDK (JavaScript)\". Step-by-step guide on how to use Gemini Models with OpenAI SDK"
url: "https://hashnode.com/posts/how-to-use-gemini-with-the-openai-sdk-javascript/68add084ef70892ea66fd90d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Gemini with the OpenAI SDK (JavaScript)](https://shravanbhati.hashnode.dev/how-to-use-gemini-with-the-openai-sdk-javascript?utm_source=hashnode&utm_medium=feed)

Step-by-step guide on how to use Gemini Models with OpenAI SDK

Aug 26, 2025 · 3 min read · shravanbhati.hashnode.dev  
Read the article

-   [#geminiapi](https://hashnode.com/tag/geminiapi)
-   [#openai](https://hashnode.com/tag/openai)
-   [#agentsdk](https://hashnode.com/tag/agentsdk)
-   [#openai-sdk](https://hashnode.com/tag/openai-sdk)

## Written by

[Shravan Bhati](https://hashnode.com/@shravanbhati)

@shravanbhati · Tokyo

  
[View profile](https://hashnode.com/@shravanbhati)

Good software is written by humans for humans

Generative AI &amp; Web Developer My Main Projects: YukiNihongo Study in Japan Jobiki Visit Japaro.space for more info!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
