10 models and APIs
Model APIs, routers, local inference servers and libraries for calling LLMs from code.
- Rank 16
Local proxy that lets Codex and Claude Code run on Gemini, Grok, DeepSeek, Ollama or other LLMs
- score 58
- 17.7k stars
- 47.8 stars/day last 4 days
- pushed
- v2.89.0 on
- MIT
Install with npm
npm install -g @bitkyc08/opencodex # Node 18+; the Bun runtime is bundled automatically ocx start # proxy + dashboard on localhost:10100Use it when, skip it if, stats for opencodex
Why you'd want it
opencodex is a local proxy that translates Codex's Responses API into whatever the provider speaks, covering streaming, tool calls, reasoning tokens and images. The README says it works with Codex, Claude Code, Claude Desktop and Grok Build, with 40+ built-in providers plus any OpenAI-compatible endpoint. A web dashboard on localhost:10100 is where you add providers, pick models and manage accounts, and it shows a live request log. Models are targeted with provider/model syntax such as codex -m "ollama/llama3", and combos give one virtual model id with failover or weighted round-robin across providers. ocx stop restores Codex to its original configuration.
Best for
- Running Codex on non-OpenAI models
- Using Claude Code with other providers
- Failover across providers with combos
Use it when
You want Codex or Claude Code to use another provider's model, including a local Ollama model, and you are fine running a local proxy with a dashboard.
Skip it if
The README warns that some providers, notably Anthropic, may suspend or restrict accounts that route traffic through third-party proxies, and says the project is independent and not affiliated with OpenAI or Anthropic. It handles provider API keys, OAuth logins and optionally a pool of ChatGPT accounts, and ocx init wires Codex to the proxy, so read AGENTS_INSTALL.md for what it writes to disk. The desktop app is labelled beta and the Cursor adapter experimental; the from-source route pipes a curl installer for Bun into bash, which the npm route avoids.
Stats
- New and rising score
- 58 of 100
- Stars per day, last 4 days
- 47.8
- Release
- v2.89.0,
- License
- MIT
- Pricing
- Open source
- Works with
- Claude Code, Codex, Claude Desktop, macOS, Linux, Windows
- Forks
- 1,365
- Open issues
- 118
- GitHub checked
- Rank 63
Runs prompts against remote and local LLMs from the command line or Python, logging calls to SQLite
- score 21
- 12.6k stars
- 4.8 stars/day last 5 days
- pushed
- 0.36 on
- Apache-2.0
Install with pip
pip install llmUse it when, skip it if, stats for LLM
Why you'd want it
LLM is Simon Willison's CLI tool and Python library for OpenAI, Claude, Gemini and dozens of other models, via remote APIs or models installed on your own machine. Plugins such as llm-anthropic, llm-gemini and llm-ollama add providers, and
llm openai endpointtargets any OpenAI-compatible Chat Completions server without configuration. Prompts and responses are stored in SQLite, and it also generates embeddings, extracts structured content with schemas and lets models execute tools.Best for
- Scripting LLM calls in the shell
- Comparing models from one CLI
- Keeping a searchable log of prompts
Use it when
You want quick model access from the terminal or a small Python library, with every prompt and response logged locally.
Skip it if
You need a shared gateway with keys and spend tracking for a team; this is a CLI and Python library. Providers other than OpenAI need a plugin installed.
Stats
- New and rising score
- 21 of 100
- Stars per day, last 5 days
- 4.8
- Release
- 0.36,
- License
- Apache-2.0
- Pricing
- Open source
- Forks
- 1,053
- Open issues
- 753
- GitHub checked
- Rank 64
Returns validated Pydantic objects from LLM calls, retrying automatically when validation fails
- score 21
- 14k stars
- 4.0 stars/day last 5 days
- pushed
- v1.17.0 on
- MIT
Install with pip
pip install instructorUse it when, skip it if, stats for Instructor
Why you'd want it
Instructor lets you pass a Pydantic model as
response_modeland get back a typed, validated object instead of parsing JSON or tool calls yourself.instructor.from_provideruses the same API for OpenAI, Anthropic, Google, Ollama, Groq and other providers. Failed validations are retried with the error message, partial objects can be streamed as they are generated, and nested models work without extra code. Ports exist for TypeScript, Ruby, Go and Elixir.Best for
- Structured extraction from text
- Pydantic-based Python apps
- Typed outputs across providers
Use it when
You need reliable structured data from an LLM call and want validation and retries handled for you.
Skip it if
You need full agent runs, built-in observability or shareable traces; the Instructor README itself points to PydanticAI for that.
Stats
- New and rising score
- 21 of 100
- Stars per day, last 5 days
- 4.0
- Release
- v1.17.0,
- License
- MIT
- Pricing
- Open source
- Forks
- 1,327
- Open issues
- 217
- GitHub checked
The standards in models and APIs
Well-known tools, kept for reference and not ranked.
- Claude API Gives programmatic access to Claude models and Claude Managed Agents over a REST API with official SDKs
- DSPy Builds LM programs from typed signatures and modules, then optimizes their prompts against a metric
- LiteLLM Calls 100+ LLM providers in the OpenAI format, as a Python SDK or a self-hosted AI gateway
- llama.cpp Runs LLM and VLM inference locally in plain C/C++, with a CLI and an OpenAI-compatible server
- Ollama Runs open models locally behind a CLI and a REST API, with an OpenAI-compatible endpoint
- OpenRouter Routes requests to hundreds of models across providers through one OpenAI-compatible API endpoint
- vLLM Serves open-weight models at high throughput behind an OpenAI-compatible API server