Skip to content
Vol. 03 ● El Atlas de herramientas de IA ● Modelos e infraestructura
Guía de herramienta ● inskillclaude.com
inskillClaude
SkillsPDFsPreciosJuego
inskillClaude

Guía de herramienta · Modelos e infraestructura

OpenRouter

One API key for hundreds of models from every provider.

Qué es

OpenRouter is a unified, OpenAI-compatible API in front of models from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek and dozens more. You get automatic fallbacks, price/latency routing, usage analytics and a single bill — switching models is a one-line change.

  • Apps that switch models often
  • Fallbacks and reliability
  • Comparing cost across providers

Cómo usar OpenRouter

  1. 01

    Create a key; set base URL to openrouter.ai/api/v1 in any OpenAI SDK.

  2. 02

    Pass the model id (e.g. anthropic/claude-sonnet) in each request.

  3. 03

    Set provider preferences and fallbacks in the request or dashboard.

Para qué se usa

  • A/B test three models in production with one integration.
  • Route cheap tasks to small models automatically.

Consejos pro

  • Use the :free and :nitro suffixes to pick free or fastest variants.

Preguntas frecuentes

Does it add latency?

A small overhead, usually negligible compared with model generation time.

Alternativas a OpenRouter