LiteLLMLiteLLM/ MODELS

Medlm Medium API Pricing

1 providervertex_ai/medlm-medium
Context
32K tokens
Max output
8K tokens

Medlm Medium is available through LiteLLM. It has a 32,768-token context window and returns up to 8,192 tokens per response.

Prices updated Checked

Medlm Medium pricing by provider

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

Medlm Medium prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMPer 1M charsContext
Google Vertex AIvertex_ai/medlm-medium$0.5032K

Medlm Medium features

Input: text. Output: text.

Use Medlm Medium with LiteLLM

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

Python SDK
from litellm import completion

response = completion(
    model="vertex_ai/medlm-medium",
    messages=[{"role": "user", "content": "Hello!"}],
)
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "medlm-medium",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Medlm Medium FAQ

What is the context window of Medlm Medium?

Medlm Medium has a 32,768-token context window and returns up to 8,192 tokens per response.

When did LiteLLM add Medlm Medium?

Medlm Medium was added to LiteLLM's model price file in July 2024.

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: Google Vertex AI.

Provider pages: Google Vertex AI.