Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/provider / / classifyModelTier
Function: classifyModelTier()
ts
function classifyModelTier(provider):
| ModelHint
| undefined;Defined in: packages/provider/src/model-tier/classify.ts:72
Classify a Provider's modelId into one of 'fast' | 'balanced' | 'smart'. Returns undefined when the model id matches none of the canonical 2026 mappings (Ollama / OpenAI-compatible / unknown).
Parameters
| Parameter | Type |
|---|---|
provider | ProviderLike |
Returns
| ModelHint | undefined