One adapter directory per vendor under openprogram/models/providers/adapters/, with a provider.json declaring models, wire API and login methods. Anthropic, OpenAI, Google Gemini, Amazon Bedrock, Azure OpenAI, xAI, DeepSeek, Mistral, Groq, OpenRouter, GitHub Copilot and others, plus local Ollama, LM Studio, vLLM and llama.cpp.
Request
The runtime hands over a ready Context (system, messages, tools). The adapter translates it to the wire request and applies that vendor's prompt caching. Nothing above knows vendor formats.
Keys
One ordered list of keys and sign-ins per provider. A conversation keeps one; a limited or refused one gives way to the next.
Failures
Every error maps to one taxonomy, is retried or failed over by class, bounded by timeouts, and reaches the UI as a structured error.
Catalog
From provider.json, subscription catalogs and models.dev. Thinking effort and the Fast tier are declared per provider.
Manage
openprogram providers (login, list, use, status, doctor, accounts), or Settings → Model services