# Gemini API Embedding Configuration Clarification

**URL:** https://meta.discourse.org/t/gemini-api-embedding-configuration-clarification/385719
**Category:** Support
**Tags:** ai
**Created:** [October 15, 2025, 12:40am UTC](https://meta.discourse.org/t/gemini-api-embedding-configuration-clarification/385719 "2025-10-15T00:40:25Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 15, 2025, 3:36pm UTC](https://meta.discourse.org/t/gemini-api-embedding-configuration-clarification/385719/2 "2025-10-15T15:36:29Z")

</div>

> [@RBoy](#):
>
> What does `Sequence length` refer to in the embedding configuration? Is that related to the `Input token limit` as described here: [https://ai.google.dev/gemini-api/docs/embeddings#model-versions](https://ai.google.dev/gemini-api/docs/embeddings#model-versions)

Yes, it is `2048` for that specific model, but you can configure it to a lower value to err on the side of caution since the Gemini API lacks an auto truncate parameter.

> [@RBoy](#):
>
> How does one limit the rate of the embedding API’s?

Hidden site setting named `ai_embeddings_backfill_batch_size`. Try setting it to 50 if your API provider can’t handle our defaults.

---

_[View the full topic](https://meta.discourse.org/t/gemini-api-embedding-configuration-clarification/385719)._
