Medlm Medium
Frontier lab
API id
medlm-mediumInput / 1M
-
not listed
Output / 1M
-
not listed
Context window
33K
tokens
Max output
8K
tokens per reply
Hosts
1
1 listings
Released
-
date not published
Where to run it
1 host serve Medlm Medium. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Vertex AICloud medlm-medium | - | medlm-medium |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
Similar models
This model has no listed price, so these are current models with similar capabilities.
Smaller Google models
Other frontier labs
Open-weight picks
Call it
Using Vertex AI's API.
Python
from google import genai
client = genai.Client() # reads GEMINI_API_KEY
response = client.models.generate_content(model="medlm-medium", contents="Hello")
print(response.text)Shell
curl "https://generativelanguage.googleapis.com/v1beta/models/medlm-medium:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents": [{"parts": [{"text": "Hello"}]}]}'Python
from litellm import completion
response = completion(
model="vertex_ai/medlm-medium",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
Which APIs offer Medlm Medium?
Medlm Medium runs on 1 API: Vertex AI.
What is Medlm Medium's context window?
33K tokens, with up to 8K tokens in one reply.
Is Medlm Medium being retired?
No retirement date is scheduled for it on any API we track.
What is Medlm Medium's API model id?
Use medlm-medium with Vertex AI.
Sources
Raw catalog entry for medlm-medium on Vertex AI
{
"input_cost_per_character": 5e-7,
"litellm_provider": "vertex_ai-language-models",
"max_input_tokens": 32768,
"max_output_tokens": 8192,
"mode": "chat",
"output_cost_per_character": 0.000001,
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models",
"supports_tool_choice": true
}