LiteLLMLiteLLM/ MODELS

BGE M3 API Pricing

2 providerslibertai/bge-m3
Input
$0.01 per 1M tokens
Context
8K tokens
Max output
96K tokens

As of November 24, 2026, BGE M3 costs $0.01 per 1M input tokens from LibertAI, the lowest of 2 providers. It has an 8,192-token context window and returns up to 96,000 tokens per response.

Prices updated Checked

BGE M3 pricing by provider

2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

BGE M3 prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
LibertAIlibertai/bge-m3$0.01$08K
Novita AInovita/baai/bge-m3$0.01$0.018K

What BGE M3 costs in practice

Embedding 10,000 documents of 500 tokens each

LibertAI$0.05
Novita AI$0.05

Use BGE M3 with LiteLLM

Call BGE M3 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/embeddings. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import embedding

response = embedding(
    model="libertai/bge-m3",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: bge-m3
    litellm_params:
      model: libertai/bge-m3
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/embeddings \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "bge-m3",
    "input": "hello world"
  }'

BGE M3 FAQ

How much does BGE M3 cost?

BGE M3 costs $0.01 per 1M input tokens from LibertAI, the lowest of 2 providers.

What is the context window of BGE M3?

BGE M3 has an 8,192-token context window and returns up to 96,000 tokens per response.

Which providers offer BGE M3?

BGE M3 is available from 2 providers through LiteLLM: LibertAI and Novita AI.

How do I call BGE M3 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="libertai/bge-m3", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/embeddings from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

When did LiteLLM add BGE M3?

BGE M3 was added to LiteLLM's model price file in January 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: LibertAI.

Provider pages: LibertAI, Novita AI.