Inception class defaults to mercury-2 and points at https://api.inceptionlabs.ai/v1.
Installation
Authentication
- Create an account at the Inception Platform.
- Open the dashboard and go to API Keys.
- Create a key and set your
INCEPTION_API_KEYenvironment variable.
Example
UseInception with your Agent:
View more examples here.
Parameters
Inception extends the OpenAI-compatible interface and supports most parameters from the OpenAI model.
Note: Inception’s OpenAI-compatible endpoint does not advertise native json_schema structured outputs, so supports_native_structured_outputs is set to False. Use use_json_mode=True for structured output.
To hit a different host (private deployment, regional endpoint), pass base_url:
Available Models
The original
mercury model is only available to accounts created before February 24, 2026. New accounts should use mercury-2 (or the coder variants) instead.