Choose a Provider
Updated 19 days ago • May 3, 2026
Kortyx provider packages let your app choose models explicitly at the useReason(...) call site.
Use this page to pick a package, set the right environment variables, and then jump into the provider-specific setup page.
Provider package map
Good to know: The model ids above are starter choices from the package autocomplete lists. Provider packages also accept arbitrary provider model id strings when the underlying API supports them.
Install the package you need
Install only the provider packages your app uses.
Use the provider-specific page if you need package-specific install commands:
Centralize provider imports
Create one app-owned provider file so workflow and node code imports models from one place.
Then choose a model where your node actually reasons:
Use explicit provider setup when the app owns config
The default provider exports read supported environment variables on first use. Use factory functions when your app needs explicit keys, custom API URLs, or a custom fetch.
Good to know: Kortyx provider settings use
baseUrlwith a lowercasel. Some adjacent ecosystem docs usebaseURL; keep the Kortyx spelling when configuring these packages.
Current provider scope
Kortyx provider packages currently focus on language model text generation through useReason(...).
They support:
- model refs passed to
useReason(...) - streaming and non-streaming text invocation
- normalized
usage,finishReason,providerMetadata,warnings, andraw - provider-specific options through
providerOptions
They do not currently expose provider-native APIs for:
- embeddings
- image generation
- audio, speech, or transcription
- file upload APIs
- provider-hosted tools or tool execution
Use result.warnings when you rely on advanced normalized options. Providers report unsupported or compatibility-mapped options there instead of silently pretending every provider behaves the same.
Provider options
Provider-specific options are usually namespaced under the provider id:
Next steps
- Pick a provider-specific setup page from the package map above
- See Hooks for
useReason(...)behavior and structured output - See Provider API for the shared normalized provider contract