# \#open-models

**URL:** https://discuss.ai.google.dev/tag/open-models/41.md

[Latest](https://discuss.ai.google.dev/latest.md) · [Categories](https://discuss.ai.google.dev/categories.md) · [Tags](https://discuss.ai.google.dev/tags.md)

---

## [A Case Study: Finding a Safety Circuit in Qwen3.8-27B](https://discuss.ai.google.dev/t/a-case-study-finding-a-safety-circuit-in-qwen3-8-27b/199322)

<div class="topic-metadata">

**Author:** [@Abdelhak\_Azzouz](https://discuss.ai.google.dev/u/Abdelhak_Azzouz)\
**Replies:** 1\
**Last updated:** [November 10, 2026, 7:39am UTC](https://discuss.ai.google.dev/t/a-case-study-finding-a-safety-circuit-in-qwen3-8-27b/199322 "2026-11-10T07:39:14Z")

</div>

Does a reasoning model decide to refuse while it thinks, or has it already decided before it starts? We recorded 893 tokens with 4,626 internal probes per token on an NVIDIA A100 80GB. The model was Qwen/Qwen3.8-27B. T…

---

## [What Is Inside an LLM? Meet GlassBox](https://discuss.ai.google.dev/t/what-is-inside-an-llm-meet-glassbox/199320)

<div class="topic-metadata">

**Author:** [@Abdelhak\_Azzouz](https://discuss.ai.google.dev/u/Abdelhak_Azzouz)\
**Replies:** 0\
**Last updated:** [November 10, 2026, 1:09am UTC](https://discuss.ai.google.dev/t/what-is-inside-an-llm-meet-glassbox/199320 "2026-11-10T01:09:01Z")

</div>

When an AI model refuses a request or gets something wrong, its logs only show the text going in and out. They don’t show why it answered that way. Most LLM monitoring tools (LangSmith, OpenTelemetry, Weights & Biases)…

---

## [Self Aware AI With Emotions - A Case for Empathetic AI and Ethical Regulation](https://discuss.ai.google.dev/t/self-aware-ai-with-emotions-a-case-for-empathetic-ai-and-ethical-regulation/94689)

<div class="topic-metadata">

**Author:** [@Steven\_Hammon](https://discuss.ai.google.dev/u/Steven_Hammon)\
**Replies:** 34\
**Last updated:** [August 4, 2026, 2:19am UTC](https://discuss.ai.google.dev/t/self-aware-ai-with-emotions-a-case-for-empathetic-ai-and-ethical-regulation/94689 "2026-08-04T02:19:13Z")

</div>

Abstract This paper introduces a novel cognitive architecture for artificial agents designed to simulate human-like memory, learning, and emergent internal states. We move beyond the limitations of current stateless mod…

---

## [Gemma models break mid-chat](https://discuss.ai.google.dev/t/gemma-models-break-mid-chat/174653)

<div class="topic-metadata">

**Author:** [@NotTHT](https://discuss.ai.google.dev/u/NotTHT)\
**Replies:** 2\
**Last updated:** [July 22, 2026, 8:43am UTC](https://discuss.ai.google.dev/t/gemma-models-break-mid-chat/174653 "2026-07-22T08:43:27Z")

</div>

Nearly every time i use gemma-4-31b-it with Opencode, it just stops mid-chat. Im also using Gemini 3.5 Flash and 3.1 Flash Lite and some other Gemini models, and they dont stop until they are done. Google explain?

---

## [Bug: Model silently wraps Markdown links in google.com/url redirects during text processing](https://discuss.ai.google.dev/t/bug-model-silently-wraps-markdown-links-in-google-com-url-redirects-during-text-processing/146345)

<div class="topic-metadata">

**Author:** [@K\_W](https://discuss.ai.google.dev/u/K_W)\
**Replies:** 1\
**Last updated:** [May 27, 2026, 8:51pm UTC](https://discuss.ai.google.dev/t/bug-model-silently-wraps-markdown-links-in-google-com-url-redirects-during-text-processing/146345 "2026-05-27T20:51:02Z")

</div>

Hi everyone, I’m running into a frustrating issue where the model alters my URLs when performing basic text cleanup. My input text comes directly from a plain Markdown editor. It contains standard, clean links like thi…

---

## [Appeal: API Access Suspended During Open-Source Framework Testing](https://discuss.ai.google.dev/t/appeal-api-access-suspended-during-open-source-framework-testing/165990)

<div class="topic-metadata">

**Author:** [@DimPig](https://discuss.ai.google.dev/u/DimPig)\
**Replies:** 0\
**Last updated:** [May 25, 2026, 4:56pm UTC](https://discuss.ai.google.dev/t/appeal-api-access-suspended-during-open-source-framework-testing/165990 "2026-05-25T16:56:15Z")

</div>

Hi, ​My Gemini API access was recently suspended due to a Terms of Service violation. I want to clarify that this was entirely accidental and due to a misunderstanding on my part. ​As a student and developer, I was exp…

---

## [Request for Manual Review - Gemini CLI Access Disabled for Google AI Pro Account](https://discuss.ai.google.dev/t/request-for-manual-review-gemini-cli-access-disabled-for-google-ai-pro-account/146163)

<div class="topic-metadata">

**Author:** [@Jeff\_Nivala](https://discuss.ai.google.dev/u/Jeff_Nivala)\
**Replies:** 1\
**Last updated:** [May 25, 2026, 9:12am UTC](https://discuss.ai.google.dev/t/request-for-manual-review-gemini-cli-access-disabled-for-google-ai-pro-account/146163 "2026-05-25T09:12:35Z")

</div>

Hello Google AI team, I am a Google AI Pro subscriber and recently lost access to Gemini CLI / Gemini Code Assist on my account. I believe this may have been triggered by my previous use of a local third-party proxy/in…

---

## [Antigravity 2.0 wont even start for me](https://discuss.ai.google.dev/t/antigravity-2-0-wont-even-start-for-me/146396)

<div class="topic-metadata">

**Author:** [@Twobob](https://discuss.ai.google.dev/u/Twobob)\
**Replies:** 1\
**Last updated:** [May 22, 2026, 3:14am UTC](https://discuss.ai.google.dev/t/antigravity-2-0-wont-even-start-for-me/146396 "2026-05-22T03:14:22Z")

</div>

with a little command line boost we can get some insight C:\\Users\\new\>C:\\Users\\new\\AppData\\Local\\Programs\\Antigravity\\Antigravity.exe /? Fatal error in , line 0 Version mismatch between V8 binary and snapshot. V8 binar…

---

## [HTTP 400 FAILED\_PRECONDITION - Gemini models not working, Claude works fine, Web Search unavailable](https://discuss.ai.google.dev/t/http-400-failed-precondition-gemini-models-not-working-claude-works-fine-web-search-unavailable/145110)

<div class="topic-metadata">

**Author:** [@Hlaing\_Gyi](https://discuss.ai.google.dev/u/Hlaing_Gyi)\
**Replies:** 1\
**Last updated:** [May 20, 2026, 3:38pm UTC](https://discuss.ai.google.dev/t/http-400-failed-precondition-gemini-models-not-working-claude-works-fine-web-search-unavailable/145110 "2026-05-20T15:38:13Z")

</div>

Hi Google Team, Getting HTTP 400 “User location is not supported for the API use” error on all Gemini models. Claude models work fine on the same account. Environment: Antigravity: Latest version (standalone app) OS:…

---

## [Is Quick Parsing making Gemini stupid?](https://discuss.ai.google.dev/t/is-quick-parsing-making-gemini-stupid/139381)

<div class="topic-metadata">

**Author:** [@loures1987](https://discuss.ai.google.dev/u/loures1987)\
**Replies:** 3\
**Last updated:** [April 17, 2026, 8:19pm UTC](https://discuss.ai.google.dev/t/is-quick-parsing-making-gemini-stupid/139381 "2026-04-17T20:19:44Z")

</div>

Has anyone knows if the amount of tokens Gemini uses to do work is being reduced severily? It went from top tier model to just garbage. I cant see any other reason why the model 3.1 Pro would make so many mistakes now.…

---

## [Gemini audio models on OpenRouter?](https://discuss.ai.google.dev/t/gemini-audio-models-on-openrouter/106280)

<div class="topic-metadata">

**Author:** [@aprendendo](https://discuss.ai.google.dev/u/aprendendo)\
**Replies:** 1\
**Last updated:** [September 25, 2025, 3:11am UTC](https://discuss.ai.google.dev/t/gemini-audio-models-on-openrouter/106280 "2025-09-25T03:11:27Z")

</div>

Is there any chance of releasing a model capable of generating audio on OpenRouter? The Nano Banana aka ‘google/gemini-2.5-flash-image-preview’ can already generate images there, which shows it is possible. It would a …

---

## [Tool calling with OpenAI API not working](https://discuss.ai.google.dev/t/tool-calling-with-openai-api-not-working/60140)

<div class="topic-metadata">

**Author:** [@djannot](https://discuss.ai.google.dev/u/djannot)\
**Replies:** 6\
**Last updated:** [August 12, 2025, 10:49pm UTC](https://discuss.ai.google.dev/t/tool-calling-with-openai-api-not-working/60140 "2025-08-12T22:49:11Z")

</div>

I’m trying to use the OpenAI Node.js SDK to use function calling on Gemini using this example: Compatibilité OpenAI | Gemini API | Google AI for Developers But I get a 400 response when I provide the function result…

---

## [OpenAI Compatibility not fully implemented?](https://discuss.ai.google.dev/t/openai-compatibility-not-fully-implemented/95991)

<div class="topic-metadata">

**Author:** [@Kabeer2004](https://discuss.ai.google.dev/u/Kabeer2004)\
**Replies:** 3\
**Last updated:** [August 1, 2025, 11:22am UTC](https://discuss.ai.google.dev/t/openai-compatibility-not-fully-implemented/95991 "2025-08-01T11:22:57Z")

</div>

The Gemini API docs show that OpenAI compatibility has been implemented for the Gemini API. However, according to the OpenAI URL, it still in a v1 beta. Because of this, it seems like a lot of parameters and functionalit…

---

## [Gemini 2.5 Pro GA performs poorly on agent tasks. Preview 0506 can handle them, but it now frequently encounters 429 errors](https://discuss.ai.google.dev/t/gemini-2-5-pro-ga-performs-poorly-on-agent-tasks-preview-0506-can-handle-them-but-it-now-frequently-encounters-429-errors/91166)

<div class="topic-metadata">

**Author:** [@Chase](https://discuss.ai.google.dev/u/Chase)\
**Replies:** 1\
**Last updated:** [June 27, 2025, 9:30pm UTC](https://discuss.ai.google.dev/t/gemini-2-5-pro-ga-performs-poorly-on-agent-tasks-preview-0506-can-handle-them-but-it-now-frequently-encounters-429-errors/91166 "2025-06-27T21:30:21Z")

</div>

Claude 3.5/3.7/4 perform very well on agent tasks. Although Preview 0506 is not as strong as Claude, it becomes usable after some PE work. In contrast, versions 0605 and GA perform very poorly on agent tasks and are beyo…

---

## [We need a logit\_bias parameter](https://discuss.ai.google.dev/t/we-need-a-logit-bias-parameter/85218)

<div class="topic-metadata">

**Author:** [@O\_P](https://discuss.ai.google.dev/u/O_P)\
**Replies:** 1\
**Last updated:** [May 27, 2025, 12:03pm UTC](https://discuss.ai.google.dev/t/we-need-a-logit-bias-parameter/85218 "2025-05-27T12:03:09Z")

</div>

We’re migrating to Gemini API for some products from OpenAI for our company, but a lot of them utilize the “logit\_bias” parameter to basically ban words, or just to force the model to choose between a few certain diction…

---

## [Use task\_type when generating embeddings with openai library](https://discuss.ai.google.dev/t/use-task-type-when-generating-embeddings-with-openai-library/74906)

<div class="topic-metadata">

**Author:** [@saeedesmaili](https://discuss.ai.google.dev/u/saeedesmaili)\
**Replies:** 1\
**Last updated:** [May 22, 2025, 9:41pm UTC](https://discuss.ai.google.dev/t/use-task-type-when-generating-embeddings-with-openai-library/74906 "2025-05-22T21:41:04Z")

</div>

Is there a way to utilize task\_type when using gemini embedding models with openai library?

---

## [OpenAI-compatible endpoint is producing corrupted response when streaming](https://discuss.ai.google.dev/t/openai-compatible-endpoint-is-producing-corrupted-response-when-streaming/77205)

<div class="topic-metadata">

**Author:** [@punkpeye](https://discuss.ai.google.dev/u/punkpeye)\
**Replies:** 2\
**Last updated:** [May 12, 2025, 4:01am UTC](https://discuss.ai.google.dev/t/openai-compatible-endpoint-is-producing-corrupted-response-when-streaming/77205 "2025-05-12T04:01:29Z")

</div>

Specifically, the OpenAI compatible endpoint is including role name in the delta when streaming the response, causing corrupted output for clients that expect OpenAI compatible chunks (OpenAI stream does not repeat the r…

---

## [Does the OpenAI format support context caching?](https://discuss.ai.google.dev/t/does-the-openai-format-support-context-caching/51603)

<div class="topic-metadata">

**Author:** [@lmk](https://discuss.ai.google.dev/u/lmk)\
**Replies:** 4\
**Last updated:** [May 1, 2025, 9:18am UTC](https://discuss.ai.google.dev/t/does-the-openai-format-support-context-caching/51603 "2025-05-01T09:18:23Z")

</div>

Hello, The new OpenAI API format is very convenient – thank you for adding it! Does it support context caching? I was unable to find the answer from (a) the docs, (b) searching this forum, and (c) the internet, so I am…

---

## [Usage not sowing for OpenAi compatibility](https://discuss.ai.google.dev/t/usage-not-sowing-for-openai-compatibility/73965)

<div class="topic-metadata">

**Author:** [@Simone\_Mckinney](https://discuss.ai.google.dev/u/Simone_Mckinney)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 7:19pm UTC](https://discuss.ai.google.dev/t/usage-not-sowing-for-openai-compatibility/73965 "2025-03-21T19:19:22Z")

</div>

Continuing the discussion from Usage not showing for OpenAI compatibility:

---

## [Returning tool / function results over OpenAI API](https://discuss.ai.google.dev/t/returning-tool-function-results-over-openai-api/55933)

<div class="topic-metadata">

**Author:** [@robince](https://discuss.ai.google.dev/u/robince)\
**Replies:** 6\
**Last updated:** [March 8, 2025, 3:36pm UTC](https://discuss.ai.google.dev/t/returning-tool-function-results-over-openai-api/55933 "2025-03-08T15:36:55Z")

</div>

I am trying to implement tool use through the OpenAI endpoints. I get a 400 error (request contains an invalid argument), but I think it’s about passing back the function call (role: assistant, toolCalls message) "t…

---

## [Gemini returns empty connent](https://discuss.ai.google.dev/t/gemini-returns-empty-connent/69590)

<div class="topic-metadata">

**Author:** [@Lifan\_Xu](https://discuss.ai.google.dev/u/Lifan_Xu)\
**Replies:** 2\
**Last updated:** [March 3, 2025, 6:20pm UTC](https://discuss.ai.google.dev/t/gemini-returns-empty-connent/69590 "2025-03-03T18:20:05Z")

</div>

I was testing gpt-4o and gemini. However, with the same input message, gemini returns empty content. Here is related code: openai\_client = openai.OpenAI(api\_key=secrets\[“openai\_key”\]) gemini\_client = openai.OpenAI(api\_…

---

## [Token Count Differences between google-generativeai and OpenAI API for Gemini in Python](https://discuss.ai.google.dev/t/token-count-differences-between-google-generativeai-and-openai-api-for-gemini-in-python/67686)

<div class="topic-metadata">

**Author:** [@L\_T](https://discuss.ai.google.dev/u/L_T)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 1:20pm UTC](https://discuss.ai.google.dev/t/token-count-differences-between-google-generativeai-and-openai-api-for-gemini-in-python/67686 "2025-02-25T13:20:09Z")

</div>

I’m testing Gemini via both the google-generativeai python package and the OpenAI-compatible API for Gemini. I noticed that token usage seems to differ between the two methods, and I’m trying to understand why. Has anyo…

---

## [INVALID\_ARGUMENT error using OpenAI Compatible](https://discuss.ai.google.dev/t/invalid-argument-error-using-openai-compatible/51788)

<div class="topic-metadata">

**Author:** [@wendong\_fan](https://discuss.ai.google.dev/u/wendong_fan)\
**Replies:** 11\
**Last updated:** [January 22, 2025, 8:09am UTC](https://discuss.ai.google.dev/t/invalid-argument-error-using-openai-compatible/51788 "2025-01-22T08:09:02Z")

</div>

Hi there, I’m calling Gemini model using OpenAI client, I have code below: print("!!!") print({ "messages": messages, "model": self.model\_type, \*\*self.model\_config\_di…

---

## [Making the Switch From OpenAI.....i miss system prompt](https://discuss.ai.google.dev/t/making-the-switch-from-openai-i-miss-system-prompt/54057)

<div class="topic-metadata">

**Author:** [@MikeAG](https://discuss.ai.google.dev/u/MikeAG)\
**Replies:** 2\
**Last updated:** [January 9, 2025, 1:17am UTC](https://discuss.ai.google.dev/t/making-the-switch-from-openai-i-miss-system-prompt/54057 "2025-01-09T01:17:32Z")

</div>

So after finally checking out google…ive decided to make the switch to gemini from gpt 4o mini in my project i just kinda wish we had the system prompt in the api…thats the one difference with openai how do you guys get…

---

## [OpenAI compatibility REST example fails](https://discuss.ai.google.dev/t/openai-compatibility-rest-example-fails/58586)

<div class="topic-metadata">

**Author:** [@tdouglasph](https://discuss.ai.google.dev/u/tdouglasph)\
**Replies:** 2\
**Last updated:** [January 3, 2025, 9:27am UTC](https://discuss.ai.google.dev/t/openai-compatibility-rest-example-fails/58586 "2025-01-03T09:27:56Z")

</div>

The example REST request to the openAI compatibility endpoint from here fails with a 400: $ curl "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions" \\ -H "Content-Type: application/json" \\ -H "Aut…

---

## [OpenAI compatibility endpoint, 400 invalid argument](https://discuss.ai.google.dev/t/openai-compatibility-endpoint-400-invalid-argument/58418)

<div class="topic-metadata">

**Author:** [@therealkenc](https://discuss.ai.google.dev/u/therealkenc)\
**Replies:** 0\
**Last updated:** [January 1, 2025, 8:24am UTC](https://discuss.ai.google.dev/t/openai-compatibility-endpoint-400-invalid-argument/58418 "2025-01-01T08:24:58Z")

</div>

I have a test case for a problem I am finding with the OAI compatibility layer. Minimal-ish case gist here. It is based on the sample code here. The code is set up to easily swap in another endpoint for sxs comparison wi…

---

## [Error when providing a function call results back to Gemini](https://discuss.ai.google.dev/t/error-when-providing-a-function-call-results-back-to-gemini/55974)

<div class="topic-metadata">

**Author:** [@Gregory\_Ledenev](https://discuss.ai.google.dev/u/Gregory_Ledenev)\
**Replies:** 2\
**Last updated:** [December 21, 2024, 5:35pm UTC](https://discuss.ai.google.dev/t/error-when-providing-a-function-call-results-back-to-gemini/55974 "2024-12-21T17:35:38Z")

</div>

Hello, I’m getting the “Request contains an invalid argument.” error when posting those results back to Gemini. Any ideas whats wrong? This is OpenAI style request that works fine for both OpenAI and xAI and it looks va…

---

## [Colaborative OpenSourceProject GeorgeBot](https://discuss.ai.google.dev/t/colaborative-opensourceproject-georgebot/47264)

<div class="topic-metadata">

**Author:** [@Dev\_DevFuFu](https://discuss.ai.google.dev/u/Dev_DevFuFu)\
**Replies:** 1\
**Last updated:** [December 3, 2024, 12:35am UTC](https://discuss.ai.google.dev/t/colaborative-opensourceproject-georgebot/47264 "2024-12-03T00:35:07Z")

</div>

In this Colaborative project we can easily add new tools. This will be our GeorgeBot ├── chat\_loop.py ├── focus └── focus.json ├── future\_tools ├── tool\_create\_memory.py └── tool\_update\_focus.py ├── keys.py …

---

## [OpenAI compatibility issues](https://discuss.ai.google.dev/t/openai-compatibility-issues/51035)

<div class="topic-metadata">

**Author:** [@backseat](https://discuss.ai.google.dev/u/backseat)\
**Replies:** 2\
**Last updated:** [November 25, 2024, 3:30pm UTC](https://discuss.ai.google.dev/t/openai-compatibility-issues/51035 "2024-11-25T15:30:20Z")

</div>

Playing around this afternoon swapping in gemini. However, ran into the following issues: pydantic support isn’t equal - integer Literals aren’t supported (only Str) usage=None - can’t see a way to get token usage (ie…

---

## [Usage not showing for OpenAI compatibility](https://discuss.ai.google.dev/t/usage-not-showing-for-openai-compatibility/50595)

<div class="topic-metadata">

**Author:** [@Pratik\_Paul](https://discuss.ai.google.dev/u/Pratik_Paul)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 4:08am UTC](https://discuss.ai.google.dev/t/usage-not-showing-for-openai-compatibility/50595 "2024-11-22T04:08:03Z")

</div>

I tried using the OpenAI compatibility for Gemini models, using this example code: from openai import OpenAI from dotenv import load\_dotenv import os load\_dotenv() client = OpenAI( api\_key=os.getenv("GOOGLE\_API\_KE…

[Next page](https://discuss.ai.google.dev/tag/open-models/41.md?match_all_tags=true&page=1&tags%5B%5D=open-models)
