Instructor (gateway)
Instructor (gateway)
Route Instructor’s underlying OpenAI-compatible LLM calls through the Respan gateway to use 250+ models from different providers. Only your Respan API key is needed - no separate provider key is required.
Setup
Switch models
Change the model string passed to instructor.from_provider to use another OpenAI model through the same gateway endpoint.
Instructor’s from_provider string includes the SDK provider namespace. Keep this page to OpenAI models so Claude or Gemini are not shown as OpenAI-provider models. Use the Respan API or OpenAI SDK gateway pages for provider-neutral Claude and Gemini examples.
See the full model list.