What problem does it solve? Connecting an application to many different AI models normally means juggling multiple provider SDKs, APIs, and authentication schemes. This Skill provides complete guidance for the OpenRouter TypeScript SDK, giving access to 300+ models through one unified, type-safe interface. ## Core Features & Use Cases - Unified callModel API: Generate text, stream responses, and run multi-turn conversations with any supported model through a single function. - Typed Tool System: Define tools with Zod schemas for automatic validation, automatic execution, generator tools, and stop conditions like step limits and cost caps. - Authentication Options: Use API keys for server-side apps or the OAuth PKCE flow for user-facing applications, plus programmatic API key management. - Use Case: Build a chat agent that streams responses from an OpenAI model, calls a weather tool automatically, and stops after 10 turns or $1 in cost — all with a few lines of TypeScript. ## Quick Start Use the OpenRouter skill to write TypeScript code that calls a model with a tool and streams the response text.