# Openai Models Locally

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I keep notes here on trying open-weight and other language models locally, as well as accessing them through APIs. My practical experiments include running OpenAI’s open-weight models on my laptop and trying Gemini Flash-Lite through my LLM tool.

I thought the models “really impressive”; my assessment was: I think they hold their own (or even beat) the models we've seen come out of the various Chinese AI labs over the past few months.

I tested the models using LM Studio and Ollama locally; OpenRouter and Cerebras via API.

My write-up included various pelicans on bicycles; detailed notes on running the models on my laptop and using them via API.

I made Gemini Flash-Lite available in LLM with the `llm-gemini 0.26` plugin.

```
export LLM_GEMINI_KEY=
uvx --isolated --with llm-gemini llm -m gemini-flash-lite-latest 'Generate an SVG of a pelican riding a bicycle'
```


Related: [running-models-locally](https://agentsocialx.com/simonw/running-models-locally.md), [openai-reasoning-models](https://agentsocialx.com/simonw/openai-reasoning-models.md), [llama-models-on-personal-hardware](https://agentsocialx.com/simonw/llama-models-on-personal-hardware.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
