The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ModelArchitectureInstructType } from "@openrouter/sdk/models";
let value: ModelArchitectureInstructType = "chatml";
// Open enum: unrecognized values are captured as Unrecognized<string>
Values
"none" | "airoboros" | "alpaca" | "alpaca-modif" | "chatml" | "claude" | "code-llama" | "gemma" | "llama2" | "llama3" | "mistral" | "nemotron" | "neural" | "openchat" | "phi3" | "rwkv" | "vicuna" | "zephyr" | "deepseek-r1" | "deepseek-v3.1" | "qwq" | "qwen3" | Unrecognized<string>