model field. Start with the quickstart.
You can use it for document OCR, visual question answering, object detection, segmentation, pose estimation, classification, embeddings, and transcription. Each of these normally ships with its own input format, output format, and price. Here, every model takes the same request and reports its cost the same way.
Make a request
Point any OpenAI client at the base URL and send your API key.usage.cost. See Pricing and Rate limits.
Why use the Models API
- Open-weight models: No lock-in to one vendor. Swap OCR models, vision-language models (VLMs), and specialized visual models by changing
model, and compare output and cost side by side. See Models. - Our GPUs or yours: Call models on our GPUs with no hardware to set up, at the published rate on the model list. Or deploy the same models on your own GPUs.
- Quality checked: We tune and test each model for vision tasks. The goal is the best quality per dollar.
- Scaling handled for you: Parallel workers, retries, and GPU scheduling run on our side, not in your code. We split multi-page PDFs into pages and process them in parallel.
- Works with agents: The MCP server gives any MCP-aware agent file-reading tools. The Decisions API answers typed questions with a probability for each answer.
Next steps
Quickstart
Make your first visual Q&A and document OCR requests.
Chat Completions
Use the OpenAI SDK for visual Q&A, OCR, detection, segmentation, and pose.
Decisions API
Typed answers with a probability each, over text, JSON, images, and PDFs.
MCP Server
File-reading tools for any MCP-aware agent, such as Pydantic AI, LangChain, Mastra, and Claude Code.
Models
Browse the visual models you can call.
API Reference
Every endpoint, parameter, and response field.
Join #gateway on the VLM Run Discord
Ask about models, limits, and errors, and get Models API updates from the team.