---
layout: default
---

# Intercambiabilidad de Modelos

<div class="mt-10 text-sm">

<div class="grid grid-cols-2 gap-8">

<v-click>

```typescript
// Google Gemini
import { ChatGoogle } from "@langchain/google";

const model = new ChatGoogle({
  model: "gemini-2.5-flash"
});
```

</v-click>

<v-click>

```typescript
// Ollama (Local)
import { ChatOllama } from "@langchain/ollama";

const model = new ChatOllama({
  model: "llama3.2"
});
```

</v-click>

</div>

<v-click>

<div class="mt-8 text-center text-sm opacity-80">
⚡ Todos usan la misma interfaz: <code>.invoke()</code>, <code>.stream()</code>, <code>.batch()</code>
</div>

</v-click>

</div>
