This is the direct API path for replacing OpenAI or Anthropic in your application. If you want to use Corti Models as the backend for your coding agent (OpenCode, Pi, Crush, or ForgeCode), see Use Corti Models in your coding agent instead.
US projects:
corti-s1 model IDs are served by Azure-hosted OpenAI models. See Regions.Get your API key
Corti Models accepts three credential types as theBearer token:
- Project API key — generated from an API Client in the Corti Console. Used in this quickstart.
- User API key — your personal key from the Corti Models page in the Console.
- OAuth 2.0 access token — short-lived tokens from the standard Corti client credentials flow. See Authentication.
Open API Clients in the Corti Console
Sign in, pick a client, then Copy as → Corti Models Service API Key.
Swap your provider
If your code looks like this today:Everything else in your code — streaming, tool calling, JSON mode, multi-turn conversations, the Responses API — works unchanged. Corti Models is a drop-in replacement.
Send an image
corti-s1-mini and corti-s1-mini-instant accept image inputs via the standard OpenAI multimodal content format. Encode your image as a base64 data URI and pass it in the messages array:
See which models are available
List the models your credentials can access to confirm the model IDs you can pass:cURL
Next steps
Models
Compare the four model variants by capability, reasoning, speed, and price.
Use Corti Models in your coding agent
Connect OpenCode, ForgeCode, Crush, or Pi to Corti Models with the Corti CLI.
API Reference
Browse the full Corti Models API with interactive examples.
Authentication
How authentication works at Corti.